Comparison

GPT-5.4 mini vs Llama 4 Maverick

Per input token, Llama 4 Maverick runs 80% cheaper than GPT-5.4 mini. On generated (output) tokens, GPT-5.4 mini costs 87% more than Llama 4 Maverick. Llama 4 Maverick has the larger context window than GPT-5.4 mini. GPT-5.4 mini offers a cheaper cached-input tier for repeated context.

FieldGPT-5.4 mini
Llama 4 Maverick
ProviderOpenAIMeta
Context window400K1M
Max output128K
Input / 1M$0.75$0.1580% cheaper
Output / 1M$4.50$0.6087% cheaper
Cached input / 1M$0.075
Batch discount50%
Release date2026-03-17

Worked cost examples

Estimated monthly cost on three common usage shapes

WorkloadGPT-5.4 miniLlama 4 Maverick

Chatbot

800 input / 200 output tokens per request, 100,000 requests/month

$150.00$24.00cheaper

RAG pipeline

6,000 input / 700 output tokens per request, 30,000 requests/month

$229.50$39.60cheaper

Batch summarization

20,000 input / 1,500 output tokens per request, 5,000 requests/month

$108.75$19.50cheaper

GPT-5.4 mini vs Llama 4 Maverick FAQ

Is GPT-5.4 mini cheaper than Llama 4 Maverick?
GPT-5.4 mini costs $0.75 per 1M input tokens versus $0.15 for Llama 4 Maverick — Llama 4 Maverick is 400% cheaper per input token.
Which is cheaper for output tokens, GPT-5.4 mini or Llama 4 Maverick?
GPT-5.4 mini charges $4.50 per 1M output tokens; Llama 4 Maverick charges $0.60 per 1M output tokens.
Which has the larger context window, GPT-5.4 mini or Llama 4 Maverick?
Llama 4 Maverick does, with a 1,000,000-token context window.
Do GPT-5.4 mini and Llama 4 Maverick offer cache pricing?
GPT-5.4 mini discounts cached input to $0.075 per 1M tokens. Llama 4 Maverick has no documented cache discount.

Looking for another matchup? See all comparisons.