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.
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 label | Model ID | Authentication |
|---|---|---|
| K2.7 Coding Highspeed (OAuth) | kimi-oauth/kimi-for-coding-highspeed | Existing Kimi Code CLI OAuth session |
| K2.7 Coding (OAuth) | kimi-oauth/kimi-for-coding | Existing Kimi Code CLI OAuth session |
| Kimi K3 (OAuth) | kimi-oauth/k3 | Existing Kimi Code CLI OAuth session |
| Kimi K3 (API) | kimi-api/kimi-k3 | Separately billed Kimi Platform API key |
| DeepSeek V4 Flash (API) | deepseek/deepseek-v4-flash | DeepSeek API key |
| DeepSeek V4 Pro (API) | deepseek/deepseek-v4-pro | DeepSeek API key |
| Grok 4.5 (OAuth) | grok-oauth/grok-4.5 | Official Grok CLI OAuth session |
| Grok 4.5 (API) | grok-api/grok-4.5 | Separately billed xAI API key |
| Claude Opus 4.8 (API) | anthropic-api/claude-opus-4.8 | Separately billed Anthropic API key |
| GLM-5.2 (Ollama Cloud) | ollama-cloud/glm-5.2 | Ollama Cloud API key |
| Kimi K2.7 Code (Ollama Cloud) | ollama-cloud/kimi-k2.7-code | Ollama Cloud API key |
| MiniMax M3 (Ollama Cloud) | ollama-cloud/minimax-m3 | Ollama Cloud API key |
| DeepSeek V4 Pro (Ollama Cloud) | ollama-cloud/deepseek-v4-pro | Ollama Cloud API key |
| MiniMax M3 | minimax-token-plan/minimax-m3 | MiniMax Token Plan API key |
| Qwen3.8 Max (Plan) | qwen-plan/qwen3.8-max | Alibaba Model Studio plan API key |
| GLM-5.2 (Coding Plan) | zai-coding/glm-5.2 | Z.ai GLM Coding Plan API key |
| GLM-5-Turbo (Coding Plan) | zai-coding/glm-5-turbo | Z.ai GLM Coding Plan API key |
| Muse Spark 1.2 (Meta) | meta/muse-spark-1.2 | Meta 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:
| Provider | Provider ID |
|---|---|
| Groq | groq |
| OpenRouter | openrouter |
| Together AI | together |
| Fireworks AI | fireworks |
| Cerebras | cerebras |
| Mistral AI | mistral |
| NVIDIA NIM | nvidia-nim |
| SiliconFlow | siliconflow |
| Hugging Face Router | huggingface |
| Google Gemini API | gemini-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.