GPT-4.1 (OpenAI): live API pricing, context window and the best open-source alternatives, tracked daily by OpenSourceAI.tech.
Prices update automatically — checked hourly against provider list prices.
Independent benchmark scores for GPT-4.1, measured by Artificial Analysis. Higher is better.
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.
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.
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.
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.
It generates about 149.3 tokens per second, with a median 0.56s delay before the first token. Measured independently by Artificial Analysis.
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.