OpenAI follows your Site brief, notes per language, tone and glossary, so it suits pages where wording matters. OpenAI bills by tokens, and new API accounts pay from credit bought in advance.
A ChatGPT Plus subscription doesn’t include API use. The API is billed on its own.
获取密钥
- Go to the OpenAI API platform and sign up or sign in.
- Open the billing overview, click Add payment details and buy credit. The minimum is $5, and purchased credit expires after one year in most countries.
- Check Use auto-reload before you confirm. It’s on by default, so turn it off if you don’t want OpenAI to buy more credit by itself.
- Open API keys and click Create new secret key. Name it, for example “Lango7 example.com”.
- Copy the key straight away. It starts with
sk-and you can’t view it again.

Anyone with the key can spend your credit, so don’t put it in emails, screenshots or support messages. If it leaks, delete it on the API keys page and create a new one.
将其添加到 Lango7
- 转到翻译→设置→翻译引擎。
- Paste the key into the OpenAI box.
- Under Model, pick one. GPT-5 nano is the default and costs least; GPT-5 mini balances quality and cost.
- 点击 测试并保存。Lango7 会发送一个简短的测试句子,只有测试成功才会保存密钥。
密钥以加密方式存储。如果你宁愿将密钥排除在数据库之外,请将 define( 'LANGO7_OPENAI_KEY', '…' ); 添加到 wp-config.php 中。
检查账单
- In the OpenAI platform, open your project’s Limits, set a monthly spend limit and turn on Enforce a hard limit. Without it, the limit only tracks spending. OpenAI says enforcement isn’t instant.
- 在 Lango7 中,设置一个 每日 character 限额。
- Turn off auto-reload if you don’t want credit bought automatically.