Skip to content
OpenAI

O4 Mini

O4 Mini is available via OpenAI with a 200K context window and up to 100,000 output tokens. Pricing: $1.10/1M input tokens, $4.40/1M output tokens.

O4 Mini Pricing & Specifications

Input Price$1.10 per 1M tokens
Output Price$4.40 per 1M tokens
Context Window200,000 tokens (200K)
Max Output100,000 tokens
ProviderOpenAI

What is O4 Mini?

O4 Mini is a large language model by OpenAI with a 200K context window and up to 100,000 output tokens. It costs $1.10 per 1M input tokens and $4.40 per 1M output tokens. O4 Mini is available via OpenAI with a 200K context window and up to 100,000 output tokens. Pricing: $1.10/1M input tokens, $4.40/1M output tokens.

Capabilities

text vision function calling reasoning pdf web search json mode

O4 Mini Cost Examples

Short prompt (500 tokens)

$0.000550

Medium prompt (2K tokens)

$0.00220

Long output (4K tokens)

$0.01760

Count tokens for O4 Mini

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

Open Token Counter

Similar Models to O4 Mini

OpenAI

O3 Mini

$1.10/1M in 200K ctx

OpenAI

O3 Mini 2025 01 31

$1.10/1M in 200K ctx

OpenAI

O4 Mini 2025 04 16

$1.10/1M in 200K ctx

OpenAI

Gpt 3.5 Turbo 1106

$1.00/1M in 16K ctx

Frequently Asked Questions

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