Compare

GPT-4.1 — and what?

Pricing per million tokens, context window, capabilities — pulled from each provider's public docs. All 1 are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.

Search1/4
GPT-4.1
openai/gpt-4.1
Provider
OpenAI
Family
GPT-4
Modality
text
Context window
1,047,576 tok
Max output
32,768 tok
Released
2026-05-22
License
Proprietary
Input price
$2.00 /1M
Output price
$8.00 /1M
Tools
yes
Streaming
yes
Vision
yes
JSON mode
yes
Reasoning
Prompt caching
Batch API
Try it
Open in playground →
GPT-4.1
openai/gpt-4.1
Full spec →

OpenAI's flagship GPT model for complex tasks with a million-token context window.

Strengths
  • General-purpose chat
  • Long context
  • Tool use
Use cases
ChatbotsContent generationAgentic workflows

Compare with another

GPT-4.1 vs GPT-4.1 Mini
openai/gpt-4.1 · openai/gpt-4.1-mini
GPT-4.1 vs GPT-4.1 Nano
openai/gpt-4.1 · openai/gpt-4.1-nano
GPT-4.1 vs GPT-4o
openai/gpt-4.1 · openai/gpt-4o
GPT-4.1 vs GPT-4o Transcribe
openai/gpt-4.1 · openai/gpt-4o-transcribe
GPT-4.1 vs GPT-4o Mini
openai/gpt-4.1 · openai/gpt-4o-mini