GPT-5 Mini
GPT-5 Mini is worth evaluating for coding, rag, and agents when its provider route and context window match the workload.
Use it for
- Teams evaluating coding, rag, and agents
- Workloads that can use a 400k context window
- Buyers comparing 4 tracked provider routes
Do not use it for
- Workloads where another current model has stronger sourced task evidence
- Family
- GPT-5
- Released
- 2025-08-07
- Context
- 400k
- Max output
- 128,000
- Architecture
- Decoder Only
- Knowledge cutoff
- 2024-05
- Specialization
- general
- Openness
- Proprietary
- License
- ProprietaryCommercial use: conditional
- Weights
- Not released
- Code
- Unknown
- Training
- Pretrained
Cheapest of 4 routes · OpenAI API · cache read $0.025
About
Near-frontier intelligence for cost-sensitive, low-latency, high-volume workloads. Released August 2025. Replaces o4-mini (shutting down Oct 2026).
GPT-5 Mini is a proprietary model in the GPT-5 family. The structured metadata tracks a 400k-token context window, multimodal input, reasoning, function calling, tool use, structured outputs, and code execution. This page tracks provider routes through Replicate API, OpenRouter, OpenAI API, and 1 more, with the cheapest tracked route listed at $0.25 input and $2 output per 1M tokens. Headline tracked benchmarks include BFCL 55.5.
Top use-case fit: coding, agents, and build tasks
Coding
Included by capability and metadata signals in the decision map.
RAG
Included by capability and metadata signals in the decision map.
Agents
Included by capability and metadata signals in the decision map.
Provider price ladder
Compare all 4Compare API pricing across 4 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Batch in / out | Cache | Route |
|---|---|---|---|---|---|
| OpenAI API | $0.250 | $2.00 | $0.125 / $1.00 | read $0.025 | Serverless |
| OpenRouter | $0.250 | $2.00 | - | - | Serverless |
| Replicate API | $0.250 | $2.00 | - | - | Serverless |
| Vercel AI Gateway | $0.250 | $2.00 | - | read $0.025 | Serverless |
Available via routers & gateways(15)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter
HybridUnified hybrid gateway to 400+ models from 60+ providers via a single OpenAI-compatible API, with optional auto-routing that selects the best model per prompt.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, semantic caching, and guardrails; Apache 2.0 core is fully self-hostable with the complete feature set.
AIRouter
RouterCommercial LLM router that analyzes incoming requests and routes to the optimal model for cost/quality/latency via a drop-in OpenAI-compatible API, with a privacy-preserving embedding mode that avoids sending prompt content.
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache 2.0 open-source core with a managed hosted tier for logging and analytics.
Kong AI Gateway
GatewayMulti-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
Capabilities
Benchmark peer barsfor JSON / Tool use
Benchmark scores(1)
| Benchmark | Score | Version | Source |
|---|---|---|---|
| BFCL | 55.5 | v4 | https://gorilla.cs.berkeley.edu/leaderboard.html |
Migration checks
No linked migration route is available for this model yet.
Rankings & picks(1)
Compare GPT-5 Mini with other models
Comparison and alternatives
Browse all comparisons →Frequently asked questions
What is the context window of GPT-5 Mini?
GPT-5 Mini has a context window of 400k tokens.
What is the max output of GPT-5 Mini?
GPT-5 Mini can generate up to 128,000 output tokens.
How much does GPT-5 Mini cost?
GPT-5 Mini is available at $0.25/1M input tokens through Replicate API.
When was GPT-5 Mini released?
GPT-5 Mini was released on 2025-08-07.
Which providers offer GPT-5 Mini?
GPT-5 Mini is available from 4 providers: Replicate API, OpenRouter, OpenAI API, Vercel AI Gateway.
What benchmarks has GPT-5 Mini been tested on?
GPT-5 Mini has been evaluated on 1 benchmark, including BFCL.
Cheapest of 4 routes · OpenAI API · cache read $0.025