- Organizations
- OpenAI
- GPT-4.1 mini
GPT-4.1 mini: API Pricing, Context Window & Benchmarks
GPT-4.1 mini is a language model from OpenAI, released in April 2025, with multimodal input, a 1.0M-token context window, and pricing from $0.400/M input and $1.60/M output.
GPT-4.1 mini provides a balance between intelligence, speed, and cost. It's a significant leap in small model performance, even beating GPT-4o in many benchmarks while reducing latency and cost.
GPT-4.1 mini benchmarks
Rankings
Quality Tracker
GPT-4.1 mini Performance Across Datasets
Scores sourced from the model's scorecard, paper, or official blog posts
GPT-4.1 mini pricing
Providers
GPT-4.1 mini starts at $0.400 per million input tokens and $1.60 per million output tokens via OpenAI.
| Provider | Input $/M | Output $/M | Context in / out | TTFT p50 / p95 s | Output avg / p5 c/s | Success 7d | Modalities in / out |
|---|---|---|---|---|---|---|---|
| $0.400 | $1.60 | 1.0M/32.8K | 0.58/0.79 | 211/87 | 100.00%(11) | / |
Cached input is the discounted price for prompt tokens served from a provider cache. TTFT is time to first token. Output is characters per second; p5 is the sustained floor exceeded by 95% of observed requests. Success is calculated from completed versus failed requests over the trailing seven days.
GPT-4.1 mini context window
Input and output token limits for GPT-4.1 mini, plus how it ranks on long-context understanding.
GPT-4.1 mini API
Run a request to see the response
Use it in your code
Billed at $0.40 input / $1.60 output per 1M tokens through the LLM Stats gateway.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://gateway.llm-stats.com/v1"
)
response = client.chat.completions.create(
model="gpt-4.1-mini-2025-04-14",
messages=[
{"role": "user", "content": "What is machine learning?"}
]
)
print(response.choices[0].message.content)Need an API key? Create one above in the playground, or read the API documentation.
GPT-4.1 mini latency
GPT-4.1 mini time to first token, sustained output throughput, and failed-request rate from live API traffic over the trailing 7 days.
Provider operational metrics
Time to first token, output throughput, and failed-request rate from live API traffic
GPT-4.1 mini examples
Recent arena outputs from GPT-4.1 mini, picked from the highest-ranked matchups.
GPT-4.1 mini license
GPT-4.1 mini is a proprietary model available under its provider's product and API terms, has a knowledge cutoff of May 2024.
- License
- Proprietary
- Hosted access
- Knowledge cutoff
- May 2024
Proprietary license - usage restrictions apply
GPT-4.1 mini resources
Official sources for GPT-4.1 mini: api documentation, official playground, official launch post.
GPT-4.1 mini vs other models
The most-compared alternatives to GPT-4.1 mini are Kimi-k1.5, Grok-2, DeepSeek R1 Distill Llama 70B. Open any pair side-by-side for benchmarks, pricing, context, and latency.
Models like GPT-4.1 mini
Models ranked just above and below GPT-4.1 mini by LLM Stats score.
FAQ
Common questions about GPT-4.1 mini.