GPT-4.1 (batch)
by OpenAItext+image+file->text1 endpoint
Overview
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 (54.6% SWE-bench Verified), instruction compliance (87.4% IFEval), and multimodal understanding benchmarks. It is tuned for precise code diffs, agent reliability, and high recall in large document contexts, making it ideal for agents, IDE tooling, and enterprise knowledge retrieval.
Capabilities
Text generation
Image understanding
Tool use / Function calling
Structured output
Prompt caching
Long context
File input
Top-P sampling
Deterministic seed
Modalities
Input
ImageTextFile
Output
Text
Technical Specifications
Context Window
1.0M tokens
Max Output
32.8K tokens
Knowledge Cutoff
2024-06-30
Tokenizer
GPT
Content Moderation
Enabled
Supported Parameters
max_tokensresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_p
Pricing
Per 1M tokens
Input$1.00
Output$4.00
Cache read$0.25
Added
April 14, 2025
Last synced 9/18/2026