GPT-4.1 Mini

Provider: OpenAI US Official API price

Input price
$0.40
/ 1M tokens
Output price
$1.60
/ 1M tokens
Cache price
$0.10
/ 1M tokens (read)
Batch API
$0.20 / $0.80
input / output per 1M tokens
Context
1.05M tokens
Max output 33K tokens

Overview

GPT-4.1 Mini is an OpenAI model positioned as a capable mid-tier option, targeting workloads that require both extensive context and multimodal processing. It supports advanced features like vision, function-calling, and JSON mode for structured outputs.

Strengths

  • Extensive context window handling large inputs for complex tasks.
  • Multimodal vision capability for understanding and processing images.
  • Robust function-calling support for integrating with external tools.
  • Guaranteed structured output with JSON mode for reliable data parsing.
  • Generous maximum output length for detailed and comprehensive responses.

Best use cases

  • Analyzing large technical manuals or legal documents with embedded diagrams.
  • Building agentic systems that interact with external APIs and parse structured data.
  • Extracting specific information from images and long text for database population.
  • Automating content generation requiring specific output formats and tool use.
  • Processing extensive conversations or chat histories for summarization or analysis.

Pricing position

GPT-4.1 Mini's input price of $0.40/M is the highest among its listed OpenAI siblings, while its output price of $1.60/M is more competitive. It is more expensive than most OpenAI 'Nano' models but less than OpenAI's GPT-5 Mini and several Mistral models. It matches several peer models like Llama 3.1 70B Instruct on input price but has a significantly higher output price.

Caveats

This model does not offer a free tier, meaning all usage incurs costs from the outset. For purely text-based tasks requiring extensive context, OpenAI's GPT-4.1 Nano offers the same context window at a significantly lower input and output price. For shorter context vision or function-calling tasks, more cost-optimized options like GPT-4o-mini might be more economical if its smaller context is sufficient.

Notes drafted by an LLM from the figures on this page (2026-05-21) and rewritten when the price changes.

Key facts

Price basis
Official API price
Max output
33K tokens
Knowledge cutoff
2024-06-30
Listed on OpenRouter
2025-04-14
Tracked since
2026-05-08
Last updated
2026-11-10

Features

Image inputFunction callingJSON output

Monthly cost estimate

Scale Input (M) Output (M) Monthly
0.1M (hobby) 0.1 0.05 $0.12
1M (small app) 1 0.5 $1.20
10M (mid scale) 10 5 $12.00
100M (large) 100 50 $120.00

※ Cache and batch discounts not factored in. Detailed calculator

Official resources

Other models from OpenAI

Similar-priced models

Source: OpenRouter API (openai/gpt-4.1-mini)