OpenAI: GPT-4.1

deprecatedproprietary

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning.

Intelligence
Speed
Context
1.0M
Max output
33K
Input price
$2/1M tokens
Output price
$8/1M tokens

Capabilities

Reasoning & Interaction
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Batch Processing
Fine-tuning

Details

Model IDopenai/gpt-4.1
Provider OpenRouter
Creator OpenAI
Familygpt-4.1
Licenseproprietary
Statusdeprecated
Typechat
Input modalitiesimage, text
Output modalitiestext
Open weightNo
Parameters—
Architecture—
Context window1.0M tokens
Max input—
Max output33K tokens
Reasoning tokens—
Knowledge cutoff
Release date
Deprecation date
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Pricing

Input
$2
Output
$8
Cache write
—
Cache read
$0.5
Batch in
—
Batch out
—

Family Comparison: gpt-4.1

ModelContextMax outPricing
OpenAI: GPT-4.1 Nano (batch)1.0M33K$0.05$0.2
OpenAI: GPT-4.1 Nano1.0M943K$0.1$0.4
OpenAI: GPT-4.1 Mini (batch)1.0M33K$0.2$0.8
OpenAI: GPT-4.1 Mini1.0M33K$0.4$1.6
OpenAI: GPT-4.1 (batch)1.0M33K$1$4
OpenAI: GPT-4.11.0M33K$2$8

API

GET/v1/models/openrouter/openai/gpt-4.1