Roboflow
OpenAI

OpenAI: GPT-4.1 mini

This model is deprecated

GPT-4.1 mini and can no longer be run here. Its evaluation results and details remain available for reference. Try GPT-5.6 Terra instead.

GPT-4.1 mini Overview

GPT-4.1 mini, released by OpenAI in April 2025, is a smaller, faster, and cheaper variant of GPT-4.1 designed for high-throughput and cost-sensitive applications. It is multimodal, handling both text and images, and inherits the full model’s strengths in coding, structured outputs, and long-context reasoning. With support for up to 1 million tokens, it enables reliable processing of extended documents, multi-file codebases, and lengthy conversations while keeping latency low.

GPT-4.1 mini offers an efficient alternative to GPT-4.1 and replaced GPT-4o mini as the default ChatGPT model in May 2025. Despite being smaller, it matches or outperforms GPT-4o on several benchmarks, particularly for instruction following and real-world coding tasks. Ideal use cases include large-scale conversational systems, affordable developer tools, document analysis, and interactive assistants where speed and cost are critical.

GPT-4.1 mini Details & Performance

Details

Resources

Vision Tasks

Vision LanguageObject DetectionClassificationOCRVisual Question AnsweringCaptioning

Features

Foundation VisionLLMs with Vision CapabilitiesMultimodal Vision

Usage

Past 30 Days

Not available

Not in Playground

Performance

Avg. Latency

Arena Rankings

GPT-4.1 mini Vision Evals

Visual Understanding

77 models · 67 tasks
HighestLowest
This model#25 of 7768.66% pass rate · better than 62%
Score68.66%pass rate across 67 tasks
Speed2.54savg response per task
Cost$0.0008 / task$0.400 in · $1.60 out / 1M
Tokens1.9K / task1.9K in · 6 out
Score key:≥75%40–74%<40%
CategoryPassedScore
Defect Detection12 / 15
80%
Spatial Understanding15 / 19
78.9%
Object Understanding11 / 14
78.6%
Document Understanding7 / 9
77.8%
Object Counting1 / 10
10%
HighestLowest
This model#21 of 5879.91% pass rate · better than 64%
Score79.91%pass rate across 229 tasks
Speed2.05savg response per task
Cost$0.0001 / task$0.400 in · $1.60 out / 1M
Tokens143 / task130 in · 10 out
Score key:≥75%40–74%<40%
CategoryPassedScore
License Plate Recognition28 / 30
93.3%
Focused Scene OCR83 / 99
83.8%
Text Recognition24 / 30
80%
VQA & Extraction44 / 60
73.3%
Handwritten Math4 / 10
40%

Scores based on a single evaluation run · Methodology

View all Vision Evals →

GPT-4.1 mini Pricing

GPT-4.1 mini costs $0.400 per 1M input tokens and $1.60 per 1M output tokens.

Input$0.400 / 1M tokens
Output$1.60 / 1M tokens
Cached input$0.100 / 1M tokens

Pricing updated Jul 12, 2026

Price vs. performance

Estimated cost per task vs. Visual Understanding score, for this model and others ranked near it. Upper-left is the sweet spot (high quality, low cost).

10 of 11 models plotted · 1 not yet evaluated

ModelScoreMedian tokensEst. cost / taskCompare
AnthropicClaude Sonnet 570.2%2.2K$0.0048Compare
AnthropicClaude Sonnet 4.670.2%2.3K$0.0080Compare
OpenAIGPT-5.6 Luna70.2%1.5K$0.0017Compare
GoogleGemini 2.5 Pro70.2%856$0.0060Compare
GoogleGemini 3.1 Flash-Lite68.7%1.1K$0.0003Compare
OpenAIGPT-4.1 Mini(this model)68.7%1.9K
GoogleGemma 4 26B A4B68.7%531$0.0001Compare
QwenQwen3.6 Plus68.7%1.6K$0.0005Compare
AnthropicClaude Opus 4.867.2%2.2K$0.012Compare
AnthropicClaude Opus 4.767.2%2.6K$0.015Compare
GoogleGemma 4 31B67.2%467$0.0001Compare

Alternatives to GPT-4.1 mini

Other models worth comparing for similar use cases.

Google
Gemini 2.5 Flash
Gemini 2.5 Flash, released on June 17, 2025, is Google DeepMind’s production-ready, efficiency-focused model in the Gemini 2.5 family. It is multimodal, accepting text, images, video, and audio as inputs, with text as the primary output format. The model supports 1 million input tokens and up to 65K output tokens, enabling it to process very large contexts such as books, long video transcripts, or extensive datasets. Its training knowledge extends to January 2025.Designed as a price-performance leader, Gemini 2.5 Flash balances speed and reasoning power, making it suitable for everyday enterprise and developer use cases without the higher latency and cost of Pro models. It supports advanced workflows like function calling, code execution, search grounding, URL context ingestion, and structured outputs. While efficient and scalable, output length is still limited compared to its input capacity, and multimodal outputs (e.g. image or audio generation) remain restricted to specialized or preview variants.
Anthropic
Claude Sonnet 4.5
Claude Sonnet 4.5, released by Anthropic in September 2025, is the company’s most advanced Sonnet-series model, built for high-performance reasoning, coding, and long-horizon agentic workflows. It is a multimodal system that accepts both text and images, with a 200,000-token context window designed for handling large documents and extended interactions. Anthropic highlights its improvements in reliability, reduced sycophancy, and alignment, making it suitable for sustained enterprise use.The model delivers strong results in coding and autonomous workflows, achieving 61.4% on the OSWorld benchmark and leading performance on SWE-bench Verified. It introduces infrastructure features such as a memory tool (beta), checkpointing for Claude Code, parallel tool use, and tighter integration with VS Code. Compared to Opus, which targets broader reasoning, Sonnet 4.5 is optimized for structured, long-duration tasks. Positioned against leading offerings from OpenAI and Google, it is aimed at enterprise automation, software engineering, and research-intensive applications.
Anthropic
Claude Sonnet 5
Claude Sonnet 5 is a mid-tier large language model from Anthropic, released on June 30, 2026, as the latest model in the Sonnet series and a direct successor to Claude Sonnet 4.6. It is a hybrid reasoning model designed primarily for agentic workflows, software coding, and professional tasks. The model features a 1 million token context window, a 128k maximum output token limit, and runs adaptive thinking by default, giving API users fine-grained control over reasoning effort across five levels (low, medium, high, max, and extra-high). It uses an updated tokenizer shared with Opus 4.7 and later models, which produces approximately 30% more tokens for equivalent text compared to earlier Claude models. On benchmarks, Sonnet 5 scores 63.2% on agentic coding and 81.2% on OSWorld, narrowing the gap with Opus 4.8 while remaining at Sonnet-tier pricing.The model supports text and image input with text output, and accepts tools including browsers and terminals for autonomous multi-step task execution. Anthropic's safety evaluations report that Sonnet 5 shows a lower rate of undesirable behaviors than Sonnet 4.6 and is generally safer in agentic contexts, with improved resistance to prompt injection and reduced sycophancy. Cybersecurity safeguards equivalent to those on Opus 4.7 and 4.8 are active, though Anthropic notes the model was not deliberately trained on cybersecurity tasks. The model is proprietary and API-only, with no open weights.
Google
Gemini 3.5 Flash
Gemini 3.5 Flash is a multimodal language model developed by Google DeepMind and released at Google I/O 2026. It is built on the Gemini 3 Flash reasoning foundation and introduces configurable thinking levels (minimal, low, medium, and high) that allow developers to tune the depth of internal reasoning before a response is generated. The model accepts text, image, video, audio, and PDF inputs and produces text output, with a 1 million token context window and up to 65,000 output tokens per request. It is natively multimodal, processing visual inputs alongside text to support tasks such as image captioning, classification, optical character recognition, object detection, and visual grounding, where the model references specific regions within an image or video frame.Its vision capabilities extend to interpreting UI screenshots, diagrams, charts, and real-world scenes, as well as understanding video and live frame sequences for activity and scene recognition. The model supports combined tool use, including Google Search, URL context, code execution, and custom functions, within a single request, and it uses reasoning context from previous turns when thought signatures are present in the conversation history, enabling persistent multi-turn reasoning chains. Gemini 3.5 Flash carries a knowledge cutoff of January 2026 and is available via the Gemini API, Google AI Studio, Google Antigravity, and the Gemini Enterprise Agent Platform.

Other OpenAI GPT Mini models

Other versions in the same family as GPT-4.1 mini.

GPT-4.1 mini License

Proprietary

License terms and commercial-use guidance for GPT-4.1 mini.

License information is provided as a guide and is not legal advice.