Skip to content
llmmodels

GPT-4.1 vs Llama 4 Maverick

GPT-4.1 wins 5 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (136.1 vs 132.2). Llama 4 Maverick is about 7× cheaper on a blended (3:1 input:output) token price. GPT-4.1 has the larger context window (1M vs 512K). Llama 4 Maverick has open weights, so you can self-host and fine-tune it; GPT-4.1 is API-only.

SpecGPT-4.1Llama 4 Maverick
ProviderOpenAIMeta
ReleasedApr 14, 2025 (better)Apr 5, 2025
TypeChat LLMChat LLM
Parameters—402B
Context window1M (better)512K
Max output32K32K
Input price / 1M$2$0.35 (better)
Output price / 1M$8$1 (better)
Input modalitiestext, image, pdf, file (better)text, image
Open weightsNoYes
LicenseProprietaryother
Reasoning modeNoNo
Tool callingYesYes
API providers32 (better)16
Epoch Capabilities Index136.1 (better)132.2
GPQA Diamond66.9%67.0% (better)
Humanity's Last Exam5.4%5.7% (better)
SWE-bench Verified48.5%—
Aider Polyglot52.4% (better)15.6%
OTIS Mock AIME38.3% (better)20.6%
MATH Level 583.0% (better)73.0%
FrontierMath6.0%—
ARC-AGI-20.4% (better)0.0%
SimpleQA Verified31.1%—

Cost example

For a workload of 10M input + 2M output tokens per month: GPT-4.1 costs $36.00 and Llama 4 Maverick costs $5.50 at list price (OpenAI / openrouter pricing).

About GPT-4.1

GPT-4.1 is a proprietary chat llm from OpenAI, released Apr 14, 2025. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $8 per million output tokens. It is available from 32 API providers. It scores 136.1 on the Epoch Capabilities Index. Full GPT-4.1 specs →

About Llama 4 Maverick

Llama 4 Maverick is an open-weight chat llm from Meta, released Apr 5, 2025. It has 402B parameters, a 512K-token context window and accepts text, image input. API pricing starts at $0.35 per million input tokens and $1 per million output tokens. It is available from 16 API providers. It scores 132.2 on the Epoch Capabilities Index. Full Llama 4 Maverick specs →

Compare other models

FAQ

Which is better, GPT-4.1 or Llama 4 Maverick?

GPT-4.1 wins 5 of 7 benchmarks both models report and has a higher Epoch Capabilities Index (136.1 vs 132.2). Llama 4 Maverick is about 7× cheaper on a blended (3:1 input:output) token price. GPT-4.1 has the larger context window (1M vs 512K). Llama 4 Maverick has open weights, so you can self-host and fine-tune it; GPT-4.1 is API-only.

Is GPT-4.1 cheaper than Llama 4 Maverick?

GPT-4.1 costs $2 input / $8 output per 1M tokens; Llama 4 Maverick costs $0.35 / $1. Llama 4 Maverick is cheaper overall.

Which has a bigger context window?

GPT-4.1: 1,047,576 tokens. Llama 4 Maverick: 524,288 tokens.

Are GPT-4.1 and Llama 4 Maverick open source?

GPT-4.1 is proprietary; Llama 4 Maverick is open-weight.