OpenRouter
Access multiple AI providers through a single API with OpenRouter.
Configuration
| Field | Required | Example |
|---|---|---|
| Application Name | Yes | my-openrouter-app |
| Model Name | Yes | openai/gpt-4o, anthropic/claude-sonnet-4 |
| API Key | Yes | sk-or-... |
Getting Your API Key
- Go to OpenRouter
- Sign up or log in
- Navigate to Keys
- Create and copy your API key
Model Naming Convention
OpenRouter uses the format provider/model-name:
| Model | Description |
|---|---|
openai/gpt-5.1 | OpenAI GPT-5.1 |
openai/o3 | OpenAI o3 reasoning model |
anthropic/claude-opus-4.5 | Anthropic Claude Opus 4.5 |
anthropic/claude-sonnet-4.5 | Anthropic Claude Sonnet 4.5 |
google/gemini-3.0-pro | Google Gemini 3.0 Pro |
meta-llama/llama-4-maverick | Meta Llama 4 Maverick |
deepseek/deepseek-r1 | DeepSeek R1 reasoning model |
For the complete list of 400+ available models, visit the OpenRouter Models and API Documentation.
Advanced Parameters
| Parameter | Type | Description |
|---|---|---|
max_tokens | integer | Maximum tokens |
temperature | float | Randomness |
top_p | float | Nucleus sampling |
frequency_penalty | float | Reduce repetition |
Setup Steps
- Navigate to AI Applications → New Application
- Select Model Providers tab
- Click OpenRouter
- Enter your Application Name and API Key
- Select your desired Model Name (use
provider/model-nameformat) - Configure Advanced Settings (optional)
- Click Test Response to verify (optional)
- Review and submit