OpenRouter
OpenRouter provides access to multiple AI providers through a single API. It's a great way to try different models without managing multiple API keys.
IDE Mode only (Classic Edition): Like other API key providers, OpenRouter powers Chat, Context Builder, Oracle, and Pro Edit. Agent Mode requires a CLI harness — see Agent Providers for the six compatible CLIs.
What is OpenRouter?
OpenRouter is a unified API that routes requests to various AI providers including:
- Anthropic (Claude models)
- OpenAI (GPT models)
- Google (Gemini models)
- Meta (Llama models)
- Mistral AI
- And many more...
Setup
- Create an account at openrouter.ai
- Add credits to your account
- Go to Keys → Create Key
- Copy your API key
- In RepoPrompt: Settings → API Settings → OpenRouter
- Paste your key and click "Validate & Save"
Available Models
Once connected, OpenRouter models appear in your model selector with an "openrouter/" prefix. Popular options include:
openrouter/anthropic/claude-sonnet-4.5openrouter/openai/gpt-5.4openrouter/google/gemini-3.0-previewopenrouter/meta-llama/llama-3.1-70bopenrouter/mistralai/mixtral-8x7b
Pricing
OpenRouter uses pay-per-token pricing that varies by model. Check openrouter.ai/models for current pricing.
When to Use OpenRouter
- Model variety: Easy access to models from many providers
- No commitment: Try models without signing up for each provider
- Cost comparison: Compare pricing across providers
- Fallback routing: OpenRouter can route to alternatives if a model is unavailable
Direct vs OpenRouter: For your primary models, direct API keys often provide better performance and reliability. OpenRouter is great for exploration and accessing models you use occasionally.
GPT-5.5 is not on OpenRouter: GPT-5.5 Low/Medium/High are available only through Codex CLI, and GPT-5.5 Pro is ChatGPT Pro web only. OpenRouter continues to serve the GPT-5.4 family for OpenAI routing.