OpenAI

GPT-4.1

Generally availableProprietary1M context

Summary

GPT-4.1 is a proprietary language model from OpenAI, released on 14 Apr 2025. It accepts text, images and PDFs and generates text, with a 1M-token context window and up to 33K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $2 per million input tokens and $8 per million output tokens (OpenAI API), across 4 providers we track.

Long-lived GPT workhorse for coding, instruction following, and production apps

Last verified 4 Oct 2026. Every figure on this page links to its source.

Specifications

DeveloperOpenAI
Release date14 Apr 2025 [models.dev]
StatusGenerally available [models.dev]
WeightsProprietary (API only) [models.dev]
Context window1M (1,047,576 tokens) [models.dev]
Max output33K tokens [models.dev]
Knowledge cutoffApr 2024 [models.dev]
InputText, images and PDFs [models.dev]
OutputText [models.dev]
Reasoning modeNo [models.dev]
Tool callingYes [models.dev]
Structured outputYes [models.dev]

GPT-4.1 API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
OpenAI API
gpt-4.1
$2$8$0.501Mmodels.dev, 4 Oct 2026
Vercel AI Gateway
openai/gpt-4.1
$2$8$0.501Mmodels.dev, 4 Oct 2026
OpenRouter
openai/gpt-4.1
$2$8$0.501MOpenRouter, 4 Oct 2026
Vercel AI Gateway
openai/gpt-4.1-fast
$3.50$14$0.881Mmodels.dev, 4 Oct 2026
Snowflake Cortex
openai-gpt-4.1
–––128Kmodels.dev, 4 Oct 2026

Frequently asked questions

What is the context window of GPT-4.1?

GPT-4.1 has a context window of 1,047,576 tokens (1M) and can generate up to 32,768 tokens in a single response, according to models.dev.

How much does the GPT-4.1 API cost?

Through OpenAI API, GPT-4.1 costs $2 per million input tokens and $8 per million output tokens. Prices last verified 4 Oct 2026.

Is GPT-4.1 open source?

No. GPT-4.1 is a proprietary model; OpenAI has not released its weights. It is available through APIs including OpenAI API, Vercel AI Gateway, OpenRouter, Snowflake Cortex.

When was GPT-4.1 released?

OpenAI released GPT-4.1 on 14 Apr 2025, according to models.dev.

Which providers offer GPT-4.1?

We track GPT-4.1 on 4 providers: OpenAI API, Vercel AI Gateway, OpenRouter, Snowflake Cortex.

Change history

No changes detected since we started tracking this model. We re-check every source daily.

Sources