OpenAI · LLMs & Coding

GPT-4o mini

Catalog data · checked Nov 16, 2026

GPT-4o mini is a language model from OpenAI, released in July 2024. It reads text, images and PDF files and writes text, with a context window of 128K tokens and up to 16.4K output tokens per answer. It costs $0.15 per million input tokens and $0.6 per million output tokens. That makes it cheaper than 78% of the 185 paid language models we track.

Calculate my costCompare

Input price$0.15per 1M tokens
Output price$0.6per 1M tokens
Context window128Ktokens per request
Max output16.4Ktokens per answer
ReleasedJul 2024Jul 2024
Knowledge cutoffSep 2023training data ends
WeightsClosedAPI only

What it can do

  • Tool calling
  • Structured output
  • Reasoning mode
  • Image input
  • File input
  • Audio input
  • Video input
  • Image output
  • Audio output
  • Prompt caching

More prices

Cached input (read)$0.075 /1M

What it costs in practice

1,000 support replies1,000 chats with 800 input and 250 output tokens each$0.27
Summarize a 300-page reportabout 150,000 input tokens in one request, 2,000 tokens outtoo long
10,000 product descriptions300 input and 200 output tokens per text$1.65
One day of agentic codingabout 3M input and 150K output tokens across many calls$0.54

Calculated from the list prices above. Your bill depends on your real token counts. Use your own numbers →

Compare GPT-4o mini with

Questions & answers

How much does GPT-4o mini cost?

GPT-4o mini costs $0.15 per 1 million input tokens and $0.6 per 1 million output tokens (USD, list price checked Nov 16, 2026).

How large is the context window of GPT-4o mini?

GPT-4o mini can process up to 128,000 tokens per request and return up to 16,384 tokens. As a rule of thumb, 1,000 tokens are about 750 English words.

Does GPT-4o mini support tool calling?

Yes. The API accepts tool (function) definitions and also supports structured JSON output.

Can GPT-4o mini read images?

Yes, image input is supported, as well as file input (for example PDFs).