OpenRouter
Access hundreds of AI models (OpenAI, Anthropic, Google, Meta, Mistral and more) through one API key. OpenAI-compatible chat completions.
setup_integration or the Dashboard Vault — they're encrypted
with AES-256-GCM and never exposed.
Required Credentials
Get your API key at openrouter.ai →
Endpoints (3)
Send a conversation to any OpenRouter model and get the response. OpenAI-compatible format.
| Field | Type | Required | Description |
|---|---|---|---|
model |
string | ✓ Yes | Model id in "provider/model" form, e.g. "openai/gpt-4o-mini", "anthropic/claude-sonnet-4", "meta-llama/llama-3.3-70b-instruct". Use list-models for the full list. |
messages |
array | ✓ Yes | Conversation messages. Example: [{"role": "user", "content": "Hello"}]. OpenAI format. |
max_tokens |
integer | No | Max response tokens. |
temperature |
number | No | Sampling temperature, 0 to 2. |
List all models available on OpenRouter with pricing and context length.
No input parameters required.
Show credit usage and rate limits of the configured API key.
No input parameters required.
MCP Tool Names
When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:
| Endpoint | MCP Tool Name |
|---|---|
| chat-completion | openrouter_chat_completion |
| list-models | openrouter_list_models |
| get-key-info | openrouter_get_key_info |
Website