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
يمكنك استخدام أي من المعرّفَين لاستدعاء هذا النموذج.
anthropic/claude-opus-4.7claude-opus-4-7You can use these names directly in the request model field.
استبدل placeholder الـ ONEHOP_KEY بمفتاح API الخاص بك. إنشاء مفتاح →
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)4,732 طلب · آخر 30 يوماً