HomeAI Models › GPT-4.1

GPT-4.1 API Pricing

Mid-tier · 1000K context · $2 per 1M input tokens, $8 per 1M output tokens.

Among OpenAI's 6 mid-tier models tracked here, GPT-4.1 ($2/$8 per 1M tokens) is above GPT-5 mini ($0.4/$1.6) and below GPT-4o ($2.5/$10). Its 1000K context window is well above the mid-tier category's typical range.

GPT-4.1 pricing

ProviderInput /1MOutput /1MIn+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.

Related models

Compare all 387 models →