GPT-5.1 Codex
opencode / gpt-5.1-codex
Input price
$1.07
per 1M tokens
Output price
$8.5
per 1M tokens
Context
400K
tokens
Capabilities
✓ Reasoning✓ Tool calls✓ Image input— Open weights
| cache read | $0.107 |
| Context | 400,000 tokens |
| max output | 128,000 tokens |
| Released | 2025-11-13 |
| Data updated | 2025-11-13 |
⚠ The two sources disagree on price
models.dev says $1.07, LiteLLM says $1.25. We do not average or guess — both raw values are in models.json, see for yourself.
Prices are official/data-source rates (per 1M tokens), not what relays actually charge — relay prices vary with discounts and group multipliers. See methodology.