返回模型列表购买套餐
Anthropic
Claude Opus 4.1
Claude Opus 4.1 is an updated version of Anthropic's flagship model, offering improved performance in coding, reasoning, and agentic tasks.
快速参数
上下文
200K
最大输出
32K
出品方
Anthropic
规格数
2
模态
输入 image输入 text输入 file输出 text
规格与刊例价(每百万 tokens)
高质量
输入 $15输出 $75缓存读取 $1.5缓存写入 $18.75
高性价比
输入 $7.5输出 $37.5缓存读取 $0.75缓存写入 $9.375
推荐套餐
Claude Opus 4.1 体验套餐
充值即用,按量计费;新用户享 $1 体验额度。
API 接入
Model ID
anthropic/claude-opus-4.1cURL
curl https://intertoken.ai/v1/chat/completions \
-H "Authorization: Bearer $TOKENPORTAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-opus-4.1",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python (openai SDK)
from openai import OpenAI
client = OpenAI(
base_url="https://intertoken.ai/v1",
api_key="$TOKENPORTAL_API_KEY",
)
resp = client.chat.completions.create(
model="anthropic/claude-opus-4.1",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)