Home › Providers › openai › OpenAI: GPT-4.1

OpenAI: GPT-4.1 API Pricing

OpenAI: GPT-4.1 is an API model from openai. It costs $2 per 1M input tokens and $8 per 1M output tokens, with cached input at $0.5. Its context window is 1,047,576 tokens with up to 32,768 output tokens. A workload of 10M input + 2M output tokens costs about $36 per month. The official openai list price is $2 input / $8 output per 1M tokens, which matches the catalog price tracked here.
Input
$2
per 1M tokens
Output
$8
per 1M tokens
Cached input
$0.5
per 1M tokens
Context window
1.04758M
1,047,576 tokens
Blended (80/20)
$3.2
per 1M tokens

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

How much does OpenAI: GPT-4.1 cost for a real workload?

At 10M input + 2M output tokens per month, OpenAI: GPT-4.1 costs about $36 ($20 input + $16 output). Try your own volumes in the cost calculator.

What is the official OpenAI: GPT-4.1 price?

Official (openai)Catalog (OpenRouter)
Input /1M$2$2
Output /1M$8$8
Cached input /1M$0.5$0.5

✓ Matches the official list price. Source: openai official pricing page, checked 2026-10-21.

What are cheaper alternatives to OpenAI: GPT-4.1?

Where to run OpenAI: GPT-4.1

AI/ML API: one API key for 400+ models, including most models tracked here · Novita AI: pay-as-you-go APIs for open models (DeepSeek, Qwen, Llama and more) plus GPU cloud. Prices there follow each platform's own catalog and can differ from the list prices tracked here.

Run it on AI/ML API →Run it on Novita AI →

Disclosure: links to these platforms may be affiliate links — if you sign up or buy through them, LLMPrices may earn a commission at no extra cost to you.

Compare OpenAI: GPT-4.1 with other models

OpenAI: GPT-4.1 vs OpenAI: gpt-oss-20bOpenAI: GPT-4.1 vs OpenAI: gpt-oss-20b (batch)OpenAI: GPT-4.1 vs OpenAI: gpt-oss-120b (batch)OpenAI: GPT-4.1 vs OpenAI: GPT-5 Nano (batch)OpenAI: GPT-4.1 vs OpenAI: GPT-4.1 Nano (batch)OpenAI: GPT-4.1 vs OpenAI: GPT-6 Luna Pro (batch)

Frequently asked questions

How much does OpenAI: GPT-4.1 cost?

OpenAI: GPT-4.1 costs $2 per 1M input tokens and $8 per 1M output tokens (list price, snapshot October 22, 2026). At 10M input + 2M output tokens per month that is about $36.

What is the context window of OpenAI: GPT-4.1?

OpenAI: GPT-4.1 has a context window of 1,047,576 tokens and can return up to 32,768 output tokens per response.

What are cheaper alternatives to OpenAI: GPT-4.1?

Cheaper models include Google: Nano Banana 2.1 ($1.5 in / $7.5 out), AionLabs: Aion 3.5 ($3 in / $6 out), AionLabs: Aion-3.0 ($3 in / $6 out). See the full list on this page.

Is OpenAI: GPT-4.1 free to use?

No. OpenAI: GPT-4.1 is a paid model at $2 input / $8 output per 1M tokens. 21 free models are listed on the free models page.

What is the official price of OpenAI: GPT-4.1?

On openai's official pricing page (checked 2026-10-21), OpenAI: GPT-4.1 is listed at $2 per 1M input tokens and $8 per 1M output tokens. The catalog price tracked on this page matches it exactly.

Provider: openai · Model ID: openai/gpt-4.1 · Modality: text+image+file->text · Price snapshot October 22, 2026, refreshed daily. How we collect prices