# GPT-5.1

> GPT-5.1 is OpenAI's flagship model for coding and agentic tasks, with configurable reasoning effort from none to high. It allows 128,000 output tokens and takes text and image input. It supports streaming, function calling and structured outputs.

**ID**: `openai/gpt-5.1`  
**Creator**: OpenAI  
**Category**: multimodal  
**Context**: 400K tokens  
**Pricing**: $1.25 / $10.00 per 1M · billed by your provider (BYOK)  
**Released**: 2025-11-13  
**Web page**: https://anyrouter.dev/model/openai/gpt-5.1

**Input modalities**: text, image, file  
**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.1",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| openai-byok | $1.25/M (list) | $10.00/M (list) |
| openrouter-byok | $1.25/M (list) | $10.00/M (list) |
| opencode-zen-byok | $1.25/M (list) | $10.00/M (list) |
| cline-byok | $1.25/M (list) | $10.00/M (list) |
| router-byok | $1.25/M (list) | $10.00/M (list) |
| nousresearch-byok | $1.25/M (list) | $10.00/M (list) |
| infron-byok | $1.00/M (list) | $8.00/M (list) |
| llmgateway-byok | $1.25/M (list) | $10.00/M (list) |
| requesty-byok | $1.25/M (list) | $10.00/M (list) |
| phala-byok | $1.25/M (list) | $10.00/M (list) |
| zenmux-byok | $1.25/M (list) | $10.00/M (list) |
| aihubmix-byok | $1.25/M (list) | $10.00/M (list) |
| orcarouter-byok | $1.25/M (list) | $10.00/M (list) |
| opengateway-byok | $1.25/M (list) | $10.00/M (list) |
| aimlapi-byok | $1.25/M (list) | $10.00/M (list) |
| nano-gpt-byok | $1.25/M (list) | $10.00/M (list) |
| edenai-byok | $1.25/M (list) | $10.00/M (list) |
| ofox-byok | $1.25/M (list) | $10.00/M (list) |
| abacus-byok | $1.25/M (list) | $10.00/M (list) |
| fluence-byok | $1.39/M (list) | $11.11/M (list) |
| cortecs-byok | $1.25/M (list) | $10.00/M (list) |
| helicone-byok | $1.25/M (list) | $10.00/M (list) |
| poe-byok | $1.25/M (list) | $10.00/M (list) |
| jiekou-byok | $1.25/M (list) | $10.00/M (list) |
| nearai-byok | $1.25/M (list) | $10.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.9
- **HLE**: 0.3
- **τ²-Bench Telecom**: 0.8
- **SciCode**: 0.4

## Source

- Upstream docs: https://developers.openai.com/api/docs/models/gpt-5.1
