gpt-4.1

gpt-4.1 · provider: openai · updated 2026-11-20

Spec sheet

Context window1,047,576 tokens
Max output32,768 tokens
Modechat

Prices (per 1M tokens)

SourceInputOutputCached inputReference
Listed price (LiteLLM)$2$8$0.5provider source via LiteLLM
OpenRouter price (reference)$2$8—OpenRouter

Prices are compiled from public data and change frequently. Always verify against the provider's official pricing page before purchasing.

Alternatives from the same provider

Estimate this model's monthly coding-agent cost →