GPT-5.4 Nano
openai/gpt-5.4-nano-20260317
This model accepts file, image, and text inputs and provides text outputs. It has a context length of 400,000 tokens and supports tools and reasoning. Input pricing is $0.20 per million tokens, while output pricing is $1.25 per million tokens.
- tool use
- structured outputs
- reasoning
At a glance
Specifications
What the API gives you
- Context window
- 400K tokens
- Max output
- 128K tokens
- Input price
- $0.20 / 1M tokens
- Output price
- $1.25 / 1M tokens
- Cache read
- $0.020 / 1M tokens
- Modalities
- file, image, text → text
- Knowledge cutoff
- Aug 31, 2025
- Released
- Aug 7, 2025
Measured evidence
Public benchmark record
- LiveBench Agentic Coding
- 46.8%2026-10-18
- LiveBench Coding
- 70.8%2026-10-18
- LiveBench Data Analysis
- 67.6%2026-10-18
- LiveBench Instruction Following
- 67.2%2026-10-18
- LiveBench Language
- 62.5%2026-10-18
- LiveBench Math
- 91.0%2026-10-18
- LiveBench Reasoning
- 81.1%2026-10-18
- LMArena Creative Writing‡
- 1315 Elo2026-10-20high effort
- LMArena Instruction Following‡
- 1362 Elo2026-10-20high effort
- LMArena Long Query‡
- 1365 Elo2026-10-20high effort
- LMArena Math‡
- 1405 Elo2026-10-20high effort
- LMArena Text‡
- 1401 Elo2026-10-20high effort
- LMArena Text Factuality‡
- 1417 Elo2026-10-20high effort
- LMArena Vision‡
- 1199 Elo2026-10-19high effort
- LMArena Vision Diagrams‡
- 1226 Elo2026-10-19high effort
- LMArena Vision OCR‡
- 1213 Elo2026-10-19high effort
LMArena data licensed CC-BY-4.0. Aider (Apache-2.0) and SWE-bench (MIT) are open. Design Arena uses blind human preference. ‡ Submitted scaffold plus model result. Compare the harness and effort settings, not only the model name.
Task evidence
How broad is the support?
Each status is exact to this model version and the selected task. Official release claims remain provisional.
- Best LLM for Business WritingEstablished evidence
100% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Marketing CopyEstablished evidence
100% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Chat & RoleplayEstablished evidence
100% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Creative WritingEstablished evidence
100% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for WritingEstablished evidence
100% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for Roleplay & CharacterEstablished evidence
100% of intended weighted task evidence across 2 independent sources. 4 of 4 configured evaluation feeds currently have results.
Show all 39 tasks
- Best LLM for a General AssistantEstablished evidence
91% of intended weighted task evidence across 2 independent sources. 6 of 6 configured evaluation feeds currently have results.
- Best LLM for Logic & Problem SolvingEstablished evidence
82% of intended weighted task evidence across 2 independent sources. 5 of 5 configured evaluation feeds currently have results.
- Best LLM for Math & ReasoningEstablished evidence
76% of intended weighted task evidence across 2 independent sources. 7 of 7 configured evaluation feeds currently have results.
- Best LLM for Competition MathEstablished evidence
70% of intended weighted task evidence across 2 independent sources. 6 of 6 configured evaluation feeds currently have results.
- Best Open-Weight LLM for Self-HostingEstablished evidence
64% of intended weighted task evidence across 2 independent sources. 2 of 3 configured evaluation feeds currently have results.
- Best LLM for Image UnderstandingEstablished evidence
61% of intended weighted task evidence across 2 independent sources. 2 of 3 configured evaluation feeds currently have results.
- Best LLM for Fast SummariesEstablished evidence
58% of intended weighted task evidence across 2 independent sources. 2 of 3 configured evaluation feeds currently have results.
- Best Value LLMEstablished evidence
58% of intended weighted task evidence across 2 independent sources. 2 of 3 configured evaluation feeds currently have results.
- Best LLM for Literary TranslationEstablished evidence
50% of intended weighted task evidence across 2 independent sources. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for Everyday TranslationEstablished evidence
50% of intended weighted task evidence across 2 independent sources. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for TranslationEstablished evidence
50% of intended weighted task evidence across 2 independent sources. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for Document SummarizationEstablished evidence
40% of intended weighted task evidence across 2 independent sources. 5 of 6 configured evaluation feeds currently have results.
- Best LLM for SummarizationEstablished evidence
40% of intended weighted task evidence across 2 independent sources. 5 of 6 configured evaluation feeds currently have results.
- Best Cheap LLM for High VolumeEstablished evidence
40% of intended weighted task evidence across 2 independent sources. 2 of 3 configured evaluation feeds currently have results.
- Cheapest Capable LLMEstablished evidence
40% of intended weighted task evidence across 2 independent sources. 2 of 3 configured evaluation feeds currently have results.
- Best LLM for JSON & Schema OutputEstablished evidence
35% of intended weighted task evidence across 2 independent sources. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for Structured Data ExtractionEstablished evidence
35% of intended weighted task evidence across 2 independent sources. 3 of 4 configured evaluation feeds currently have results.
- Best LLM for OCR & DocumentsProvisional evidence
45% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Document or Structured-output eval. 3 of 5 configured evaluation feeds currently have results.
- Best LLM for Charts & DiagramsProvisional evidence
45% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Document or Structured-output eval. 3 of 5 configured evaluation feeds currently have results.
- Best LLM for Code CompletionProvisional evidence
43% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Aider Polyglot or LMArena WebDev. 3 of 3 configured evaluation feeds currently have results.
- Best LLM for Vision & DocumentsProvisional evidence
40% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Document or Structured-output eval. 4 of 6 configured evaluation feeds currently have results.
- Best LLM for Document ParsingProvisional evidence
37% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Document or Structured-output eval. 3 of 5 configured evaluation feeds currently have results.
- Best Local LLM for CodingProvisional evidence
26% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Aider Polyglot or LMArena WebDev. 4 of 4 configured evaluation feeds currently have results.
- Best LLM for RAG & Long ContextProvisional evidence
22% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from FACTS Grounding or LMArena Document. 5 of 6 configured evaluation feeds currently have results.
- Best LLM for High-Volume ExtractionProvisional evidence
21% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Route reliability or Structured-output eval. 1 of 3 configured evaluation feeds currently have results.
- Best LLM for Massive ContextProvisional evidence
20% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Document or LongBench v2. 2 of 3 configured evaluation feeds currently have results.
- Best LLM for CodingProvisional evidence
18% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Aider Polyglot or Design Arena Coding. 7 of 7 configured evaluation feeds currently have results.
- Best LLM for Debugging & Code ReviewProvisional evidence
17% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Aider Polyglot or LMArena WebDev. 5 of 5 configured evaluation feeds currently have results.
- Best LLM for Agentic CodingProvisional evidence
16% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Design Arena Full-stack or Design Arena Web-apps. 7 of 7 configured evaluation feeds currently have results.
- Best LLM for Grounded RAGProvisional evidence
14% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from CRAG or SimpleQA Verified (Epoch AI). 5 of 7 configured evaluation feeds currently have results.
- Best LLM for Autonomous AgentsProvisional evidence
13% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Agent or LMArena Agent Task Outcome. 6 of 6 configured evaluation feeds currently have results.
- Best LLM for Frontend & UIProvisional evidence
9% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Design Arena Coding or Design Arena UI. 6 of 6 configured evaluation feeds currently have results.
- Best LLM for AI AgentsProvisional evidence
9% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Berkeley Function Calling or LMArena Agent. 9 of 9 configured evaluation feeds currently have results.
Recommendation coverage
Where this model appears
Not currently included in a published recommendation. The task evidence panel above says exactly what is confirmed and what is still missing.
Catalog data via OpenRouter and models.dev. Last checked within the past 6 hours.