Anthropic
Claude Sonnet 5
model
claude-sonnet-5MidStabilVisionStreamingVisionToolsBatchLong contextUnited States
Konteks
1.0M
Input / 1M token
$2.00
Output / 1M token
$10.00
Tentang model ini
Claude Sonnet 5
Claude Sonnet 5 is a mid-tier model available through the Anoman gateway. Detailed performance benchmarks and use-case guidance for this model are coming soon. In the meantime, see the code example below to integrate it into your workflow, and the tier + region information in the hero for pricing and residency.
Contoh kode
Chat completion dengan Claude Sonnet 5
from openai import OpenAI
client = OpenAI(
base_url="https://api.anoman.io/v1",
api_key="anm-sk-..."
)
response = client.chat.completions.create(
model="claude-sonnet-5",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)