Claude Opus 4.7 pricing

RouterHub token prices · USD per million tokens
Model / exact API IDVariantInputCached inputOutputContextAvailability
Claude Opus 4.7
claude-opus-4-7
standard$0.896861$0.0896861$4.484305Not publishedpreview

Cache-write rate: $1.12107625 per million tokens.

Prices are USD per million tokens. Cached input uses the cache-read rate when a cache hit is reported.

Compare variants

RouterHub token prices · USD per million tokens
Model / exact API IDVariantInputCached inputOutputContextAvailability
Claude Opus 4.7
claude-opus-4-7
standard$0.896861$0.0896861$4.484305Not publishedpreview

API compatibility and context

Exact model ID
claude-opus-4-7
Variant
standard
Supported API
Anthropic-compatible Messages
Availability
preview
Context window
Not published
Maximum input
Not published
Maximum output
Not published

Use Claude Opus 4.7 through the API

Create a RouterHub account, add prepaid credits and create an API key. Set ROUTERHUB_API_KEY locally, then send a first request with the exact model ID below.

cURL

curl --connect-timeout 30 --max-time 600 https://routerhub.si/v1/messages \
  -H "x-api-key: $ROUTERHUB_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-opus-4-7","messages":[{"role":"user","content":"Write a short noir scene set in a lighthouse."}],"max_tokens":256}'

Python

Install anthropic with pip. The examples request 256 output tokens and disable automatic retries. Check Usage after completion or a timeout before resending a paid request.

import os
from anthropic import Anthropic

client = Anthropic(
    api_key=os.environ["ROUTERHUB_API_KEY"],
    base_url="https://routerhub.si",
    timeout=600.0,
    max_retries=0,
)
response = client.messages.create(
    model="claude-opus-4-7",
    max_tokens=256,
    messages=[{"role": "user", "content": "Write a short noir scene set in a lighthouse."}],
)
print(response.content)

Claude Opus 4.7 FAQ

What is Claude Opus 4.7?

Claude Opus 4.7 is a Anthropic language model served through RouterHub using the Anthropic-compatible Messages API.

How much does Claude Opus 4.7 cost?

RouterHub charges $0.896861 input / $0.0896861 cached / $4.484305 output per million tokens. Usage is billed against your prepaid balance.

What is the Claude Opus 4.7 context window?

Context window: Not published. Maximum input: Not published. Maximum output: Not published.

Which API does Claude Opus 4.7 support?

Use Anthropic-compatible Messages with the exact model ID claude-opus-4-7 and your RouterHub API key.

Which variants can I compare with Claude Opus 4.7?

Compare Claude Opus 4.7 with the models in the RouterHub directory using token prices, API support and context window.

Explore models and setup