Skip to main content

OpenRouter

Access multiple AI providers through a single API with OpenRouter.

Configuration

FieldRequiredExample
Application NameYesmy-openrouter-app
Model NameYesopenai/gpt-4o, anthropic/claude-sonnet-4
API KeyYessk-or-...

Getting Your API Key

  1. Go to OpenRouter
  2. Sign up or log in
  3. Navigate to Keys
  4. Create and copy your API key

Model Naming Convention

OpenRouter uses the format provider/model-name:

ModelDescription
openai/gpt-5.1OpenAI GPT-5.1
openai/o3OpenAI o3 reasoning model
anthropic/claude-opus-4.5Anthropic Claude Opus 4.5
anthropic/claude-sonnet-4.5Anthropic Claude Sonnet 4.5
google/gemini-3.0-proGoogle Gemini 3.0 Pro
meta-llama/llama-4-maverickMeta Llama 4 Maverick
deepseek/deepseek-r1DeepSeek R1 reasoning model

For the complete list of 400+ available models, visit the OpenRouter Models and API Documentation.

Advanced Parameters

ParameterTypeDescription
max_tokensintegerMaximum tokens
temperaturefloatRandomness
top_pfloatNucleus sampling
frequency_penaltyfloatReduce repetition

Setup Steps

  1. Navigate to AI Applications → New Application
  2. Select Model Providers tab
  3. Click OpenRouter
  4. Enter your Application Name and API Key
  5. Select your desired Model Name (use provider/model-name format)
  6. Configure Advanced Settings (optional)
  7. Click Test Response to verify (optional)
  8. Review and submit