Skip to content
OpenAI

GPT 5 Nano

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

GPT 5 Nano 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.05 per million input tokens and $0.4 per million output tokens, it is one of the most cost-efficient options in its class. Access GPT 5 Nano through Inworld LLM Inference with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.

Input
$0.05
Output
$0.40
Cache read
$0.005
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-nano",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": true
  }'
Model GPT 5 NanoOpenAI SDK compatible

Pricing and providers

Access GPT 5 Nano 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-nano
$0.05$0.40$0.005—400K128K
TextImageFile→Text
Prices in USD per 1M tokens.

Start building with GPT 5 Nano

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