Mehtagent Docs

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

  1. Sign in at openrouter.ai.
  2. Open Keys and click Create key.
  3. Copy the key. It starts with sk-or-.

Add the key in Mehtagent

  1. Go to Setup › Your AI and choose OpenRouter.
  2. Click Install. Mehtagent sets up the free agent it runs OpenRouter models through; there is nothing to type in Terminal.
  3. Paste the key and click Save. The step says key saved.
  4. On Home, click the AI button, pick an OpenRouter model and check the cost shown beside it.

Spending and your key