ClaudeSpecial OfferLimited-time

Claude Opus 4.8

Model ID:claude-opus-4-8

claude-opus-4-8

FlagshipStreamingFull Version
Context window1 m
Input (CNY / Million Tokens)¥14
Output (CNY / million tokens)¥65
Cache read (CNY / million tokens)¥0
Cache write (1h, yuan / million tokens)¥20

Prices by channel

ChannelInputOutputRead CacheCache hitCache Write (1h)Cache write (5m)Multiplier
claude.Kiro¥14¥65¥0¥1.2¥20¥121.00x
AWS 接入¥35¥130¥0¥2.5¥50¥351.00x
default-1¥15¥80¥0¥1.6¥20¥121.00x

Call example

Compatible with the Anthropic Messages native protocol; just fill in your API Key to get started.

Request examplecurl
curl https://<你的中转接口域名>/v1/messages \
  -H "x-api-key: sk-你的Key" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "claude-opus-4-8",
    "max_tokens": 1024,
    "messages": [
      { "role": "user", "content": "你好,请简单介绍一下自己" }
    ]
  }'
Back to examplesJSON
{
  "id": "msg_01abcDEF...",
  "type": "message",
  "role": "assistant",
  "model": "claude-opus-4-8",
  "content": [
    { "type": "text", "text": "你好!我是 Claude Opus 4.8,很高兴为你服务。\n\n有什么可以帮你?" }
  ],
  "stop_reason": "end_turn",
  "usage": {
    "input_tokens": 303,
    "output_tokens": 73
  }
}

Tool Integration Tutorial

Use this model with your usual AI coding tool, billed per token.