Setting Up API Keys

To use AI translation you need an API key from at least one provider. Enter your key in Settings → AI Settings.

Supported providers

Provider
Where to get a key

Entering a key

  1. Open Settings → AI Settings

  2. Select your provider from the Provider dropdown

  3. Paste your API key into the API Key field

  4. Click Test Connection to verify

  5. Save settings

Keys are stored locally and are only sent to the provider's own API endpoint.

Switching providers

You can configure keys for multiple providers in the same settings panel. Switch between them without re-entering credentials – the key for each provider is remembered independently.

Using Ollama (no key required)

Ollama runs models entirely on your machine. No API key or internet connection is needed.

See Ollama Setup for download and configuration instructions.

Using OpenRouter (one key for everything)

If you prefer not to manage multiple accounts, OpenRouter lets you access 200+ models from all major providers with a single API key. Create an account at openrouter.aiarrow-up-right and paste your key into the OpenRouter provider slot.

Troubleshooting

Problem
Solution

"Invalid API key"

Double-check the key; ensure no leading or trailing spaces

"Rate limit exceeded"

Wait a moment, or upgrade your API plan

"Model not found"

Check the model name in settings; it may have been updated

No response

Check your internet connection and that the provider's service is up


Next steps

Last updated