GPT-4.1 Mini

deprecatedproprietary

Status: Deprecated · Succeeded by gpt-6-luna

Intelligence
Speed
Context
1.0M
Max output
33K
Input price
$0.4/1M tokens
Output price
$1.6/1M tokens
Snapshots

Capabilities

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

Details

Model IDgpt-4.1-mini
Provider OpenAI
Creator openai
Familygpt-4.1
Licenseproprietary
Statusdeprecated
Typechat
Input modalitiestext, image
Output modalitiestext
Open weightNo
Parameters—
Architecture—
Context window1.0M tokens
Max input—
Max output33K tokens
Reasoning tokens—
Knowledge cutoff
Release date
Deprecation date
Retirement date
Successorgpt-6-luna
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs
Web Searchweb_search
Search the web for information
File Searchfile_search
Search across uploaded files
Image Generationimage_generation
Generate images inline
Code Interpretercode_interpreter
Execute code in a sandbox
MCPmcp
Connect to Model Context Protocol servers

Endpoints

Chat CompletionsPOST
Generate chat responses with messageshttps://api.openai.com/v1/chat/completions
ResponsesPOST
Stateful multi-turn conversationshttps://api.openai.com/v1/responses
AssistantsPOST
Persistent assistants with tools and fileshttps://api.openai.com/v1/assistants
BatchPOST
Async batch processing at lower costhttps://api.openai.com/v1/batches
Fine-tuningPOST
Train custom models on your datahttps://api.openai.com/v1/fine_tuning/jobs

Pricing

Fine-tuning
TrainingInputCached inputOutput
Standard$5$0.8$0.2$3.2
Batch$5$0.4$0.1$1.6

Family Comparison: gpt-4.1

ModelContextMax outPricing
GPT-4.1 nano1.0M33K$0.1$0.4
GPT-4.1 Mini1.0M33K$0.4$1.6
GPT-4.11.0M33K$2$8

API

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