Skip to content
OpenAI

Gpt 4o Mini

GPT-4o Mini is OpenAI's most affordable model, replacing GPT-3.5 Turbo as the default for high-volume applications. It scores higher than GPT-4 on many benchmarks while costing 60% less than GPT-3.5 Turbo.

Gpt 4o Mini Pricing & Specifications

Input Price$0.15 per 1M tokens
Output Price$0.60 per 1M tokens
Context Window128,000 tokens (128K)
Max Output16,384 tokens
ProviderOpenAI
Release Date2024-07

What is Gpt 4o Mini?

Gpt 4o Mini is a large language model by OpenAI with a 128K context window and up to 16,384 output tokens. It costs $0.15 per 1M input tokens and $0.60 per 1M output tokens. GPT-4o Mini is OpenAI's most affordable model, replacing GPT-3.5 Turbo as the default for high-volume applications. It scores higher than GPT-4 on many benchmarks while costing 60% less than GPT-3.5 Turbo.

Capabilities

text vision function calling json mode

Gpt 4o Mini Cost Examples

Short prompt (500 tokens)

$0.000075

Medium prompt (2K tokens)

$0.00030

Long output (4K tokens)

$0.00240

Count tokens for Gpt 4o Mini

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

Open Token Counter

Similar Models to Gpt 4o Mini

OpenAI

Gpt 4o Mini 2024 07 18

$0.15/1M in 128K ctx

OpenAI

Gpt 4o Mini Audio Preview

$0.15/1M in 128K ctx

OpenAI

Gpt 4o Mini Audio Preview 2024 12 17

$0.15/1M in 128K ctx

OpenAI

Gpt 4o Mini Search Preview

$0.15/1M in 128K ctx

Frequently Asked Questions

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