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.
์ถ์ฒ: official_x0.3 ยท 2026-06-01 ํ์ธ
์บ์ ์ฝ๊ธฐ $0.15/M ยท ์บ์ ์ฐ๊ธฐ $1.875/M
API ํธ์ถ ์ ์ด๋ค ID๋ ์ฌ์ฉํ ์ ์์ต๋๋ค.
anthropic/claude-opus-4.7claude-opus-4-7You 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-opus-4.7",
max_tokens=1024,
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(message.content[0].text)์ต๊ทผ 30์ผ๊ฐ ์์ฒญ 4,640๊ฑด