inference-providers

OpenRouter

aggregator

DocsConsolePricing

Getting credentials

api-key

api_key via header (header Authorization: Bearer)

Environment: OPENROUTER_API_KEY

openrouter.ai → Keys. Prepaid credits (5.5% purchase fee); optional HTTP-Referer and X-Title attribution headers.

Credentials docs

Endpoints

IDURLProtocolAuth
chat-completionshttps://openrouter.ai/api/v1/chat/completionsopenai-chatany

API surfaces

textstreaming

Quirks

Models offered

ModelWire IDEndpointStatusReasoning
alibaba/qwen3-7-flashqwen/qwen3.7-flashchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
alibaba/qwen3-7-plusqwen/qwen3.7-pluschat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
alibaba/qwen3-8-2-4t-a95bqwen/qwen3.8-2.4t-a95bchat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
alibaba/qwen3-8-27bqwen/qwen3.8-27bchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
alibaba/qwen3-8-flashqwen/qwen3.8-flashchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
alibaba/qwen3-8-maxqwen/qwen3.8-max-0902chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
allenai/olmo-3-32b-thinkallenai/olmo-3-32b-thinkchat-completionsretiredeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
amazon/nova-2-liteamazon/nova-2-lite-v1chat-completionsgaeffort · default off · returns reasoning_content
anthropic/claude-fable-5anthropic/claude-fable-5chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
anthropic/claude-fable-5-1anthropic/claude-fable-5.1chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
anthropic/claude-haiku-4-5anthropic/claude-haiku-4.5chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
anthropic/claude-opus-4-6anthropic/claude-opus-4.6chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
anthropic/claude-opus-4-7anthropic/claude-opus-4.7chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
anthropic/claude-opus-4-8anthropic/claude-opus-4.8-fastchat-completionsretiredeffort · default on · returns reasoning_content · round-trips reasoning_content
anthropic/claude-opus-4-8anthropic/claude-opus-4.8chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
anthropic/claude-opus-5anthropic/claude-opus-5chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
anthropic/claude-sonnet-5anthropic/claude-sonnet-5chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
baidu/ernie-4-5-vlbaidu/ernie-4.5-vl-424b-a47bchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
bytedance/seed-2-0-codebytedance-seed/seed-2.0-codechat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
bytedance/seed-2-0-litebytedance-seed/seed-2.0-litechat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
bytedance/seed-2-0-minibytedance-seed/seed-2.0-minichat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
bytedance/seed-2-1-turbobytedance-seed/seed-2-1-turbochat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
deepseek/deepseek-v4-flashdeepseek/deepseek-v4-flash-0731chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
deepseek/deepseek-v4-flashdeepseek/deepseek-v4-flashchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
deepseek/deepseek-v4-prodeepseek/deepseek-v4-pro-0813chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
deepseek/deepseek-v4-prodeepseek/deepseek-v4-prochat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
google/gemini-3-1-progoogle/gemini-3.1-pro-previewchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
google/gemini-3-5-flashgoogle/gemini-3.5-flashchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
google/gemini-3-5-flash-litegoogle/gemini-3.5-flash-litechat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
google/gemini-3-6-flashgoogle/gemini-3.6-flashchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
google/gemini-3-7-flashgoogle/gemini-3.7-flashchat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
google/gemini-3-8-flashgoogle/gemini-3.8-flashchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
google/gemini-3-flashgoogle/gemini-3-flash-previewchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
google/gemma-4google/gemma-4-26b-a4b-itchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
google/gemma-4google/gemma-4-31b-itchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
ibm/granite-4-1-8bibm-granite/granite-4.1-8bchat-completionsretirednone · default off · returns reasoning_content
ibm/granite-4-2-8bibm-granite/granite-4.2-8bchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
inception/mercury-2inception/mercury-2chat-completionsgaeffort · default on · returns reasoning_content
inclusionai/ling-3-0-flashinclusionai/ling-3.0-flashchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
kwaipilot/kat-coder-pro-v2-5kwaipilot/kat-coder-pro-v2.5chat-completionsganone · default off · returns reasoning_content
liquid/lfm-2-5-2-6bliquid/lfm-2.5-2.6b:freechat-completionsgaeffort · default on · mandatory · returns reasoning_content
meituan/longcat-2-0meituan/longcat-2.0chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
meta/llama-3-3-70bmeta-llama/llama-3.3-70b-instructchat-completionsganone · default off · returns reasoning_content
meta/llama-4-maverickmeta-llama/llama-4-maverickchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
meta/muse-glimmer-30bmeta/muse-glimmer-30bchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
meta/muse-spark-1-2meta/muse-spark-1.2chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
meta/muse-spark-1-3meta/muse-spark-1.3-contributorchat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
meta/muse-spark-1-3meta/muse-spark-1.3chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
minimax/minimax-m2-5minimax/minimax-m2.5chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
minimax/minimax-m2-7minimax/minimax-m2.7chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
minimax/minimax-m3minimax/minimax-m3chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
mistral/mistral-large-3mistralai/mistral-large-2512chat-completionsganone · default off · returns hidden
mistral/mistral-medium-3-5mistralai/mistral-medium-3-5chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
moonshot/kimi-k2-5moonshotai/kimi-k2.5chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
moonshot/kimi-k2-6moonshotai/kimi-k2.6chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
moonshot/kimi-k2-7-codemoonshotai/kimi-k2.7-codechat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
moonshot/kimi-k3moonshotai/kimi-k3chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
nex-agi/nex-n2-5-mininex-agi/nex-n2.5-mini:freechat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
nex-agi/nex-n2-5-pronex-agi/nex-n2.5-pro:freechat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
nex-agi/nex-n2-mininex-agi/nex-n2-minichat-completionsretiredeffort · default on · returns reasoning_content · round-trips reasoning_content
nex-agi/nex-n2-pronex-agi/nex-n2-prochat-completionsretiredeffort · default on · returns reasoning_content · round-trips reasoning_content
nvidia/nemotron-3-5-lightningnvidia/nemotron-3.5-lightningchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
nvidia/nemotron-3-nanonvidia/nemotron-3-nano-30b-a3bchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
nvidia/nemotron-3-supernvidia/nemotron-3-super-120b-a12bchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
nvidia/nemotron-3-ultranvidia/nemotron-3-ultra-550b-a55bchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
openai/gpt-5openai/gpt-5chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-1openai/gpt-5.1chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-4openai/gpt-5.4-prochat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-4openai/gpt-5.4chat-completionsgaeffort · default off · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-4-miniopenai/gpt-5.4-minichat-completionsgaeffort · default off · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-4-nanoopenai/gpt-5.4-nanochat-completionsgaeffort · default off · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-5openai/gpt-5.5-prochat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-5openai/gpt-5.5chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-6openai/gpt-5.6-luna-prochat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-6openai/gpt-5.6-lunachat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-6openai/gpt-5.6-sol-prochat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-6openai/gpt-5.6-solchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-6openai/gpt-5.6-terra-prochat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
openai/gpt-5-6openai/gpt-5.6-terrachat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
openai/gpt-6openai/gpt-6-astra-prochat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
openai/gpt-6openai/gpt-6-astrachat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
openai/gpt-oss-120bopenai/gpt-oss-120bchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
openai/gpt-oss-20bopenai/gpt-oss-20bchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
openai/o3openai/o3chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
poolside/laguna-s-2-1poolside/laguna-s-2.1chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
poolside/laguna-xs-2-1poolside/laguna-xs-2.1chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
sakana/fugu-ultrasakana/fugu-ultrachat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
stepfun/step-3-5-flashstepfun/step-3.5-flashchat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
stepfun/step-3-7-flashstepfun/step-3.7-flashchat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
tencent/hy3tencent/hy3chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
thinkingmachines/inklingthinkingmachines/inklingchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
thinkingmachines/inkling-smallthinkingmachines/inkling-smallchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
upstage/solar-pro-4upstage/solar-pro4chat-completionsgaadaptive · default on · returns reasoning_content
xai/grok-4-5x-ai/grok-4.5chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
xai/grok-4-6x-ai/grok-4.6chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
xiaomi/mimo-v2-5xiaomi/mimo-v2.5chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
xiaomi/mimo-v2-5-proxiaomi/mimo-v2.5-prochat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
zai/glm-4-6z-ai/glm-4.6chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
zai/glm-4-7z-ai/glm-4.7chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
zai/glm-4-7-flashz-ai/glm-4.7-flashchat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
zai/glm-5-1z-ai/glm-5.1chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
zai/glm-5-2z-ai/glm-5.2chat-completionsgaeffort · default on · returns reasoning_content · round-trips reasoning_content
zai/glm-5-3z-ai/glm-5.3chat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
zai/glm-5-3-flashz-ai/glm-5.3-flashchat-completionsgaeffort · default on · mandatory · returns reasoning_content · round-trips reasoning_content