Skip to content
OpenAI

GPT 5 Mini

Going away Dec 11, 2026
openai/gpt-5-mini

GPT 5 Mini is a reasoning model by OpenAI with vision, function calling, prompt caching, structured output — designed for complex, multi-step problem solving where accuracy matters more than speed. It supports a 400K token context window with up to 128K tokens of output. Priced at $0.25 per million input tokens and $2 per million output tokens, it is one of the most cost-efficient options in its class. Access GPT 5 Mini through Inworld LLM Inference with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.

Input
$0.25
Output
$2.00
Cache read
$0.025
Context
400K
Max output
128K
TextImageFile→Text
Function CallingReasoningPrompt CachingStructured outputVision
Run on your server. Set INWORLD_API_KEY to your API key. Python requires pip install openai; JavaScript requires Node.js 18+; save it as example.mjs.
curl --fail-with-body https://api.inworld.ai/v1/chat/completions \
  -H "Authorization: Basic $INWORLD_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "openai/gpt-5-mini",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": true
  }'
Model GPT 5 MiniOpenAI SDK compatible

Pricing and providers

Access GPT 5 Mini through Inworld LLM Inference or speech to speech via OpenAI. By using the providers below you agree to their terms, listed under each provider's name in the Legal section.

Modalities
OpenAIThis pageopenai/gpt-5-mini
$0.25$2.00$0.025—400K128K
TextImageFile→Text
Prices in USD per 1M tokens.

Start building with GPT 5 Mini

Access GPT 5 Mini and every other model through LLM Inference or speech to speech. Create a free account and start in minutes.