# GPT-5.4 Mini

> GPT-5.4 Mini is OpenAI's strongest mini model yet for coding, computer use, and subagents, delivering GPT-5.4-class capability in a faster, more cost-efficient package optimized for high-volume workloads. It supports a 400,000-token input context with 128,000 output tokens, accepts text and image inputs, and exposes reasoning tokens alongside streaming, function calling, and structured outputs.


**ID**: `openai/gpt-5.4-mini`  
**Creator**: OpenAI  
**Category**: multimodal  
**Context**: 400K tokens  
**Pricing**: $0.75 / $4.50 per 1M · billed by your provider (BYOK)  
**Released**: 2026-03-17  
**Web page**: https://anyrouter.dev/model/openai/gpt-5.4-mini

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

**Tokenizer**: GPT

**Capabilities**: chat, coding, reasoning, 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.4-mini",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| openai-byok | $0.75/M (list) | $4.50/M (list) |
| opencode-zen-byok | $0.75/M (list) | $4.50/M (list) |
| router-byok | $0.75/M (list) | $4.50/M (list) |
| vercel-byok | $0.75/M (list) | $4.50/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.8
- **HLE**: 0.2
- **τ²-Bench Telecom**: 0.4
- **SciCode**: 0.4
