GPT-4.1 API Pricing
Mid-tier · 1000K context · $2 per 1M input tokens, $8 per 1M output tokens.
GPT-4.1 pricing
| Provider | Input /1M | Output /1M | In+Out |
|---|---|---|---|
| OpenAI | $2 | $8 | $10 |
Prices per 1M tokens, USD. Snapshot 2026-07 — verify with the provider before relying on them.
GPT-4.1 cost calculator
Frequently asked
How much does GPT-4.1 cost per 1M tokens?
GPT-4.1 costs $2 per 1M input tokens and $8 per 1M output tokens from OpenAI.
What is GPT-4.1's context window?
GPT-4.1 supports a context window of about 1000K tokens. Remember every token in the context is billed on each call.
Is GPT-4.1 available on other providers?
GPT-4.1 is offered by OpenAI. For open-weight alternatives you can host on multiple providers, see the full model comparison.