OpenAI, released Jul 18, 2024

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

GPT-4o-mini (2024-07-18) is OpenAI's small model from July 18, 2024, released right after GPT-4 Omni as a much cheaper option for everyday API work. Next to newer OpenAI releases like GPT-6.1 Terra, GPT-6.2 Sol and GPT-6.2 Astra, it sits way down at the bottom of the price ladder, and that's really the whole draw. It takes text, images and PDFs, outputs text, and fits straightforward jobs where you want to keep your API bill small.

Already paying for ChatGPT?

GPT-4o-mini (2024-07-18) costs $0.60 per 1M output tokens. Use GPT-6.2 Sol through your ChatGPT plan instead, $0 per token.

Get your API key Free plan, no card needed

Updated

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

Input
$0.15per 1M tokens
Output
$0.60per 1M tokens
Cached input
$0.075per 1M tokens
Context window
128K128,000 tokens
Max output
16K16,384 tokens
Released
Jul 18, 2024
Knowledge cutoff
Oct 2023
Accepts
TextImagesFiles
Features
Tool callingStructured outputs

What GPT-4o-mini (2024-07-18) is good at

  • Extracting structured fields from messy text, since it supports structured JSON output and costs a tiny fraction of what you'd pay for GPT-6.1 Terra or GPT-6.2 Sol.
  • Processing PDFs and images in bulk. It accepts both directly, and the context window is big enough to fit full documents without chopping them into pieces first.
  • Simple tool-calling workflows. If you're routing requests or wiring up a lot of small backend calls, it supports tool calling out of the box without running up a big tab.
  • Writing or transforming longer chunks of text on a tight budget, with plenty of room in each reply before you hit the output cap.

Good to know

  • The knowledge cutoff is October 2023. That's a ways back now, so for anything recent you'll need to pass the facts in yourself or hook up a tool to fetch them.
  • Inputs can be text, images or PDFs. But outputs are text only.
  • It's an older release compared to the late-2026 lineup - GPT-6.1 Terra, GPT-6.2 Sol, GPT-6.2 Astra and their Pro versions - and if a job needs something newer, GPT-6.1 Terra is the next step up in OpenAI's catalog (though it's still a lot pricier than this one).

GPT-4o-mini (2024-07-18) vs similar models

API price per 1M tokens
ModelInputOutputPlan2APIContext
GPT-4o-mini (2024-07-18)$0.15$0.60Not available128K
GPT-6.2 Astra$8$40$0 on ChatGPT1.1M
GPT-6.2 Astra Pro$8$40Not available1.1M
GPT-6.2 Sol$2$10$0 on ChatGPT1.1M
Solar Pro 4$0.15$0.60Not available524K
Mistral Small 4$0.15$0.60Not available262K

GPT-4o-mini (2024-07-18) cost per month

Tokens a month at $0.15 input and $0.60 output per 1M
WorkloadAPI price
Side project2M in, 500K out$0.60
Production app25M in, 5M out$6.75
Agents at scale250M in, 50M out$67.50

FAQ

How much does the GPT-4o-mini (2024-07-18) API cost?

GPT-4o-mini (2024-07-18) costs $0.15 per 1M input tokens and $0.60 per 1M output tokens, and cached input costs $0.075 per 1M.

What is the GPT-4o-mini (2024-07-18) context window?

GPT-4o-mini (2024-07-18) takes 128,000 tokens of context, with up to 16,384 output tokens per request.

When was GPT-4o-mini (2024-07-18) released?

OpenAI released GPT-4o-mini (2024-07-18) on Jul 18, 2024.

Can I use GPT-4o-mini (2024-07-18) with my subscription?

Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6.2 Sol runs through your ChatGPT plan at $0 per token instead.

Can it read PDFs and images directly?

Yes. You can pass images and PDF files straight through the API alongside your text prompt, and it'll give you text back.

Does it support tool calling and structured JSON output?

Yeah, both are built in. You can hand it tool definitions or ask for structured JSON, which makes it easy to drop into code that expects a specific shape back.

More OpenAI models

All 57 OpenAI models

Already paying for ChatGPT? Use GPT-6.2 Sol through your plan, $0 per token.

  • Free: 1 subscription, no daily cap, no card
  • Pro: $12 a month

GPT-6.2 Sol at $0 per tokenFree plan, no card needed

Get your API key

Guides

80