Semua panduan

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.

Dapatkan kuncinya

  1. Go to the OpenAI API platform and sign up or sign in.
  2. 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.
  3. 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.
  4. Open API keys and click Create new secret key. Name it, for example “Lango7 example.com”.
  5. 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.

Tambahkan ke Lango7

  1. Pergi ke Translate → Settings → Translation engine.
  2. Paste the key into the OpenAI box.
  3. Under Model, pick one. GPT-5 nano is the default and costs least; GPT-5 mini balances quality and cost.
  4. Klik Uji dan simpan. Lango7 mengirim kalimat uji singkat dan hanya menyimpan kunci jika berhasil.

Kunci disimpan terenkripsi. Jika Anda lebih suka kunci tidak disimpan di database, tambahkan define( 'LANGO7_OPENAI_KEY', '…' ); ke wp-config.php sebagai gantinya.

Jaga tagihan tetap cek

  • 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.
  • Di Lango7, atur batas character harian.
  • Turn off auto-reload if you don’t want credit bought automatically.