Setup
Available Models
Access any model on OpenRouter using the formatopenrouter/<provider>/<model>:
Get API Key
- Go to openrouter.ai
- Sign in and navigate to Keys
- Create a new API key
Benefits
- Single API — Access models from OpenAI, Anthropic, Google, Meta, and more
- Fallback routing — Automatic failover between providers
- Cost tracking — Monitor usage across all models
- Higher rate limits — OpenRouter handles provider limits for you