# GPT-5 Mini API pricing

The official API price of GPT-5 Mini is $0.25 per 1M input tokens and $2 per 1M output tokens (as of 2026-11-12). Context window: 400K tokens, up to 128K output tokens per request. 36 providers sell it. The lowest is QiHang: $0.04 input, $0.29 output.

- Type: Text
- Context: 400K
- Max output: 128K
- Released: 2025-08-07
- Open weights: No

## Price by provider (USD per 1M tokens)

| Provider | Model id | Input | Output | Cached | Notes |
| --- | --- | --- | --- | --- | --- |
| [OpenAI](https://platform.openai.com/docs/models) | gpt-5-mini | $0.25 | $2 | $0.025 | Official |
| [QiHang](https://www.qhaigc.net/docs) | gpt-5-mini | $0.04 | $0.29 | — | Lowest |
| [Poe](https://creator.poe.com/docs/external-applications/openai-compatible-api) | openai/gpt-5-mini | $0.2273 | $1.8182 | $0.0227 |  |
| [Jiekou.AI](https://docs.jiekou.ai/docs/support/quickstart?utm_source=github_models.dev) | gpt-5-mini | $0.2375 | $1.9 | $0.0237 |  |
| [302.AI](https://doc.302.ai) | gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Abacus](https://abacus.ai/help/api) | gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [AI/ML API](https://docs.aimlapi.com) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Cloudflare AI Gateway](https://developers.cloudflare.com/ai-gateway/) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Databricks](https://docs.databricks.com/aws/en/machine-learning/foundation-models/) | databricks-gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [DigitalOcean](https://docs.digitalocean.com/products/gradient-ai-platform/details/models/) | openai-gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Eden AI](https://docs.edenai.co) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [FastRouter](https://fastrouter.ai/models) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Helicone](https://helicone.ai/models) | gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Impossibl](https://impossibl.com/docs/models) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Kilo Gateway](https://kilo.ai) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [DevPass (LLM Gateway)](https://llmgateway.io/docs) | gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [LLM Gateway](https://llmgateway.io/docs) | azure/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [LLM Gateway](https://llmgateway.io/docs) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [LowRouter](https://lowrouter.ai/docs/models/available) | auto/openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Merge Gateway](https://docs.merge.dev/merge-gateway) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [NanoGPT](https://docs.nano-gpt.com) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [NEAR AI Cloud](https://docs.near.ai/) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Neon](https://neon.com/docs) | gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Ofox](https://ofox.ai/docs) | openai/gpt-5-mini | $0.25 | $2 | $0.03 |  |
| [OpenRouter](https://openrouter.ai/models) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [OrcaRouter](https://docs.orcarouter.ai) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Prime Inference](https://docs.primeintellect.ai/inference/overview) | openai/gpt-5-mini | $0.25 | $2 | — |  |
| [SAP AI Core](https://help.sap.com/docs/sap-ai-core) | gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Snowflake Cortex](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-rest-api) | openai-gpt-5-mini | $0.25 | $2 | $0.03 |  |
| [Vercel AI Gateway](https://github.com/vercel/ai/tree/5eb85cc45a259553501f535b8ac79a77d0e79223/packages/gateway) | openai/gpt-5-mini | $0.25 | $2 | $0.025 |  |
| [Cortecs](https://api.cortecs.ai/v1/models) | gpt-5-mini | $0.279 | $2.192 | $0.056 |  |
| [Requesty](https://requesty.ai/solution/llm-routing/models) | gpt-5-mini@eu | $0.275 | $2.2 | $0.0275 |  |
| [Vercel AI Gateway](https://github.com/vercel/ai/tree/5eb85cc45a259553501f535b8ac79a77d0e79223/packages/gateway) | openai/gpt-5-mini-fast | $0.45 | $3.6 | $0.045 |  |
| [GitHub Copilot](https://docs.github.com/en/copilot) | gpt-5-mini | $0.25 | $2 | $0.025 | Deprecated |
| [Perplexity Agent](https://docs.perplexity.ai/docs/agent-api/models) | openai/gpt-5-mini | $0.25 | $2 | $0.025 | Deprecated |
| [Vivgrid](https://docs.vivgrid.com/models) | gpt-5-mini | $0.25 | $2 | $0.03 | Deprecated |
| [GitLab Duo](https://docs.gitlab.com/user/duo_agent_platform/) | duo-chat-gpt-5-mini | $0 | $0 | — | Deprecated |
| [AnyAPI](https://docs.anyapi.ai) | openai/gpt-5-mini | — | — | — |  |

Providers are those listed by models.dev. This site has not vetted them one by one; each provider's own page has the binding price.

Prices and specs come from models.dev (MIT licence), updated 2026-11-12. Each provider's name links to its official docs. A provider priced at 0 usually includes the model in a subscription; it is not necessarily a free API.

https://apibook.ai/models/openai/gpt-5-mini/
