返回模型列表购买套餐
Anthropic
Claude Opus 4.8
Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token context window. Built for complex reasoning, long-horizon agentic coding, and high-autonomy professional work.
快速参数
上下文
1000K
最大输出
128K
出品方
Anthropic
规格数
1
模态
输入 text输入 image输入 file输出 text
规格与刊例价(每百万 tokens)
高质量
输入 $5输出 $25缓存读取 $0.5缓存写入 $6.25
推荐套餐
Claude Opus 4.8 体验套餐
充值即用,按量计费;新用户享 $1 体验额度。
API 接入
Model ID
anthropic/claude-opus-4.8cURL
curl https://intertoken.ai/v1/chat/completions \
-H "Authorization: Bearer $TOKENPORTAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-opus-4.8",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python
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.8",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)