anthropic/claude-sonnet-5-5-kiro
전용 Kiro 경로로 Claude Sonnet 5.5를 제공합니다. 스트리밍과 자동 도구 호출 왕복을 지원합니다. 토큰 사전 계산(count_tokens)과 강제 도구 선택은 현재 지원하지 않습니다. 도구 호출은 auto를 사용하세요. 일반 Sonnet 5.5와 요금이 별도입니다.
캐시 읽기 $0.015/M · 캐시 쓰기 $0.375/M
API 호출 시 어떤 ID든 사용할 수 있습니다.
anthropic/claude-sonnet-5-5-kiroYou can use these names directly in the request model field.
ONEHOP_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-sonnet-5-5-kiro",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)