# gpt-5.4 — API, Pricing & Context Window

Use OpenAI's gpt-5.4 on Vivgrid: a 1.05M-token coding model with broad three-region acceleration (AMER, EMEA, APAC) and a unified, OpenAI-compatible API.

`gpt-5.4` is a high-capability OpenAI coding model that balances frontier-level quality with a more accessible price than `gpt-5.5`. Its **1.05M-token context window** comfortably holds large codebases, design docs, and long agent histories.

On Vivgrid it has the **widest acceleration footprint** of the GPT-5 family — geo-distributed across **AMER, EMEA, and APAC** — making it a strong default for globally distributed teams and agents.

## Specifications

|     |     |
| --- | --- |
| **Provider** | OpenAI |
| **Model ID** | `gpt-5.4` |
| **Best for** | Coding |
| **Context window** | 1,050,000 tokens |
| **Max output** | 128,000 tokens |
| **Modalities** | Text, Image |
| **Tool / function calling** | Yes |
| **Knowledge cutoff** | 2025-08 |
| **Acceleration** | ⚡ Geo-Distributed — AMER, EMEA, APAC |

## Pricing

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

| Input | Cached input | Output |
| --- | --- | --- |
| $2.50 | $0.25 | $15.00 |

## Quick start

Call `gpt-5.4` 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.4",
    "messages": [\
      { "role": "user", "content": "Say hello in English, Chinese and Spanish." }\
    ],
    "stream": true
  }'
```

## Ideal use cases

- Production coding agents that need frontier quality at moderate cost
- Teams with users across the Americas, Europe, and Asia-Pacific
- Long-context analysis and refactoring of large repositories
- Tool-calling agents requiring reliable, structured outputs
