XiaoZhan AIhubXiaoZhan AIhub
HomeAI ChatAgentsCreateCreative AgentModel catalogueTopicsPriceDocs
XiaoZhan AIhubXiaoZhan AIhub
HomeAI ChatAgentsCreateCreative AgentModel catalogueTopicsPriceDocs
XiaoZhan AIhubXiaoZhan AIhub
HomeAI ChatAgentsCreateCreative AgentModel catalogueTopicsPriceDocs
Model catalogueClaude Opus 4.8

Claude Opus 4.8

NEW

Model ID

Put this value in the request body's `model` field — not the display name above.

Text generationReasoningImage understandingToolsJSON1MClosed source

by Anthropic · Anthropic Opus 4.8, 1M context. The strongest Opus yet — all-round reasoning, coding and multimodal for the hardest tasks. Supports all three protocols.

Try it now

Quick start

EndpointPOST /v1/chat/completions
AuthenticationAuthorization: Bearer sk-gpushare-…Get API key
Call styleSynchronous: one request returns the result
Base URLhttps://usapi.dflop.top/v1
cURL
curl https://usapi.dflop.top/v1/chat/completions \
  -H "Authorization: Bearer sk-gpushare-xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-4-8",
    "messages": [
      {"role": "user", "content": "你可以帮我做什么"}
    ]
  }'

Pricing

Billed per token: input and output are priced separately and settled on the upstream's reported usage.

Rates
Input 1.6176Credits/K·Output 8.088Credits/K
  • Input tokens that hit the prompt cache are billed at 161.76 Credits / 1M — cheaper than full-price input.
  • Tokens written into the prompt cache for the first time are billed at 2,022 Credits / 1M — above full-price input. The cache lives about 5 minutes, so it only pays off if you call again within that window.
  • Failed requests (upstream 4xx / 5xx) are not billed.
  • All your API keys share one balance; when it runs out the API returns HTTP 402 `quota_exceeded`.

Sign in and any personal discount on your account will show up here. Sign in

Capabilities & specs

Category
Text generation
Context window
1M tokens
Default max output
128k tokens
Endpoint family
Chat Completions
Protocols
OpenAI Chat · Anthropic Messages · OpenAI Responses
License
Closed source

Try it

Pick a key under "API access" and fire one real request to see the response — the estimated cost is shown before you send.

Try it in chat

Common errors

404 model_not_found

You passed the display name instead of the model ID.✗ Claude Opus 4.8→✓ claude-opus-4-8

→ Copy the Model ID at the top of this page

402 quota_exceeded

Insufficient account balance. All your API keys share one balance.

→ Add funds in your account

401 / 403

The API key is invalid, or it has a model allowlist that doesn't include this ID.

→ Check the key's status and allowed models

400 invalid_request

A request body field is invalid, or this model doesn't support the protocol endpoint you called.

→ Check your request body against the sample code above

More models from this vendor

Claude Fable 5claude-fable-5Claude Fable 5.1claude-fable-5-1Claude Haiku 4.5claude-haiku-4-5-20251001Claude Opus 4.5claude-opus-4-5-20251101Claude Opus 4.6claude-opus-4-6Claude Opus 4.7claude-opus-4-7
Try it

关于 Claude Opus 4.8 的常见问题

怎么调用 Claude Opus 4.8?
请求体的 model 字段填 claude-opus-4-8,打到 https://usapi.dflop.top/v1/chat/completions,把 sk-gpushare- 开头的密钥放进 Authorization: Bearer 请求头。OpenAI、Anthropic、Google Gemini 三套官方 SDK 都能直接调用,只需把 base_url 指向本网关。
Claude Opus 4.8 的 API 价格是多少?
  • ·输入:每 100 万 token 1,618 积分(≈ ¥26.96 / ≈ $4)
  • ·输出:每 100 万 token 8,088 积分(≈ ¥134.8 / ≈ $20)
  • ·缓存命中的输入:每 100 万 token 161.76 积分(≈ ¥2.7 / ≈ $0.4)
  • ·缓存写入:每 100 万 token 2,022 积分(≈ ¥33.7 / ≈ $5)
  • ·平台以积分计价,60 积分 = ¥1;每次调用先按上限预扣,返回后按实际用量结算,差额自动退回。
Claude Opus 4.8 的上下文窗口有多大?
1,000,000 token,单次请求默认输出上限 128,000 token。
Claude Opus 4.8 支持哪些能力?
图片输入、工具调用、思考模式、联网搜索、JSON 模式。兼容协议:OpenAI Chat Completions、Anthropic Messages、OpenAI Responses。

输入价格约合每 100 万 token $4。本页的 Markdown 版本:/models/claude-opus-4-8.md