Models / OpenAI / GPT-4.1

OpenAI · gpt

GPT-4.1

Long-lived GPT workhorse for coding, instruction following, and production apps

$2.00 in · $8.00 out

per 1M tokens · first-party price. Reference price from OpenAI, the lab's own listing.

Provider input prices run from $1.60 to $3.50 per 1M tokens. Output prices run from $6.40 to $14.00.

Context
1,047,576
Max output
32,768
Cache read
$0.50
Cache write
—
Reasoning
No
Tool calls
Yes
Structured output
Yes
Vision
Yes
Open weights
No
License
—
Released
Apr 14, 2025
Updated in source
Apr 14, 2025
Knowledge
2024-04
Providers
27

What this model costs per month

Prices are USD per 1M tokens. A month is 30 days. Cache hits use the cache-read rate when the model has one; otherwise the cache field is ignored.

Estimated monthly cost

GPT-4.1

$24.00

monthly = requests/day × 30 × (input tokens × (1 − cache hit) × input price + input tokens × cache hit × cache-read price + output tokens × output price) ÷ 1,000,000

Providers

Base rates from Models.dev. Where a provider lists the model more than once, the row is the listing whose id is closest to the canonical model id.
ProviderInputOutputCache readCache writeStatus
Ofox$1.60$6.40$0.40——
Abacus$2.00$8.00$0.50——
Azure$2.00$8.00$0.50—deprecated
Azure Cognitive Services$2.00$8.00$0.50—deprecated
Cloudflare AI Gateway$2.00$8.00$0.50——
DevPass$2.00$8.00$0.50——
Eden AI$2.00$8.00$0.50——
FastRouter$2.00$8.00$0.50——
Impossibl$2.00$8.00$0.50——
Kilo Gateway$2.00$8.00$0.50——
LLM Gateway$2.00$8.00$0.50——
Merge Gateway$2.00$8.00$0.50——
NanoGPT$2.00$8.00$0.50——
NEAR AI Cloud$2.00$8.00$0.50——
OpenAIreference$2.00$8.00$0.50——
OpenRouter$2.00$8.00$0.50——
OrcaRouter$2.00$8.00$0.50——
Pioneer$2.00$8.00$1.00$2.00—
Prime Inference$2.00$8.00———
SAP AI Core$2.00$8.00$0.32——
Cortecs$2.19$8.77$0.55——
Requesty$2.20$8.80$0.55——
AI/ML API$2.60$10.40$0.65——
Vercel AI Gateway$3.50$14.00$0.88——
AnyAPI—————
Model Oracle AI—————
Snowflake Cortex—————

Jobs this model qualifies for