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

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

gpt-5.4-mini on Vivgrid: a fast, low-cost GPT-5.4 model with a 400K context window, PDF and image input, and three-region acceleration.

`gpt-5.4-mini` is the cost-efficient sibling of `gpt-5.4`, tuned for high-throughput workloads where speed and price matter more than maximum reasoning depth. It still offers a generous **400K-token context window** plus image and PDF input.

On Vivgrid it is geo-distributed across **AMER, EMEA, and APAC**, making it a strong default for latency-sensitive, high-volume agent traffic worldwide.

## Specifications

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

## Pricing

Pricing in USD per 1M tokens.

| Input | Cached input | Output |
| --- | --- | --- |
| $0.75 | $0.08 | $4.50 |

### 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.0240 |
| Warm prompt, 90% of the input served from cache | $0.0119 |


## API surfaces

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


## Ideal use cases

- High-volume agents and chat backends with tight cost budgets
- Document understanding over PDFs and images
- Classification, extraction, and routing tasks
- Real-time experiences where latency is critical

## Related models

- [gpt-6-astra](/docs/models/gpt-6-astra) — the gpt-6 generation flagship
- [gpt-5.6-luna](/docs/models/gpt-5.6-luna) — the smallest, cheapest current tier
- [gemini-3.1-flash-lite-preview](/docs/models/gemini-3.1-flash-lite-preview) — ultra-low-cost cross-provider option
