OpenAI · LLM API Modelactive

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

OpenAI pricing for gpt-4o-mini-2024-07-18.

Updated September 21, 2026
Input / 1M
$0.30
Output / 1M
$1.20
Cached Input
$0.15
Context Window
128K
Standard Input
$0.30 / 1M
Base prompt input rate
Standard Output
$1.20 / 1M
Completion output rate
Prompt Caching -50%
$0.15 / 1M
Cached prompt context
Batch API -50%
$0.15 / 1M
Asynchronous 24h batch

Save up to 50% on OpenAI API token spend

Connect your OpenAI account — we'll optimize Batch API workflows and prompt caching efficiency.

Finetuning

All rates listed in USD per 1 Million (1M) tokens unless noted

StandardBatch
Pricing Metric / Parameter
Standard RATE
(per 1M)
Batch RATE
(per 1M)
Training$3.00$3.00
Input$0.30$0.15
Cached input$0.15$0.075
Output$1.20$0.60

Source: OpenAI official pricing page, verified 2026-09-21. Prices in USD per 1M tokens.

AI / LLM
LLM API Cost Comparison

Compare OpenAI model costs against Anthropic & Gemini

Use our free LLM Cost Calculator to benchmark gpt-4o-mini-2024-07-18 token rates, Batch API discounts, and monthly estimated spend side-by-side with leading AI models.

Open LLM Cost Calculator →