# GPT-5.4 Nano

> GPT-5.4 Nano is OpenAI's cheapest GPT-5.4-class model, purpose-built for simple, high-volume tasks where speed and cost matter most — classification, data extraction, ranking, and subagents. It supports a 400,000-token input context with 128,000 output tokens, text and image inputs, and ships with streaming, function calling, structured outputs, and broad tool support including web search, file search, image generation, code interpreter, hosted shell, apply patch, skills, and MCP.


**ID**: `openai/gpt-5.4-nano`  
**Creator**: OpenAI  
**Category**: text  
**Context**: 400K tokens  
**Pricing**: $0.20 / $1.25 per 1M · billed by your provider (BYOK)  
**Released**: 2026-03-05  
**Web page**: https://anyrouter.dev/model/openai/gpt-5.4-nano

**Input modalities**: text, image  
**Output modalities**: text  

**Tokenizer**: GPT

**Capabilities**: chat, streaming, function-calling, vision, coding

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "openai/gpt-5.4-nano",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| openai-byok | $0.20/M (list) | $1.25/M (list) |
| opencode-zen-byok | $0.20/M (list) | $1.25/M (list) |
| router-byok | $0.20/M (list) | $1.25/M (list) |
| vercel-byok | $0.20/M (list) | $1.25/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Benchmarks

- **GPQA Diamond**: 0.6
- **HLE**: 0.0
- **τ²-Bench Telecom**: 0.3
- **SciCode**: 0.4
