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 18 Nov 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 18 Nov 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, 18 Nov 2026
Snowflake Cortex
openai-gpt-4.1
$2$8$0.50128Kmodels.dev, 18 Nov 2026
OpenRouter
openai/gpt-4.1
$2$8$0.501MOpenRouter, 18 Nov 2026
Vercel AI Gateway
openai/gpt-4.1
$2$8$0.501Mmodels.dev, 18 Nov 2026
Vercel AI Gateway
openai/gpt-4.1-fast
$3.50$14$0.881Mmodels.dev, 18 Nov 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 18 Nov 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, Snowflake Cortex, OpenRouter, Vercel AI Gateway.

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, Snowflake Cortex, OpenRouter, Vercel AI Gateway.

Similar models from other labs

Comparable on output type, weights, release date, price and context window. Prices are the lowest listed, USD per million tokens.

ModelLabReleasedContextInput $/1MOutput $/1MWeights
Gemini 2.5 Pro Preview 06-05Google DeepMind5 Jun 20251M$1.25$10Closed
Palmyra X5Writer28 Apr 20251M$0.60$6Closed
Gemini 2.5 ProGoogle DeepMind17 Jun 20251M$1.25$10Closed
Claude Sonnet 4.6Anthropic17 Feb 20261M$3$15Closed
Pixtral Large (25.02)Mistral AI8 Apr 2025128K$2$6Closed
MiniMax M1MiniMax17 Jun 20251M–––

Change history

  • Snowflake Cortex price changed: input – → $2, output – → $8 per 1M tokens

Sources