# gpt-5.1 — API, Pricing & Context Window

gpt-5.1 on Vivgrid: a general-purpose GPT-5 model with a 272K context window, text, image and audio input, and regional acceleration.

`gpt-5.1` is a versatile GPT-5 generation model with a **272K-token context window** and support for text, image, and audio inputs. It's a balanced option for agents and assistants that need solid reasoning without flagship pricing.

Vivgrid accelerates `gpt-5.1` across **AMER and EMEA** and exposes it through the same OpenAI-compatible endpoint used by every model in the catalog.

## Specifications

|     |     |
| --- | --- |
| **Provider** | OpenAI |
| **Model ID** | `gpt-5.1` |
| **Best for** | General-purpose |
| **Context window** | 272,000 tokens |
| **Max output** | 128,000 tokens |
| **Modalities** | Text, Image, Audio |
| **Tool / function calling** | Yes |
| **Knowledge cutoff** | 2024-09 |
| **Acceleration** | ⚡ Geo-Distributed — AMER, EMEA |

## Pricing

Pricing in USD per 1M tokens, matching the provider's rates.

| Input | Cached input | Output |
| --- | --- | --- |
| $1.25 | $0.125 | $10.00 |

## Quick start

Call `gpt-5.1` through Vivgrid's unified, OpenAI-compatible endpoint. Get an API key from the [Vivgrid Console](https://console.vivgrid.com/).

```
curl https://api.vivgrid.com/v1/chat/completions \
  -H "Authorization: Bearer $VIVGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.1",
    "messages": [\
      { "role": "user", "content": "Say hello in English, Chinese and Spanish." }\
    ],
    "stream": true
  }'
```

## Ideal use cases

- Multimodal assistants handling text, image, and audio
- General reasoning and conversation
- Function-calling agents at moderate cost
- Workloads upgrading from `gpt-5`

## Related models

- [gpt-5.2](/content/docs/models/gpt-5.2) — the next general-purpose release
- [gpt-5](/content/docs/models/gpt-5/index.html) — the original GPT-5 model
- [gpt-5.1-codex](/content/docs/models/gpt-5.1-codex/index.html) — Codex-tuned 5.1 for coding

[gpt-5.2

gpt-5.2 on Vivgrid: a capable general-purpose GPT-5 model with a 400K context window, function calling, and geo-distributed acceleration.](/content/docs/models/gpt-5.2) [gpt-5

gpt-5 on Vivgrid: OpenAI's GPT-5 model with a 272K context window, function calling, and three-region geo-distributed acceleration.](/content/docs/models/gpt-5/index.html)
