Skip to content
Skip to article
Docs Supported Providers
View as Markdown

Supported providers

In Providers, add a credential for the service you want to use. Then open the router's Routing Chain, select a provider and model, and assign the matching key. A pay-as-you-go API and a coding subscription can use different endpoints and credentials even when they serve the same model. Set up a router.

Provider credentials

Provider Key type(s) Auth Notes
OpenAI openai Bearer GPT text models, Chat Completions audio, and Realtime speech-to-speech
OpenAI Codex (ChatGPT) openai-codex OAuth (device flow, in-app) Uses your ChatGPT plan's included usage rather than per-token billing; cost tracked as $0
Anthropic anthropic x-api-key Claude models
Anthropic (Claude Pro/Max) anthropic_oauth Bearer setup-token Paste a token from claude setup-token (run the Claude Code CLI's own command); flat-rate, no per-token cost
Google Gemini google Google API key Gemini generation models and Gemini Live audio through the Developer API using an AI Studio key
Groq groq Bearer Fast inference on open models
Mistral mistral Bearer Mistral/Codestral family
Cohere cohere Bearer Command family, Cohere's v2 chat API
DeepSeek deepseek Bearer deepseek-chat, deepseek-reasoner
Moonshot / Kimi moonshot Bearer Pay-as-you-go API
Moonshot / Kimi Code moonshot_coding Bearer Flat-rate coding subscription plan, $0 marginal cost
Wafer wafer Bearer Open models (GLM, Kimi, MiniMax, Qwen) on Wafer's serverless API; OpenAI-compatible
xAI (Grok) xai Bearer Grok family
z.ai (GLM) zai_standard Bearer Pay-as-you-go API
z.ai Coding Plan zai_coding Bearer Flat-rate coding subscription plan, $0 marginal cost

Choose a provider for Responses clients

For Codex sessions that use native Responses input items such as additional_tools, choose a routing step that supports that format. The OpenAI Codex adapter preserves native tool history, the client's reasoning object and explicit parallel_tool_calls setting. It also collects arguments when the provider sends them in a completion event. Some native items require a Responses-format step. Typed input items.

Context limits and usage

A recognized context overflow can send a request to the next step. For example, Anthropic reports an oversized prompt with a 400 error and z.ai can report it as a finish reason inside a 200 response. Wafer's generic 400 also covers other invalid requests, so DodoRouter cannot apply its overflow-specific setting to that response. Routing and fallback.

When the provider reports cache reads, cache writes or reasoning tokens, DodoRouter records the available values. For example, a Codex input_tokens_details.cache_write_tokens count contributes to the logged cache writes. A reported zero and a missing count carry different information. Models and pricing.