# GPT-5 Nano

> GPT-5 Nano is the fastest, most cost-efficient member of the GPT-5 family, optimized for summarization, classification, and other simple high-volume tasks. It supports a 400,000-token input context with 128,000 output tokens, text and image inputs, and exposes streaming, function calling, structured outputs, and tool integrations including web search, file search, image generation, code interpreter, and MCP. OpenAI recommends GPT-5.4 Nano for new speed- and cost-sensitive workloads.


**ID**: `openai/gpt-5-nano`  
**Creator**: OpenAI  
**Category**: multimodal  
**Context**: 400K tokens  
**Pricing**: $0.05 / $0.40 per 1M · billed by your provider (BYOK)  
**Released**: 2025-08-07  
**Web page**: https://anyrouter.dev/model/openai/gpt-5-nano

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

**Tokenizer**: GPT

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

## 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-nano",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| openai-byok | $0.05/M (list) | $0.40/M (list) |
| opencode-zen-byok | $0.05/M (list) | $0.40/M (list) |
| cline-byok | $0.05/M (list) | $0.40/M (list) |
| router-byok | $0.05/M (list) | $0.40/M (list) |
| vercel-byok | $0.05/M (list) | $0.40/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.4
- **HLE**: 0.0
- **τ²-Bench Telecom**: 0.3
- **SciCode**: 0.3
