# claude-opus-4-7 — API, Pricing & Context Window | Vivgrid

> Source: https://vivgrid.com/docs/models/claude-opus-4-7

Run Anthropic's claude-opus-4-7 on Vivgrid: a frontier coding model with a 1M-token context window, the Messages API, and global acceleration.

`claude-opus-4-7` is a frontier-class Opus model and one of the strongest available choices for agentic coding and complex reasoning. It combines a **1M-token context window** with a recent knowledge cutoff, served on the **Messages API** (`/messages`).

On Vivgrid, `claude-opus-4-7` is geo-distributed across **AMER, EMEA, and APAC**, giving Claude Code-style agents low-latency access through a single unified API key.

## Specifications

| Field | Value |
| --- | --- |
| Provider | Anthropic |
| Model ID | `claude-opus-4-7` |
| Best for | Coding |
| Available on | Vibe coding |
| Context window | 1,000,000 tokens |
| Max output | 128,000 tokens |
| Modalities | Text, Image |
| Tool / function calling | Yes |
| Knowledge cutoff | 2026-01 |
| Acceleration | Geo-distributed — AMER, EMEA, APAC |

## Pricing

Pricing in USD per 1M tokens.

| Input | Cached input | Output |
| --- | --- | --- |
| $5.00 | $0.50 | $25.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.1500 |
| Warm prompt, 90% of the input served from cache | $0.0690 |


## API surfaces

The Vivgrid Console catalogs `claude-opus-4-7` 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 |
| --- | --- | --- |
| Vibe coding | `/messages` | Coding CLIs and IDE agents that drive the model themselves — point the tool at Vivgrid and keep your own loop. |

## Quick start

Get an API key from the Vivgrid Console (https://console.vivgrid.com), then call `claude-opus-4-7` directly.

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


## Ideal use cases

- Frontier coding agents and large-scale refactoring
- Complex, multi-step reasoning and planning
- Long-context document and codebase analysis (up to 1M tokens)
- Tool-using agents that demand high reliability

## Related models

- [gpt-6-astra](/docs/models/gpt-6-astra) — OpenAI's frontier gpt-6 coding model
- [claude-opus-5-5](/docs/models/claude-opus-5-5) — the latest Opus release
- [claude-sonnet-5-5](/docs/models/claude-sonnet-5-5) — faster, lower-cost Claude
