claude-haiku-5-5

by AnthropicAnthropicclaude-haiku-5-5通用对话Chat 分档计价Tiered pricing

概述Overview

价格Pricing

档位Tier输入Input输出Output缓存读取Cache read缓存写入(短时 / 通用)Cache write缓存写入(1 小时)Cache write (1h)缓存写入(12 小时)Cache write (12h)
0_100k · USD / 百万 Token$0.10$0.50$0.01$0.125$0.20$0.25
100k_plus · USD / 百万 Token$0.50$2.50$0.05$0.625$1.00$1.25

目录版本 a572617239af · Catalog version a572617239af · 美元(USD)基础报价,Token 单价按每百万计。实际计费取决于所选分组和请求条件,请在控制台核对。Base rates in USD. Token rates are per million. Check your group and request terms in the console.

0_100k:满足 完整输入上下文 Token ≤ 100000

100k_plus:不满足 完整输入上下文 Token ≤ 100000

基础报价,分组倍率及列出的请求条件另行适用;以消费记录中的实际扣费为准。

缓存/图片/音频价格仅在上游报告相应用量时适用,不代表该模型保证支持对应能力。未独立定价的缓存按后端继承规则展示。

完整计费表达式
len <= 100000 ? tier("0_100k", p * 0.1 + cr * 0.01 + cc * 0.125 + cc1h * 0.2 + c * 0.5) : tier("100k_plus", p * 0.5 + cr * 0.05 + cc * 0.625 + cc1h * 1 + c * 2.5)

调用示例Quick start

接口与 OpenAI 兼容:把 base_url 指向 TokenFlow,model 填本页的模型 ID,现有 SDK 与客户端可以直接复用。The API is OpenAI-compatible: point base_url at TokenFlow and set model to the ID on this page. Your existing SDKs and clients keep working.

curl https://api.tokenflow365.com/v1/chat/completions \
  -H "Authorization: Bearer $TOKENFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-haiku-5-5",
  "messages": [
    {
      "role": "user",
      "content": "你好"
    }
  ]
}'
curl https://api.tokenflow365.com/v1/chat/completions \
  -H "Authorization: Bearer $TOKENFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-haiku-5-5",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'

常用参数、流式输出与响应结构见Parameters, streaming and response format: 文本与对话Chat completions

开始使用Get started

让第一个请求
流动起来
Get your first
request flowing

几分钟内完成接入。按量付费,无需订阅。Integrate in minutes. Pay as you go, no subscription.