Description of OpenAI Translation Function
Usage Restrictions
- Due to cost issues, it cannot be provided for free. Therefore, to use OpenAI for translation, you need to recharge your balance on the recharge page: https://yd.transduck.com/admin/settings/plans, and this feature can only be used by members.
- For YouTube subtitles, only the subtitles with the yellow button and the subtitles with the green button optimized by the plugin are supported for OpenAI translation. The reason is that the built-in red subtitles are too poor in quality, which avoids wasting tokens.
Where can I see the balance after recharging?
Click on the icon of the plugin, refer to the following picture.
Caching
In order to help everyone save the cost of watching videos, we have cached the results of OpenAI translation. If you have recharged your balance and happen to hit the video subtitles that have been translated before, it will not be translated repeatedly to avoid wasting tokens.
Currently used models and prices
The model fees are consistent with the official ones. Here is an explanation of the prices:
- gpt-3.5-turbo: Input is $0.5/1 million tokens, output is $1.5/1 million tokens
- gpt-4-turbo: Input is $10/1 million tokens, output is $30/1 million tokens
- claude-3-haiku: Input is $0.25/1 million tokens, output is $1.25/1 million tokens
- claude-3-opus: Input is $15/1 million tokens, output is $75/1 million tokens
- claude-3-5-sonnet Input is $3/1 million tokens, output is $15/1 million tokens
- gpt4o-mini input is $0.15 per 1 million tokens, output is $0.6 per 1 million tokens
- claude-3-5-haiku Input is $1/1 million tokens, output is $5/1 million tokens
How much does it cost to watch a video?
This can only be used as a reference because the number of subtitles and the frequency of speech in each video may vary.
gpt-3.5
A 28-minute video costs $0.027
gpt-4-turbo
A 5-minute video costs $0.1401
claude-3-haiku
A 2-minute video costs $0.002
claude-3-opus
A 2-minute video costs $0.147
claude-3-5-sonnet
A 1.5 minutes video costs $0.026
claude-3-5-haiku
A 1.5 minutes video costs $0.008
Explanation for Not Providing Custom API Keys
- Previously, I have seen comments in other plugins where users suspected that their key balance was reduced and suspected that the plugin was abused, although it is highly unlikely to happen, but I don't want to be associated with these issues.
- Many users' keys, due to not being recharged, only have an initial balance of $5, which often leads to rate limiting when using the plugin (the earliest version of the plugin had used GPT translation for a period of time and encountered this problem).
Thank You for Your Understanding and Support
Finally, thank you for your understanding and support. If you don't want to spend money, you can also continue to use the Google translation provided by the plugin for free. Please don't give a bad rating because of the charges. Your support will help us do better. Thank you!