Anthropic
Claude Opus 4-1
Anthropic's most powerful model, achieving top-tier performance in complex reasoning, creative writing, and deep analysis tasks
Context Length200K tokens
Model TypeLarge Language Model (LLM)
MultimodalSupports text, image, and PDF input
ๅฎไปทไธ่งๆ ผ
๐ฐ ๅฎไปท
่พๅ
ฅ$15 / M tokens
่พๅบ$75 / M tokens
โ๏ธ ่งๆ ผ
Context Length200K tokens
Model TypeLarge Language Model (LLM)
MultimodalSupports text, image, and PDF input
Training Cutoff DateMay 2025
API ่ฐ็จ็คบไพ
Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.xairouter.com/v1",
api_key="your-api-key"
)
response = client.chat.completions.create(
model="claude-opus-4-1-20250805",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)cURL
curl https://api.xairouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "claude-opus-4-1-20250805",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'