Back to Models

OpenAI: GPT-4.1 Mini

openai/gpt-4.1-mini
Apr 14, 20251.0M context32.8K max output$0.40/M in · $1.60/M out

Description

GPT-4.1 Mini is a mid-sized model delivering performance competitive with GPT-4o at substantially lower latency and cost. It retains a 1 million token context window and scores 45.1% on hard instruction evals, 35.8% on MultiChallenge, and 84.1% on IFEval. Mini also shows strong coding ability (e.g., 31.6% on Aider’s polyglot diff benchmark) and vision understanding, making it suitable for interactive applications with tight performance constraints.

Specifications

Provider
openai
Context Length
1.0M
Max Output
32.8K
Modality
Inimagetextfile
Outtext

Pricing

TypePrice / 1M tokens
Input$0.40
Output$1.60
Cache Read$0.10
Web Search$0.01 / call

Quick Start

curl https://api.ominigate.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-omg-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4.1-mini",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'