# gpt-5 — API, Pricing & Context Window | Vivgrid

> Source: https://vivgrid.com/docs/models/gpt-5

gpt-5 on Vivgrid: OpenAI's GPT-5 model with a 272K context window, function calling, and three-region geo-distributed acceleration.

`gpt-5` is OpenAI's foundational GPT-5 model, a reliable all-rounder for reasoning, coding assistance, and agent workloads. Its **272K-token context window** covers most long-context needs, and it supports robust function calling.

On Vivgrid, `gpt-5` enjoys one of the widest acceleration footprints — geo-distributed across **AMER, EMEA, and APAC** — for consistently low latency worldwide.

## Specifications

| Field | Value |
| --- | --- |
| Provider | OpenAI |
| Model ID | `gpt-5` |
| Best for | General-purpose |
| Available on | Chat Completions |
| Context window | 272,000 tokens |
| Max output | 128,000 tokens |
| Modalities | Text, Image |
| Tool / function calling | Yes |
| Knowledge cutoff | 2024-09 |
| Acceleration | Geo-distributed — AMER, EMEA, APAC |

## Pricing

Pricing in USD per 1M tokens.

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

### What one request costs

The rates above applied to a 20K-token prompt with a 2K-token reply — a typical single agent turn, small enough that every request is billed at the base rate.

| Request | Cost |
| --- | --- |
| Cold prompt, nothing cached | $0.0450 |
| Warm prompt, 90% of the input served from cache | $0.0248 |


## API surfaces

The Vivgrid Console catalogs `gpt-5` on one surface, all behind the same API key. The endpoint shown is the one the Console previews for that surface.

| Surface | Primary endpoint | Use it for |
| --- | --- | --- |
| Chat Completions | `/chat/completions` | Agent projects, where Vivgrid injects the model, system prompt and tools server-side, and Model API calls that name the model per request. |

## Quick start

Get an API key from the Vivgrid Console (https://console.vivgrid.com), then call `gpt-5` directly.

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


## Ideal use cases

- General-purpose agents and chat assistants
- Tool-calling workflows that need dependable structured output
- Globally distributed deployments
- A stable baseline before adopting newer 5.x models

## Related models

- [gpt-6-astra](/docs/models/gpt-6-astra) — the gpt-6 generation flagship
- [gpt-6.1-sol](/docs/models/gpt-6.1-sol) — the current balanced model with more capability
- [gpt-5.6-luna](/docs/models/gpt-5.6-luna) — smaller, cheaper sibling
