OpenAI

OGPT-4.1API

GPT-4.1 (OpenAI): live API pricing, context window and the best open-source alternatives, tracked daily by OpenSourceAI.tech.

Context window
1M
tokens
Input price
$2
per M tokens
Output price
$8
per M tokens
Provider
OpenAI

Prices update automatically — checked hourly against provider list prices.

See open-source alternatives → Compare all model prices

Benchmarks & performance

Independent benchmark scores for GPT-4.1, measured by Artificial Analysis. Higher is better.

Intelligence index19.4
Math index34.7
GPQA66.6%
MMLU-Pro80.6%
Humanity's Last Exam4.6%
Long Context Reasoning61%
LiveCodeBench45.7%
SciCode38.1%
MATH-50091.3%
AIME43.7%
AIME 202534.7%
IFBench43%
τ²-Bench47.1%
Terminal-Bench Hard13.6%
⚡ Speed149.3 tokens/sec
⏱ Latency0.56s to first token
💰 Blended price$3.5 / 1M tokens
📈 Value5.5 intelligence points per $
Benchmark data by Artificial Analysis

About this model

GPT-4.1 is a commercial AI model by OpenAI. The specifications below are tracked automatically: pricing is refreshed hourly from public list prices, so the numbers on this page reflect the current cost of using the model through its API.

Frequently asked questions

What is GPT-4.1?

GPT-4.1 is an AI language model from OpenAI. It is a proprietary model, available through an API. It scores 19.4 on the Artificial Analysis intelligence index.

Is GPT-4.1 free?

GPT-4.1 is not free: it costs $2 per million input tokens and $8 per million output tokens. Open-weight alternatives can be self-hosted at no per-token cost.

What is GPT-4.1 good at?

Independent benchmarks from Artificial Analysis give it GPQA 66.6%, MMLU-Pro 80.6%, Humanity's Last Exam 4.6%, Long Context Reasoning 61%, LiveCodeBench 45.7%, SciCode 38.1%, MATH-500 91.3%, AIME 43.7%, AIME 2025 34.7%, IFBench 43%, τ²-Bench 47.1%, Terminal-Bench Hard 13.6%. It is particularly used for mathematical reasoning.

How fast is GPT-4.1?

It generates about 149.3 tokens per second, with a median 0.56s delay before the first token. Measured independently by Artificial Analysis.

Open-source alternatives

Depending on your workload, an open-weight model that you can self-host may cut costs dramatically or remove per-token pricing entirely. Our comparison pages put this model side by side with the strongest open-source contenders.

GPT-5.5OpenAIGPT-5.6 SolOpenAIGPT-5.4OpenAIGPT-5.6 TerraOpenAIGPT-5.2OpenAIGPT-5OpenAI