Connect OpenRouter
Use one OpenRouter key to run hundreds of models, some of them free.
You need a free account at openrouter.ai, and credits for paid models (free models need none).
Get a key
- Sign in at openrouter.ai.
- Open Keys and click Create key.
- Copy the key. It starts with
sk-or-.
Add the key in Mehtagent
- Go to Setup › Your AI and choose OpenRouter.
- Click Install. Mehtagent sets up the free agent it runs OpenRouter models through; there is nothing to type in Terminal.
- Paste the key and click Save. The step says key saved.
- On Home, click the AI button, pick an OpenRouter model and check the cost shown beside it.
Spending and your key
- Set a weekly spending cap in Setup › Keys and agents.
- After you save the key, Mehtagent shows only its last four characters.
Mehtagent