Lango7 Pro works with any service that speaks the OpenAI API format. OpenRouter is the easiest: one key gives you models from many companies, paid from one balance. The same steps work for Groq, DeepSeek, Mistral, or a model you run yourself with Ollama or LM Studio.
Get an OpenRouter key
- Go to openrouter.ai and sign up.
- Open Credits and add credit.
- Open Keys and click Create key. You can set a credit limit on the key.
- Copy the key. It starts with
sk-or-. - Pick a model on openrouter.ai/models and copy its ID, for example
google/gemini-2.5-flash.
Add it to Lango7
- Go to Translate → Settings → Translation engine.
- In the OpenAI-compatible box, paste the key.
- Open Server and model and fill in:
Name: OpenRouter
Base URL:https://openrouter.ai/api/v1
Model: the model ID you copied - Click Test and save.
To keep the key out of the database, add define( 'LANGO7_COMPATIBLE_KEY', '…' ); to wp-config.php instead.
Other services
- Use the base URL from the service’s API documentation. It usually ends in
/v1. - A model running on your own computer, such as Ollama, needs no key. Its base URL is usually
http://localhost:11434/v1, and only works if WordPress runs on the same machine. - Tick JSON mode only if translations come back with stray text and the service supports it.
- Small models often get placeholders wrong. Check a few pages before you translate the whole site.