Openai/Gpt 5.2 Codex
Openai/Gpt 5.2 Codex is available via OpenRouter with a 272K context window and up to 128,000 output tokens. Pricing: $1.75/1M input tokens, $14.00/1M output tokens.
Openai/Gpt 5.2 Codex Pricing & Specifications
What is Openai/Gpt 5.2 Codex?
Openai/Gpt 5.2 Codex is a large language model by OpenRouter with a 272K context window and up to 128,000 output tokens. It costs $1.75 per 1M input tokens and $14.00 per 1M output tokens. Openai/Gpt 5.2 Codex is available via OpenRouter with a 272K context window and up to 128,000 output tokens. Pricing: $1.75/1M input tokens, $14.00/1M output tokens.
Capabilities
text reasoning
Openai/Gpt 5.2 Codex Cost Examples
Short prompt (500 tokens)
$0.000875
Medium prompt (2K tokens)
$0.00350
Long output (4K tokens)
$0.05600
Count tokens for Openai/Gpt 5.2 Codex
Paste your prompt to see exact token counts and API cost estimates.
Open Token CounterSimilar Models to Openai/Gpt 5.2 Codex
Frequently Asked Questions
How much does Openai/Gpt 5.2 Codex cost per token? +
Openai/Gpt 5.2 Codex costs $1.75 per 1M input tokens and $14.00 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.008750.
What is the context window for Openai/Gpt 5.2 Codex? +
Openai/Gpt 5.2 Codex supports a context window of 272,000 tokens (272K). 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.2 Codex? +
Openai/Gpt 5.2 Codex 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.2 Codex good for coding tasks? +
Openai/Gpt 5.2 Codex can handle basic coding tasks, but there are models specifically optimized for code generation that may perform better on complex programming problems.