# GPT-4o Mini

> GPT-4o Mini is OpenAI's fast, small multimodal model for focused tasks. It takes text and image input and returns text, with a 128,000-token input context and 16,384 output tokens. It supports streaming, function calling and structured outputs.

**ID**: `openai/gpt-4o-mini`  
**Creator**: OpenAI  
**Category**: multimodal  
**Context**: 128K tokens  
**Pricing**: $0.15 / $0.60 per 1M · billed by your provider (BYOK)  
**Released**: 2024-07-18  
**Web page**: https://anyrouter.dev/model/openai/gpt-4o-mini

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

**Tokenizer**: GPT

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

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| openai-byok | $0.15/M (list) | $0.60/M (list) |
| openrouter-byok | $0.15/M (list) | $0.60/M (list) |
| cline-byok | $0.15/M (list) | $0.60/M (list) |
| router-byok | $0.15/M (list) | $0.60/M (list) |
| vercel-byok | $0.15/M (list) | $0.60/M (list) |
| nousresearch-byok | $0.15/M (list) | $0.60/M (list) |
| computrix-byok | $0.15/M (list) | $0.60/M (list) |
| inference-net-byok | $0.15/M (list) | $0.60/M (list) |
| infron-byok | $0.15/M (list) | $0.60/M (list) |
| llmgateway-byok | $0.15/M (list) | $0.60/M (list) |
| phala-byok | $0.15/M (list) | $0.60/M (list) |
| aimlapi-byok | $0.15/M (list) | $0.60/M (list) |
| zenmux-byok | $0.15/M (list) | $0.60/M (list) |
| orcarouter-byok | $0.15/M (list) | $0.60/M (list) |
| aihubmix-byok | $0.15/M (list) | $0.60/M (list) |
| requesty-byok | $0.15/M (list) | $0.60/M (list) |
| opengateway-byok | $0.15/M (list) | $0.60/M (list) |
| nano-gpt-byok | $0.15/M (list) | $0.60/M (list) |
| edenai-byok | $0.15/M (list) | $0.60/M (list) |
| abacus-byok | $0.15/M (list) | $0.60/M (list) |
| fluence-byok | $0.11/M (list) | $0.43/M (list) |
| cortecs-byok | $0.15/M (list) | $0.60/M (list) |
| helicone-byok | $0.15/M (list) | $0.60/M (list) |
| poe-byok | $0.15/M (list) | $0.60/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
- **SciCode**: 0.2

## Source

- Upstream docs: https://developers.openai.com/api/docs/models/gpt-4o-mini
