Skip to content

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

API pricing per million tokens

gpt-4o-mini-2024-07-18Checked 6h ago
Cost calculator Compare
Input
$0.15
per 1M, list
Output
$0.6
per 1M tokens
Cached input
$0.075
no batch tier listed
Context
128K
16K max output

Where to buy it (1)

  • OpenAI (list)the lab's own API$0.15 / $0.6cached $0.075

Through a gateway

Your own numbers

100M input and 20M output tokens a month: $27.00 direct.

Related models

About 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.

Takes text, image, files in and returns text. First listed Sep 5, 2024. Blended price $0.262 per 1M tokens at 3 input to 1 output.

Questions

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

$0.15 per million input tokens and $0.6 per million output tokens, with cached input at $0.075.

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

128K tokens, with up to 16K tokens of output.

List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.

Weekly: LLM API list prices that changed, Thursday mornings.