---
title: "gpt-5.2-codex Cost Calculator - OpenRouter"
description: "Calculate the cost of using gpt-5.2-codex from OpenRouter. Input costs $1.75 and output $14.00 per 1M tokens."
url: "https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.2-codex"
markdown: "https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.2-codex.md"
---

# gpt-5.2-codex Cost Calculator - OpenRouter

> Calculate the cost of using gpt-5.2-codex from OpenRouter. Input costs $1.75 and output $14.00 per 1M tokens.

## Important Links

- [View MCP Gateway](https://www.getmaxim.ai/bifrost/resources/mcp-gateway.md)
- [Features](https://www.getmaxim.ai/bifrost/#features)
- [Enterprise](https://www.getmaxim.ai/bifrost/enterprise)
- [Pricing](https://www.getmaxim.ai/bifrost/pricing.md)
- [Docs](https://docs.getbifrost.ai)
- [GitHub](https://github.com/maximhq/bifrost)
- [Book a Demo](https://www.getmaxim.ai/bifrost/book-a-demo)

## About gpt-5.2-codex

gpt-5.2-codex is a chat model from OpenRouter, one of 439 chat models they offer. It is priced at $1.75 per 1M input tokens and $14.00 per 1M output tokens, ranking 2186 out of 2912 chat models by cost and cheaper than 25% of models in this category. gpt-5.2-codex supports vision, function calling, reasoning, prompt caching, structured output. Its 400K-token context window is in the top 22% among chat models.

## Pricing

Published OpenRouter pricing for gpt-5.2-codex.

- **$1.75 / 1M tokens Input.**
- **$14.00 / 1M tokens Output.**

## Technical Specifications

- **Chat Mode.**
- **400,000 Max Input Tokens.**
- **128,000 Max Output Tokens.**
- **128,000 Max Tokens.**

## Model Capabilities

gpt-5.2-codex supports: Function Calling, Vision, Reasoning, Prompt Caching, Response Schema, Tool Choice.

## How Pricing Compares

At $1.75 per 1M input tokens and $14.00 per 1M output tokens, gpt-5.2-codex ranks 2186 out of 2912 chat models by input cost. It is more expensive compared to the median of $0.55 for chat models, and is cheaper than 25% of models in this category.

gpt-5.2-codex is one of 439 OpenRouter chat models, with support for vision, function calling, reasoning, prompt caching, structured output. its 400K-token context window places it in the top 22% of chat models.

| Model | Provider | Input $/1M | Output $/1M | vs gpt-5.2-codex |
| --- | --- | --- | --- | --- |
| amazon.nova-2-pro-preview-20251202-v1:0 | AWS Bedrock | $2.19 | $17.50 | +25% |
| apac.amazon.nova-2-pro-preview-20251202-v1:0 | AWS Bedrock | $2.19 | $17.50 | +25% |
| eu.amazon.nova-2-pro-preview-20251202-v1:0 | AWS Bedrock | $2.19 | $17.50 | +25% |
| us.amazon.nova-2-pro-preview-20251202-v1:0 | AWS Bedrock | $2.19 | $17.50 | +25% |
| anthropic.claude-sonnet-5 | AWS Bedrock | $2.00 | $10.00 | +14% |

## More from OpenRouter

- [gpt-5.2 ($1.75/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.2.md)
- [gpt-5.2-chat ($1.75/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.2-chat.md)
- [gpt-5.3-codex ($1.75/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.3-codex.md)
- [gemini-3.1-pro-preview ($2.00/1M input)](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gemini-3.1-pro-preview.md)

## Related Resources

- [OpenRouter status](https://www.getmaxim.ai/bifrost/provider-status/openrouter.md)
- [All OpenRouter pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter.md)

## FAQ

### Is gpt-5.2-codex cheaper than amazon.nova-2-pro-preview-20251202-v1:0?

Yes. gpt-5.2-codex costs $1.75 per 1M input tokens compared to amazon.nova-2-pro-preview-20251202-v1:0's $2.19 per 1M input tokens, making it 25% more affordable. Both are chat models and share support for vision, function calling, reasoning, prompt caching, structured output.

### How does gpt-5.2-codex pricing compare to the average chat model?

gpt-5.2-codex input pricing is $1.75 per 1M tokens, which is 218% above the median of $0.55 for chat models. It ranks 2186 out of 2912 chat models by input cost, making it cheaper than 25% of models in this category. For output, it costs $14.00 per 1M tokens compared to the median of $1.50.

### What makes gpt-5.2-codex different from other OpenRouter models?

Among OpenRouter's 439 chat models, gpt-5.2-codex ranks 320 by input cost.

### What are the best alternatives to gpt-5.2-codex?

The most comparable chat models to gpt-5.2-codex are: amazon.nova-2-pro-preview-20251202-v1:0 from AWS Bedrock ($2.19/1M input tokens); apac.amazon.nova-2-pro-preview-20251202-v1:0 from AWS Bedrock ($2.19/1M input tokens); eu.amazon.nova-2-pro-preview-20251202-v1:0 from AWS Bedrock ($2.19/1M input tokens); us.amazon.nova-2-pro-preview-20251202-v1:0 from AWS Bedrock ($2.19/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.

### How large is gpt-5.2-codex's context window?

gpt-5.2-codex supports up to 400,000 input tokens, placing it in the top 22% of chat models by context window size (rank 564 of 2714). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

### How do I check if OpenRouter is down?

You can monitor OpenRouter service health in real time on the Bifrost OpenRouter Status page. It tracks current component status, active incidents, and historical reliability data pulled from the official status page every 60 seconds.

### How do I calculate gpt-5.2-codex costs?

gpt-5.2-codex is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $1.75 and generating 1M output tokens costs $14.00.

## Related Resources

- [All OpenRouter pricing](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter.md)
- [LLM cost calculator](https://www.getmaxim.ai/bifrost/llm-cost-calculator.md)
- [Model library](https://www.getmaxim.ai/bifrost/model-library.md)
- [Docs: Bifrost docs](https://docs.getbifrost.ai)
- [GitHub: maximhq/bifrost](https://github.com/maximhq/bifrost)
- [Pricing: Bifrost pricing](https://www.getmaxim.ai/bifrost/pricing.md)
- [Enterprise: Bifrost enterprise](https://www.getmaxim.ai/bifrost/enterprise)
- [Book a Demo: Bifrost demo](https://www.getmaxim.ai/bifrost/book-a-demo)
- [Resources: Bifrost resources](https://www.getmaxim.ai/bifrost/resources.md)

---

*This is a markdown version of [https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.2-codex](https://www.getmaxim.ai/bifrost/llm-cost-calculator/provider/openrouter/model/gpt-5.2-codex) for AI/LLM consumption.*
