Back to Models
GPT-5.4 Nano
openaiopenai/gpt-5.4-nano
API guide
Chat completion
Standard OpenAI-compatible chat. Supports reasoning.effort, tools, streaming, vision, and structured JSON output.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-5.4-nano","messages":[{"role":"user","content":"Classify this review: \"Amazing product, fast shipping!\""}]}'Streaming
Stream tokens as generated. Nano is the fastest model in the family β at 'none' reasoning effort, expect sub-500ms first-token latency for short prompts.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-5.4-nano","stream":true,"messages":[{"role":"user","content":"Summarize this conversation."}]}'Tool use
Full function calling with 56.1% on MCP Atlas. Ideal for sub-agent toolchains where Nano processes parallel tool calls orchestrated by a larger router model.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-5.4-nano","messages":[{"role":"user","content":"Score this resume: Software Engineer at Google"}],"tools":[{"type":"function","function":{"name":"score_resume","description":"Score a candidate resume","parameters":{"type":"object","properties":{"score":{"type":"number"},"summary":{"type":"string"}},"required":["score","summary"]}}}]}'Structured JSON
Constrain output to valid JSON via response_format for extraction, classification, and ranking pipelines.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-5.4-nano","messages":[{"role":"user","content":"Extract entities from: \"Apple bought startup in Cupertino for $500M\""}],"response_format":{"type":"json_schema","json_schema":{"name":"entity_extraction","strict":true,"schema":{"type":"object","properties":{"entities":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"}},"required":["name","type"],"additionalProperties":false}},"required":["entities"],"additionalProperties":false}}}}'Fact ledger β every claim on this page traces here
| source | URL | retrieved | |
|---|---|---|---|
| Release date | openai.com β | 2026-05-29 | verified |
| Training cutoff | developers.openai.com β | 2026-05-29 | verified |
| OpenAI model id | developers.openai.com β | 2026-05-29 | verified |
| Reasoning effort | openai.com β | 2026-05-29 | verified |
| Key API features | openai.com β | 2026-05-29 | verified |
| License | β | β | verified |
| SWE-bench Pro (Public) | openai.com β | 2026-05-29 | verified |
| Terminal-Bench 2.0 | openai.com β | 2026-05-29 | verified |
| Toolathlon | openai.com β | 2026-05-29 | verified |
| MCP Atlas | openai.com β | 2026-05-29 | verified |
| Ο2-bench (telecom) | openai.com β | 2026-05-29 | verified |
| GPQA Diamond | openai.com β | 2026-05-29 | verified |
| HLE w/ tool | openai.com β | 2026-05-29 | verified |
| MMMUPro | openai.com β | 2026-05-29 | verified |
| MMMUPro w/ Python | openai.com β | 2026-05-29 | verified |
| OSWorld-Verified | openai.com β | 2026-05-29 | verified |
| MRCR v2 8-needle 64K-128K | openai.com β | 2026-05-29 | verified |
| MRCR v2 8-needle 128K-256K | openai.com β | 2026-05-29 | verified |
| Graphwalks BFS 0K-128K | openai.com β | 2026-05-29 | verified |
| Artificial Analysis Intelligence Index (xhigh) | artificialanalysis.ai β | 2026-05-29 | to verify |
| GPT-5.4 now AI search on ChatGPT β Nano benefits from ecosystem | openai.com β | 2026-05-29 | verified |
| GPT-5.4 family expands β GPT Image 2 launched | openai.com β | 2026-05-29 | verified |
| GPT-5.4 Mini and Nano released | openai.com β | 2026-05-29 | verified |
| Does GPT-5.4 Nano support reasoning effort levels? | openai.com β | 2026-05-29 | to verify |
| Does GPT-5.4 Nano support computer use? | openai.com β | 2026-05-29 | to verify |
| How does GPT-5.4 Nano compare to GPT-4.1 Nano on pricing? | developers.openai.com β | 2026-05-29 | to verify |
| Does GPT-5.4 Nano support image input? | openai.com β | 2026-05-29 | to verify |
| Is GPT-5.4 Nano available in ChatGPT? | openai.com β | 2026-05-29 | to verify |
| What is the context window and max output for GPT-5.4 Nano? | developers.openai.com β | 2026-05-29 | to verify |