ClaudeSpecial Offer7折haiku

claude-haiku-5-5

Model ID:claude-haiku-5-5
最新ReasoningStreaming
Context window1m
Input (CNY / Million Tokens)¥0.5
Output (CNY / million tokens)¥2.5
Cache read (CNY / million tokens)¥0
Cache write (1h, yuan / million tokens)¥1

Prices by channel

ChannelInputOutputRead CacheCache hitCache Write (1h)Cache write (5m)Multiplier
聚合/反代节点1¥0.5¥2.5¥0¥0.05¥1¥0.51.00x

Call example

This model belongs to theClaudegroup, calling protocol:Anthropic Messages native protocolEnter your API Key to use; groups determine the entry point and cannot be mixed (e.g., models in the Gemini group cannot use /v1/messages).

Request examplecurl
curl https://www.relay-api.com/v1/messages \
  -H "x-api-key: sk-你的Key" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "claude-haiku-5-5",
    "max_tokens": 1024,
    "messages": [
      { "role": "user", "content": "你好,请简单介绍一下自己" }
    ]
  }'
Back to examplesJSON
{
  "id": "msg_01abcDEF...",
  "type": "message",
  "role": "assistant",
  "model": "claude-haiku-5-5",
  "content": [
    { "type": "text", "text": "你好!我是 claude-haiku-5-5,很高兴为你服务。\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.