anthropic/claude-opus-4.6
The Opus generation before 4.7, still fully supported by Anthropic. Strong reasoning, coding, and agentic tool use with a 1M-token context window and native prompt caching. Pick it when a workflow was tuned against Opus 4.6 behavior or its pre-4.7 tokenizer.
åºå ž: official_x0.3 · ç¢ºèªæ¥ 2026-07-19
ãã£ãã·ã¥èªã¿åã $0.15/M · ãã£ãã·ã¥æžã蟌㿠$1.875/M
ã©ã¡ãã® ID ã䜿ã£ãŠã API ã§ãã®ã¢ãã«ãåŒã³åºããŸãã
anthropic/claude-opus-4.6claude-opus-4-6ONEHOP_KEY ãã¬ãŒã¹ãã«ããŒããèªèº«ã® API Key ã«çœ®ãæããŠãã ããã äœæãã â
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.6",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)éå» 30 æ¥éã§ 39,724 ä»¶ã®ãªã¯ãšã¹ã