OpenAI
GPT-4.1
Long-lived GPT workhorse for coding, instruction following, and production apps
Model facts
- Context window
- 1.05M tokens
- Maximum output
- 33K tokens
- Cheapest paid input
- $1 per 1M tokens
- Cheapest paid output
- $4 per 1M tokens
- Open weights
- no
- Providers
- 33
Capabilities and modalities
tool calling, structured output, attachments, temperature control, text, image, pdf.
Artificial Analysis benchmarks
Compare this model on the full LLM benchmark leaderboard.
| Configuration | AAI | Coding | Math | Output tokens/s |
|---|---|---|---|---|
| default | 19.6 | not measured | 34.7 | not measured |
Observed price history
- 2026-08-24: $1 input / $4 output per 1M tokens
- 2026-08-28: $1.8 input / $7.2 output per 1M tokens
- 2026-08-31: $1 input / $4 output per 1M tokens
API providers
- OpenRouter (batch) — model id openai/gpt-4.1:batch; $1 input / $4 output per 1M tokens; provider documentation
- Poe — model id openai/gpt-4.1; $1.8 input / $7.2 output per 1M tokens; provider documentation
- 302.AI — model id gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Abacus — model id gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Azure — model id gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Azure Cognitive Services — model id gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Cloudflare AI Gateway — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- DevPass (LLM Gateway) — model id gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- DigitalOcean (OpenAI) — model id openai-gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Eden AI — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- FastRouter — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- GitHub Copilot — model id gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Helicone (OpenAI) — model id gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Impossibl — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Kilo Gateway — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- LLM Gateway (Azure) — model id azure/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- LLM Gateway (OpenAI) — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Merge Gateway — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- NEAR AI Cloud — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- NanoGPT — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Ofox — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- OpenAI — model id gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- OpenRouter — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- OrcaRouter — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Pioneer — model id gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- SAP AI Core — model id gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Vercel AI Gateway — model id openai/gpt-4.1; $2 input / $8 output per 1M tokens; provider documentation
- Cortecs — model id gpt-4.1; $2.19 input / $8.77 output per 1M tokens; provider documentation
- Requesty (EU) — model id gpt-4.1@eu; $2.2 input / $8.8 output per 1M tokens; provider documentation
- Vercel AI Gateway (Fast) — model id openai/gpt-4.1-fast; $3.5 input / $14 output per 1M tokens; provider documentation
- AnyAPI — model id openai/gpt-4.1; not published input / not published output per 1M tokens; provider documentation
- Model Oracle AI — model id gpt-4.1; not published input / not published output per 1M tokens; provider documentation
- Snowflake Cortex — model id openai-gpt-4.1; not published input / not published output per 1M tokens; provider documentation