GPT 4.1 Mini
by OpenAI
GPT 4.1 Mini pricing, context window and specs
GPT 4.1 Mini is an OpenAI model with a 1,047,576 token context window. It costs $0.40 per million input tokens and $1.60 per million output tokens, and supports image input, tool calling and structured output.
GPT 4.1 Mini specs
Provider
OpenAI
Model ID
gpt-4.1-mini
Input price
$0.40 per 1M tokens
Cached input price
$0.10 per 1M tokens
Output price
$1.60 per 1M tokens
Context window
1,047,576 tokens
Modalities
Text and images in, text out
Tool calling
โ Supported
Structured output
โ Supported
Reasoning
Not supported
Vision
โ Supported
Prices checked on
When to use GPT 4.1 Mini
Pick GPT 4.1 Mini for work you run in bulk, where the cost of each call matters more than depth.
High volume steps. Classifying, tagging, routing and pulling fields out of text.
Agents that use tools. It supports tool calling and structured output, so it can act and hand back clean JSON.
Large inputs. The 1,047,576 token context window fits long documents and transcripts in one request.
Reading images. It accepts screenshots, scans and photos alongside text.
If you need more capability, GPT 5.4 Mini costs $0.75 per million input tokens.
Cost calculator
What GPT 4.1 Mini costs at your volume
Pick a workload or move the sliders. The estimate uses the prices in the table above.
Templates
Templates that run on GPT 4.1 Mini
Each one is a finished workflow or agent built on this model. Run it as it is, or copy it and change the steps.
Build with it
Use GPT 4.1 Mini in Fetch Hive
Fetch Hive is an AI agent builder. Pick this model in any prompt, workflow or agent step, or call it from your own code with one API request.
Call GPT 4.1 Mini through the AI Gateway
1
Create a prompt and pick the model
Write your prompt in Fetch Hive and choose this model from the model library. Add a fallback model if you want a backup.
2
Deploy the prompt
Deploying gives the prompt a deployment name and a variant that your code can call.
3
Send one POST request
Call the invoke endpoint with your API key. Usage is charged to your AI wallet at the provider list price, and each call uses one task.
Compare
Compare GPT 4.1 Mini with similar models
List prices per 1M tokens and context window, next to the models people most often weigh it against.
GPT 5 Mini
GPT 5.4 Mini

Gemma 4 31B-it FP8
FAQ




