kilo-logo
kilo-logo
kilo-logo

/

/

GPT 4.1 Mini

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 Minigpt-4.1-mini
Updated Nov 20, 2026
Input price$0.40per 1M tokens
Output price$1.60per 1M tokens
Context window1,047,576tokens, about 786,000 words
Cached input$0.10per 1M tokens
Tool callingStructured outputVisionReasoning

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.

Start from a workload
Estimated GPT 4.1 Mini cost per month$12.83
Input 44%Output 56%
Per request$0.00086
Per day$0.43
Per 1,000 requests$0.86
Context window used0.2% of 1.0M

Worked out from the provider list price. Fetch Hive charges that price to your AI wallet with no markup per call, and each model call uses one task from your plan.

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.

bash
curl -X POST \
  https://api.fetchhive.com/v1/prompt/invoke \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "deployment": "your-deployment",
    "variant": "default",
    "inputs": { "ticket": "Where is my order?" },
    "streaming": false
  }'

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.

VS

GPT 5 Mini

by OpenAI
GPT 4.1 MiniGPT 5 Mini
Input per 1M tokens38% cheaper
$0.40
$0.25
Output per 1M tokens25% pricier
$1.60
$2.00
Context window2.6x smaller
1.05M tokens
400K tokens
See GPT 5 Mini pricing and specs
VS

GPT 5.4 Mini

by OpenAI
GPT 4.1 MiniGPT 5.4 Mini
Input per 1M tokens88% pricier
$0.40
$0.75
Output per 1M tokens2.8x the price
$1.60
$4.50
Context window2.6x smaller
1.05M tokens
400K tokens
See GPT 5.4 Mini pricing and specs
VS

Gemma 4 31B-it FP8

by Google
GPT 4.1 MiniGemma 4 31B-it FP8
Input per 1M tokens3% cheaper
$0.40
$0.39
Output per 1M tokens39% cheaper
$1.60
$0.97
Context window4x smaller
1.05M tokens
262K tokens
See Gemma 4 31B-it FP8 pricing and specs

FAQ

GPT 4.1 Mini questions, answered

Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image

Build with GGPT 4.1 Mini

on Fetch Hive today.

Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image

Build with GGPT 4.1 Mini

on Fetch Hive today.

Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image

Build with GGPT 4.1 Mini

on Fetch Hive today.