GPT-4.1

openai

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and GPT-4.5 across coding, instruction compliance, and multimodal understanding benchmarks.

Try Now

Capabilities

Image Input

PDF Input

Tool Use

Example Use Cases

Real-world software engineering

Long-context document analysis

Advanced instruction following

Technical Specifications

Context Window

1,047,576 tokens

Max Output

32,768 tokens

Pricing

Token Costs (per 1M tokens)

Cache Miss Input

$2

Non-Reasoning Output

$8

Cache Read Input

$0.50

Tool Costs (per 1K calls)

Web Search

$15

Code Execution

$0.19

⚠️ Legacy

Made legacy on

Reason

Untested

Recommended Replacement

Qwen3.5 Plus