Skip to content
OpenRouter

Openai/Gpt 5.1 Codex Max

Openai/Gpt 5.1 Codex Max is available via OpenRouter with a 400K context window and up to 128,000 output tokens. Pricing: $1.25/1M input tokens, $10.00/1M output tokens.

Openai/Gpt 5.1 Codex Max Pricing & Specifications

Input Price$1.25 per 1M tokens
Output Price$10.00 per 1M tokens
Context Window400,000 tokens (400K)
Max Output128,000 tokens
ProviderOpenRouter

What is Openai/Gpt 5.1 Codex Max?

Openai/Gpt 5.1 Codex Max is a large language model by OpenRouter with a 400K context window and up to 128,000 output tokens. It costs $1.25 per 1M input tokens and $10.00 per 1M output tokens. Openai/Gpt 5.1 Codex Max is available via OpenRouter with a 400K context window and up to 128,000 output tokens. Pricing: $1.25/1M input tokens, $10.00/1M output tokens.

Capabilities

text vision function calling reasoning

Openai/Gpt 5.1 Codex Max Cost Examples

Short prompt (500 tokens)

$0.000625

Medium prompt (2K tokens)

$0.00250

Long output (4K tokens)

$0.04000

Count tokens for Openai/Gpt 5.1 Codex Max

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Openai/Gpt 5.1 Codex Max

OpenRouter

Google/Gemini 2.5 Pro

$1.25/1M in 1.0M ctx

OpenRouter

Openai/Gpt 5 Chat

$1.25/1M in 128K ctx

OpenRouter

Openai/Gpt 5 Codex

$1.25/1M in 272K ctx

OpenRouter

Openai/Gpt 5

$1.25/1M in 272K ctx

Frequently Asked Questions

How much does Openai/Gpt 5.1 Codex Max cost per token? +
Openai/Gpt 5.1 Codex Max costs $1.25 per 1M input tokens and $10.00 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.006250.
What is the context window for Openai/Gpt 5.1 Codex Max? +
Openai/Gpt 5.1 Codex Max supports a context window of 400,000 tokens (400K). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Openai/Gpt 5.1 Codex Max? +
Openai/Gpt 5.1 Codex Max can generate up to 128,000 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Openai/Gpt 5.1 Codex Max good for coding tasks? +
Yes, Openai/Gpt 5.1 Codex Max supports capabilities well-suited for coding tasks including code generation, debugging, and refactoring.
Token Counter | Pricing Calculator | Model Comparison | All OpenRouter Models