Choose a model to open its comparison page.
GPT-5.1 Codex benchmark, API pricing, and provider data cover 318 API providers, with prices starting at $0.0041/request. GPT-5.1 Codex free API options are available from 3 providers.
OpenAI GPT-5.1 Codex is a code-specialized variant in the GPT-5 series, optimized for code generation, debugging, and software development tasks.
Observed-capability estimates with uncertainty reported separately from independent benchmark families.
Input and output token limits for this model, plus how it ranks on long-context understanding.
1 metric
2 metrics
2 metrics
3 metrics · Estimated
5 metrics · Rated
5 metrics · Rated
5 metrics · Provisional
0 metrics · Provisional
0 metrics · No data
2 metrics · No data
1 metric · Provisional
Third-party OpenRouter endpoint data, shown separately from LMSpeed measurements. Some 30-minute live performance fields only appear after syncing with an OpenRouter API key.
| Provider endpoint | Input | Output | 1d uptime | 30m latency | 30m throughput | Context / output |
|---|---|---|---|---|---|---|
Azure azure | $1.25/M | $10/M | 100% | — | — | 400K tokens / 128K tokens |
OpenAI openai | $1.25/M | $10/M | 94.5% | — | — | 400K tokens / 128K tokens |
OpenAI openai/priority | $2.50/M | $20/M | 94.5% | — | — | 400K tokens / 128K tokens |
Compare GPT-5.1 Codex API pricing across 315 providers. Prices range from $0.0041/request to $495.00/M. Yun API offers the lowest rate at $0.0041/request. 3 providers offer free API credits or a free tier.
| Provider | Health | Model Variant | Group | Input ($/M) | Output ($/M) | Speed (t/s) | First token | Audit |
|---|---|---|---|---|---|---|---|---|
L1 100% | gpt-5.1-codex | default | -93%$0.086/M | -93%$0.685/M | — | — | — | |
L1 100% | gpt-5.1-codex-2025-11-13 | default | $5.14/M | $41.10/M | — | — | — | |
L1 100% | gpt-5.1-codex | Chat | -93%$0.086/M Cache read$0.0086/M | -93%$0.685/M | — | — | — | |
L1 100% | gpt-5.1-codex | default | -87%$0.159/M | -87%$1.27/M | — | — | — | |
L1 100% | gpt-5.1-codex-2025-11-13 | default | $9.55/M | $76.44/M | — | — | — | |
L1 100% | gpt-5.1-codex-2025-11-13 | az | -79%$0.257/M | -79%$2.05/M | — | — | — | |
L1 100% | gpt-5.1-codex | az | -79%$0.257/M Cache read$0.026/MCache write$0.321/MCache write 1h$0.514/M | -79%$2.05/M | — | — | — | |
L1 100% | gpt-5.1-codex-high | gpt-vip | -52%$0.599/M Cache read$0.060/MCache write$0.749/MCache write 1h$1.20/M | -52%$4.79/M | — | — | — | |
L1 100% | gpt-5.1-codex-medium | gpt-vip | -52%$0.599/M Cache read$0.060/MCache write$0.749/MCache write 1h$1.20/M | -52%$4.79/M | — | — | — | |
L1 100% | gpt-5.1-codex | default | $0.050/request | - | — | — | — | |
L1 100% | gpt-5.1-codex | default | -86%$0.171/M | -86%$1.37/M | — | — | — | |
L1 100% | gpt-5.1-codex-2025-11-13 | default | $10.27/M | $82.19/M | — | — | — | |
L1 100% | gpt-5.1-codex | default | -73%$0.342/M | -73%$2.74/M | — | — | — | |
L1 100% | gpt-5.1-codex | default | -51%$0.612/M Cache read$0.061/M | -51%$4.90/M | — | — | — | |
L1 100% | gpt-5.1-codex-high | default | -51%$0.612/M Cache read$0.061/M | -51%$4.90/M | — | — | — | |
L1 100% | gpt-5.1-codex-medium | default | -51%$0.612/M Cache read$0.061/M | -51%$4.90/M | — | — | — | |
L1 100% | gpt-5.1-codex | gpt-azure | $1.25/M | -37%$6.25/M | — | — | — | |
L1 100% | gpt-5.1-codex-2025-11-13 | gpt-azure | $1.25/M Cache read$0.125/M | $10.00/M | — | — | — | |
兔子API Free | L1 100% | gpt-5.1-codex | 官方优惠 | Free | Free | — | — | — |
L1 100% | gpt-5.1-codex-2025-11-13 | 微软 | Free | Free | — | — | — |