AI Model TrackerLLM prices & token cost calculator

OpenAI

GPT-4o-mini (2024-07-18) pricing and cost calculator

GPT-4o-mini (2024-07-18) from OpenAI costs $0.15 per million input tokens and $0.60 per million output tokens, with a context window of 128,000 tokens. It was released on Jul 18, 2024. Cached input tokens are billed at $0.075 per million.

Input price
$0.15
Output price
$0.60
Context window
128,000
Released
Jul 18, 2024

Token cost calculator

ModelPer requestPer dayPer month (30 days)
GPT-4o-mini (2024-07-18)$0.00045$0.45$13.50
Claude Haiku 5.5$0.00035$0.35$10.50
≈ 0 tokens

Token estimate: about 4 characters per token for English, about 1 token per character for Chinese, Japanese and Korean. Exact counts depend on each model's tokenizer.

Price and specs

Input price$0.15 / 1M
Output price$0.60 / 1M
Cached input$0.075 / 1M
Context window128,000
Max output16,384
Acceptstext, images, files
Producestext
Reasoning modeNo
Tool / function callingYes
Structured (JSON) outputYes
Open weightsNo
ReleasedJul 18, 2024

What typical workloads cost

1,000 chat replies (1,000 input + 500 output tokens each)$0.45
Summarise a 100-page document (≈50,000 input + 1,000 output tokens)$0.0081
1 million input + 1 million output tokens$0.75

Prices are list prices in USD per 1 million tokens from OpenRouter's public model list, refreshed daily. Direct provider prices, batch discounts and regional pricing may differ.

Cheaper models with at least the same context window

Similarly priced models from other providers

More OpenAI models

About GPT-4o-mini (2024-07-18)

GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

GPT-4o-mini (2024-07-18) FAQ

How much does GPT-4o-mini (2024-07-18) cost?
GPT-4o-mini (2024-07-18) costs $0.15 per 1M input tokens and $0.60 per 1M output tokens. 1,000 replies with 1,000 input and 500 output tokens each cost about $0.45.
What is the context window of GPT-4o-mini (2024-07-18)?
GPT-4o-mini (2024-07-18) accepts up to 128,000 tokens of context and can return up to 16,384 tokens in one response.
Can GPT-4o-mini (2024-07-18) read images?
Yes. GPT-4o-mini (2024-07-18) accepts text, images, files as input.
What is a cheaper alternative to GPT-4o-mini (2024-07-18)?
Cheaper models with at least the same context window include Claude Haiku 5.5, Muse Ember, DeepSeek V4.1 Flash 1017.