Last updated

Codex Router Models — DeepSeek, Kimi, GLM, Grok, Claude

Codex Router can add models from DeepSeek, Kimi, GLM (Z.ai), Grok (xAI), Claude (Anthropic), opencode Go, Command Code, Meta, Qwen plan and many more OpenAI-compatible providers to the Codex model picker. This page is the complete matrix: what appears in the picker, the model ID used for routing, and how each one authenticates.

DeepSeekDeepSeekKimiKimiGLMGLMGrokGrokClaudeClaudeOpenRouterOpenRouterOllama CloudOllama Cloud

The built-in model matrix

These entries ship in the registry and appear in the Codex picker once their provider is enabled and authenticated:

Picker labelModel IDAuthentication
K2.7 Coding Highspeed (OAuth)kimi-oauth/kimi-for-coding-highspeedExisting Kimi Code CLI OAuth session
K2.7 Coding (OAuth)kimi-oauth/kimi-for-codingExisting Kimi Code CLI OAuth session
Kimi K3 (OAuth)kimi-oauth/k3Existing Kimi Code CLI OAuth session
Kimi K3 (API)kimi-api/kimi-k3Separately billed Kimi Platform API key
DeepSeek V4 Flash (API)deepseek/deepseek-v4-flashDeepSeek API key
DeepSeek V4 Pro (API)deepseek/deepseek-v4-proDeepSeek API key
Grok 4.5 (OAuth)grok-oauth/grok-4.5Official Grok CLI OAuth session
Grok 4.5 (API)grok-api/grok-4.5Separately billed xAI API key
Claude Opus 4.8 (API)anthropic-api/claude-opus-4.8Separately billed Anthropic API key
GLM-5.2 (Ollama Cloud)ollama-cloud/glm-5.2Ollama Cloud API key
Kimi K2.7 Code (Ollama Cloud)ollama-cloud/kimi-k2.7-codeOllama Cloud API key
MiniMax M3 (Ollama Cloud)ollama-cloud/minimax-m3Ollama Cloud API key
DeepSeek V4 Pro (Ollama Cloud)ollama-cloud/deepseek-v4-proOllama Cloud API key
MiniMax M3minimax-token-plan/minimax-m3MiniMax Token Plan API key
Qwen3.8 Max (Plan)qwen-plan/qwen3.8-maxAlibaba Model Studio plan API key
GLM-5.2 (Coding Plan)zai-coding/glm-5.2Z.ai GLM Coding Plan API key
GLM-5-Turbo (Coding Plan)zai-coding/glm-5-turboZ.ai GLM Coding Plan API key
Muse Spark 1.2 (Meta)meta/muse-spark-1.2Meta Model API key

The table above is abbreviated; the full registry also includes older Qwen plan models, additional Muse Spark tiers, and the opencode Go and Command Code catalogs described below.

How the catalog decides what you see

The Codex catalog is credential-aware. It includes models only from enabled external providers that have a stored API key or a valid OAuth session. Native GPT models are included only when codex login status confirms an OpenAI login — so a signed-out login-free session shows only your authenticated external models.

That means adding a model is always two steps: enable the provider and provide credentials. A provider that is enabled but has no key simply shows no models.

OAuth vs API key

Both styles appear in the matrix above, and they are separate account and billing systems even for the same vendor:

  • OAuth reuses the official CLI’s signed-in session (Kimi Code CLI or Grok CLI). Nothing is stored by the router beyond what the official CLI already keeps.
  • API key is a separately billed developer key entered once through a hidden prompt. DeepSeek, Kimi Platform, xAI, Anthropic, Ollama Cloud, Z.ai and Qwen plan all use API keys.

See the OAuth vs API key comparison and each model guide for the details.

Enable a provider

./bin/model-router codex providers
./bin/model-router codex providers enable deepseek
./bin/model-router codex provider-key deepseek set
./bin/model-router codex provider-key anthropic-api set

On Windows, use ./model-router.ps1 codex with the same commands. The API-key prompt disables terminal echo, protected files use mode 600 on POSIX and an inheritance-disabled current-user ACL on Windows, and diagnostics report credential presence and source — never the value.

opencode Go and Zen

The opencode provider family covers both opencode endpoints with one stored key (OPENCODE_API_KEY or OPENCODE_GO_API_KEY): the flat-rate Go subscription, whose tested models (Grok 4.5, GLM-5.2, Kimi K3, DeepSeek V4 Pro and more) ship in the registry, and the pay-per-use Zen endpoint, whose larger catalog is available through local curation. Everything appears as one “opencode Go/Zen” provider.

Command Code Provider API

Command Code’s official Provider API is an OpenAI-compatible Chat Completions surface plus an Anthropic Messages surface at https://api.commandcode.ai/provider/v1. It requires the Provider plan or higher, uses the same key that authenticates the Command Code CLI, and its catalog includes DeepSeek, GLM, Kimi, Qwen, Grok, Gemini, Step, and several Claude models.

Meta Model API

Meta’s Muse Spark models speak the Responses protocol at https://api.meta.ai/v1 with a stored META_API_KEY. Three models ship in the registry: Muse Spark 1.2, its cheaper Contributor tier (whose inputs and outputs Meta may use for training), and the previous-generation 1.1.

Catalog-only providers

These OpenAI-compatible providers are registered for routing and credential isolation but ship no preselected models, because their catalogs change too often to pin and live-verify individual entries:

ProviderProvider ID
Groqgroq
OpenRouteropenrouter
Together AItogether
Fireworks AIfireworks
Cerebrascerebras
Mistral AImistral
NVIDIA NIMnvidia-nim
SiliconFlowsiliconflow
Hugging Face Routerhuggingface
Google Gemini APIgemini-api

Add a key, then curate the models you want from the provider’s live catalog:

./bin/model-router codex provider-key groq set
./bin/curate-models groq

Verify a model

After enabling a provider, restart Codex and confirm the picker entry. For a live, quota-consuming check of a specific model:

./bin/test-model 'groq/MODEL_ID' --live --yes

See the per-model guides — DeepSeek, Kimi, GLM, Grok, Claude — for step-by-step setup, and the troubleshooting guide if models do not appear.