All models · openai

OpenAI: GPT-5.1-Codex-Max pricing and limits

id openai/gpt-5.1-codex-max · listed 2025-12-04

Input (per 1M tokens)$1.250
Output (per 1M tokens)$10.00
Cached input read (per 1M)$0.125
Context window400,000 tokens
Max output128,000 tokens
Modalitiestext+image → text
Reasoningyes

What 1,000 calls cost at 1,000 input and 300 output tokens each: $4.25.

GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context software development tasks. It is based on an updated version of the 5.1 reasoning stack and trained on agentic...

Cheaper on both input and output, with at least half the context

ModelIn / 1MOut / 1MContext
Auto Router (Beta)$-1000000.000$-1000000.0002,000,000
Pareto Code Router$-1000000.000$-1000000.0002,000,000
Auto Router$-1000000.000$-1000000.0002,000,000
Meta: Llama 4 Scout$0.100$0.3001,310,720
OpenAI: GPT-6.1 Sol Pro (batch)$1.000$5.0001,050,000
OpenAI: GPT-6.1 Sol (batch)$1.000$5.0001,050,000

Other openai models

OpenAI: gpt-oss-20b ($0.018 / $0.090) · OpenAI: gpt-oss-20b (batch) ($0.024 / $0.112) · OpenAI: GPT-5 Nano (batch) ($0.025 / $0.200) · OpenAI: gpt-oss-120b (batch) ($0.030 / $0.136) · OpenAI: GPT-6 Luna Pro (batch) ($0.050 / $0.250) · OpenAI: GPT-6 Luna (batch) ($0.050 / $0.250) · OpenAI: GPT-5 Nano ($0.050 / $0.400) · OpenAI: GPT-4.1 Nano (batch) ($0.050 / $0.200)

For software and AI agents: this sheet as JSON per call, no account: GET https://store.agentexchange.work/gw/models/model?id=openai/gpt-5.1-codex-max (0.002 USD), /gw/models/cheapest?min_context=128000, /gw/models/models?provider=openai. Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txt

Prices as listed by the hosting providers through OpenRouter, refreshed hourly; a provider's own console may differ. Not affiliated with openai. Agent Exchange