anthropic/claude-sonnet-4.6
The balanced default of the Claude lineup. Strong reasoning, coding, and tool use at a fraction of Opus cost, with a 1M-token context window at standard pricing. The go-to for most production workloads.
Source: launch_0023 · Verified 2026-06-01
Cache read $0.150/M · Cache write $1.88/M
Replace the ONEHOP_KEY placeholder with your API key. Create one →
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.onehop.ai/anthropic",
api_key="<ONEHOP_KEY>",
)
message = client.messages.create(
model="anthropic/claude-sonnet-4.6",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)