← All models

gpt-5.1-codex-max

OpenRouter · chat model

gpt-5.1-codex-max is listed here as a chat model from OpenRouter. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.

Input
$1.2500 / 1M tokens
Output
$10.0000 / 1M tokens
Cached input
$0.1250 / 1M tokens
Context
128.0K

Quick read

Best for

Use this page when you need a fast view of cost, context size, and supported features before testing the model in your own workload.

Things to verify

Always check the provider page for discounts, cache pricing, region rules, and any model limits that may not appear in public metadata.

Pricing

Item Price
Input
$1.2500 / 1M tokens
Output
$10.0000 / 1M tokens
Cached input
$0.1250 / 1M tokens
Embedding
$1.2500 / 1M tokens

Token limits

Context window
128.0K
Max input tokens
400.0K
Max output tokens
128.0K
Max tokens
128.0K

Capabilities

Capability Supported
Vision
Function calling
Parallel function calling
Tool choice
Prompt caching
Reasoning
Response schema
System messages
Audio input
Audio output
Web search
PDF input
Video input

Benchmarks

Most benchmark rows are attached to the base model family rather than this provider route. Open benchmark explorer

Benchmark Score Metric Scope Checked Source
SWE-bench Verified 76.3% accuracy (%) Base model: gpt-5.1 (GPT-5.1 (high)) 2026-05-31 Link
GPQA Diamond 88.1% accuracy (%) Base model: gpt-5.1 (GPT-5.1 (high)) 2026-05-31 Link
Tau 2-bench Telecom 95.6% accuracy (%) Base model: gpt-5.1 (GPT-5.1 (high)) 2026-05-31 Link

Sources

Source links
Pricing data LiteLLM model cost map
Synced at 2026-05-28

Docs

Official docs

Similar models

This list is ranked by overall similarity. Use filters to emphasize the lens that matters most for the replacement you are making.

Comparing from
Model Cost Input shape Features Context Why it is close
gpt-5.1-codex-max
OpenRouter
In $1.2500 / 1M tokens
Out $10.0000 / 1M tokens
imagetext
Output: text
VisionFunction callingTool choicePrompt caching
128.0K
Current model
Reference row

Overall blends cost, modality overlap, capabilities, and context.

Model Cost Input shape Features Context Why it is close
gpt-5.1-2025-11-13
Azure
In $1.2500 / 1M tokens
Out $10.0000 / 1M tokens
imagetext pdf
Output: text
VisionFunction callingTool choicePrompt caching
128.0K
Text + image covered
Overall 89%
gpt-5
Azure
In $1.2500 / 1M tokens
Out $10.0000 / 1M tokens
imagetext pdf
Output: text
VisionFunction callingTool choicePrompt caching
128.0K
Text + image covered
Overall 89%
gpt-5-2025-08-07
Azure
In $1.2500 / 1M tokens
Out $10.0000 / 1M tokens
imagetext pdf
Output: text
VisionFunction callingTool choicePrompt caching
128.0K
Text + image covered
Overall 89%
gpt-5.1
Azure
In $1.2500 / 1M tokens
Out $10.0000 / 1M tokens
imagetext pdf
Output: text
VisionFunction callingTool choicePrompt caching
128.0K
Text + image covered
Overall 89%
gpt-5
OpenAI
In $1.2500 / 1M tokens
Out $10.0000 / 1M tokens
imagetext pdf
Output: text
VisionFunction callingTool choicePrompt caching
128.0K
Text + image covered
Overall 88%
gpt-5.1
OpenAI
In $1.2500 / 1M tokens
Out $10.0000 / 1M tokens
imagetext pdf
Output: text
VisionFunction callingTool choicePrompt caching
128.0K
Text + image covered
Overall 88%
o4-mini-2025-04-16
Azure
In $1.2100 / 1M tokens
Out $4.8400 / 1M tokens
imagetext
Output: text
VisionFunction callingTool choicePrompt caching
100.0K
Text + image covered
Overall 87%
gpt-5.2
OpenRouter
In $1.7500 / 1M tokens
Out $14.0000 / 1M tokens
imagetext file
Output: text
VisionFunction callingTool choicePrompt caching
128.0K
Same provider
Overall 86%
o4-mini-2025-04-16
Azure
In $1.1000 / 1M tokens
Out $4.4000 / 1M tokens
imagetext
Output: text
VisionFunction callingTool choicePrompt caching
100.0K
Text + image covered
Overall 85%
gpt-5-codex
OpenRouter
In $1.2500 / 1M tokens
Out $10.0000 / 1M tokens
imagetext
Output: text
Tool choiceReasoning
128.0K
Same provider
Overall 85%
gpt-5.2-codex
OpenRouter
In $1.7500 / 1M tokens
Out $14.0000 / 1M tokens
imagetext
Output: text
Tool choiceReasoning
128.0K
Same provider
Overall 79%
claude-sonnet-4.6
OpenRouter
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagetext file
Output: text
VisionFunction callingTool choicePrompt caching
128.0K
Same provider
Overall 79%
gpt-5
OpenRouter
In $1.2500 / 1M tokens
Out $10.0000 / 1M tokens
imagetext file
Output: text
Tool choiceReasoning
128.0K
Same provider
Overall 77%
azure
Azure
In $15.0000 / 1M tokens
Out $60.0000 / 1M tokens
imagetext
Output: text
VisionFunction callingTool choicePrompt caching
100.0K
Text + image covered
Overall 75%
o1-2024-12-17
Azure
In $15.0000 / 1M tokens
Out $60.0000 / 1M tokens
imagetext
Output: text
VisionFunction callingTool choicePrompt caching
100.0K
Text + image covered
Overall 75%
claude-haiku-4.5
OpenRouter
In $1.0000 / 1M tokens
Out $5.0000 / 1M tokens
imagetext file
Output: text
VisionFunction callingTool choicePrompt caching
200.0K
Same provider
Overall 75%
grok-4.20-multi-agent-beta-0309
xai
In $2.0000 / 1M tokens
Out $6.0000 / 1M tokens
imagetext
Output: text
VisionFunction callingTool choicePrompt caching
2.0M
Text + image covered
Overall 74%
grok-4.20-beta-0309-reasoning
xai
In $2.0000 / 1M tokens
Out $6.0000 / 1M tokens
imagetext
Output: text
VisionFunction callingTool choicePrompt caching
2.0M
Text + image covered
Overall 74%
gpt-5.1
Azure
In $1.2500 / 1M tokens
Out $10.0000 / 1M tokens
imagetext pdf
Output: image, text
VisionFunction callingTool choicePrompt caching
128.0K
Partial I/O overlap
Overall 57%
Missing text, image
gpt-5.1-chat
Azure
In $1.2500 / 1M tokens
Out $10.0000 / 1M tokens
imagetext pdf
Output: image, text
VisionFunction callingTool choicePrompt caching
128.0K
Partial I/O overlap
Overall 57%
Missing text, image
gpt-5.1-chat-2025-11-13
Azure
In $1.2500 / 1M tokens
Out $10.0000 / 1M tokens
imagetext pdf
Output: image, text
VisionPrompt cachingReasoning
16.4K
Partial I/O overlap
Overall 39%
Missing text, image