# GPT-5 Mini

> GPT-5 Mini delivers near-frontier intelligence for cost-sensitive, low-latency, high-volume workloads. It supports a 400,000-token input context with 128,000 output tokens, text and image inputs, and exposes streaming, function calling, structured outputs, reasoning tokens, and tool integrations including web search, file search, code interpreter, and MCP. OpenAI recommends GPT-5.4 Mini for most new low-latency workloads.


**ID**: `openai/gpt-5-mini`  
**Creator**: OpenAI  
**Category**: multimodal  
**Context**: 400K tokens  
**Pricing**: $0.25 / $2.00 per 1M · billed by your provider (BYOK)  
**Released**: 2025-08-07  
**Web page**: https://anyrouter.dev/model/openai/gpt-5-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-mini",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| openai-byok | $0.25/M (list) | $2.00/M (list) |
| openrouter-byok | $0.25/M (list) | $2.00/M (list) |
| cline-byok | $0.25/M (list) | $2.00/M (list) |
| router-byok | $0.25/M (list) | $2.00/M (list) |
| vercel-byok | $0.25/M (list) | $2.00/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.1
- **τ²-Bench Telecom**: 0.7
- **SciCode**: 0.4
