OpenAI logo

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

openai/gpt-4o-mini-2024-07-18

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

Modalities

TextImageFiles / PDFText

In / out price

$0.15 / $0.6 per 1M

Context

128K

Released

Jul 18, 2024

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

  • Understands images
  • Reads PDFs and other files
  • Tool and function calling (agent-ready)
  • Structured (JSON) outputs

Pricing

Input$0.15 / 1M tokens
Output$0.6 / 1M tokens
Cached input (read)$0.075 / 1M tokens

List prices via OpenRouter, checked daily. Real cost depends on the provider and on reasoning tokens.

Cost calculator

Pick a task, set how often you run it, and compare what it costs on each model.

ModelPer runPer monthPer 1,000 runs
OpenAI: GPT-4o-mini (2024-07-18)$0.0013$1.32$1.32

Estimates from list prices via OpenRouter; real bills vary by provider and reasoning tokens.

Will it fit? Context window simulator

Each square is about one page (500 words). Colored squares are your content; grey squares are free space in the model's context window.

Your content

  • Novel (90,000 words)

Total: about 120,000 tokens (≈ 90,226 words). Token counts are estimates.

Models

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

128,000 tokens ≈ 193 pages

Fits: uses 94% of the window.

Write with the best model for the job

WordGPT picks and switches models for you: drafting, editing and files in one place. Free plan, no credit card.

Try it free

More from OpenAI