anthropic/claude-opus-4.7
Anthropic flagship for complex coding (Claude Code), long-form analysis, and multi-step agent workflows. Native prompt caching cuts cost on repeated context. Pick it when output quality is the only thing that matters.
Source : official_x0.3 · Vérifié le 2026-06-01
Lecture cache $0.15/M · Écriture cache $1.875/M
Utilisez l'un ou l'autre des IDs pour appeler ce modèle via l'API.
anthropic/claude-opus-4.7claude-opus-4-7You can use these names directly in the request model field.
Remplacez le placeholder ONEHOP_KEY par votre API key. Créer →
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.onehop.ai/anthropic",
api_key="<ONEHOP_KEY>",
)
message = client.messages.create(
model="anthropic/claude-opus-4.7",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)Anthropic's current Opus — built for long-running agentic coding, at a lower price than Opus 5.
$1.2/M↓ · $6/M↑
Anthropic's current flagship Opus — a step change on agentic coding and long-horizon work.
$1.5/M↓ · $7.5/M↑
Anthropic Claude Opus 4.8 — current flagship, top reasoning & coding.
$1.5/M↓ · $7.5/M↑
Anthropic Claude Opus 4.6 — previous-gen Opus, same price as 4.7/4.8.
$1.5/M↓ · $7.5/M↑
20 requêtes · 30 derniers jours