Claude
Claude 文本
Model ID: thanhnhan9023/claude-opus-4-8
模型系列
Claude
上下文
尚未更新
输入 / 100万tokens
0.421 ¥
缓存命中率
58.7%
调用次数
939
成功
93.6%
Tokens
67.15M
在线率 100.00%
24小时前现在
7天前现在
Observed token response speed
Up to 500 recent requests with a measured response time
500 recent requests
Observed output speed53.4 tok/s
Response time P504,704 ms
Response time P9554,054 ms
Samples63
Observed output speed: 76.1 tok/s · Output: 261 token · Response time: 3.4 s · 2 requests
Up to 500 recent requests with a measured response time04/11/2026 - 06:14:52
Response similarity to the reference model
The percentage reflects similarity between tested responses and reference data; it does not determine whether a model is genuine or fake.
No reference data yetNot enough data
Direct comparisonsNo direct comparisons yet
Check with my API key

价格表

输入 / 100万tokens
0.421 ¥
输出 / 100万tokens
0.491 ¥
单次请求最低收费
0.00702 ¥
Prompt缓存 58.7%
Cache读取 / 100万tokens
0.263 ¥
Cache写入 / 100万tokens
0.351 ¥

重复的prompt会被缓存 — 通过API调用时自动生效,重新读取比输入便宜很多。

价格变更历史

曾经适用的价格级别。标记为当前的价格为现在生效的价格。

以前 自 18/10/2026 - 02:16:18
输入 / 100万tokens0.421 ¥ 输出 / 100万tokens0.491 ¥ 每次请求0.00702 ¥ 单次请求最低收费0.00702 ¥ Cache读取 / 100万tokens0.316 ¥ Cache写入 / 100万tokens0.421 ¥
当前 自 04/11/2026 - 06:14:57
输入 / 100万tokens0.421 ¥ 输出 / 100万tokens0.491 ¥ 每次请求0.00702 ¥ 单次请求最低收费0.00702 ¥ Cache读取 / 100万tokens0.263 ¥ Cache写入 / 100万tokens0.351 ¥
成本估算
预估总计 0 ¥
平均 / 每次请求 0 ¥

按公布价格估算。有缓存时通常更便宜。

支持的Endpoint
https://api.xah.io/v1/chat/completions
https://api.xah.io/v1/completions
https://api.xah.io/v1/messages
https://api.xah.io/v1/responses
https://api.xah.io/v1beta/models/thanhnhan9023/claude-opus-4-8:generateContent
https://api.xah.io/api/chat
https://api.xah.io/api/generate
方法 POST · application/json
身份验证 Bearer token(API key)
API类型 文本

分享

curl 'https://api.xah.io/v1/chat/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "thanhnhan9023/claude-opus-4-8",
    "messages": [
        {
            "role": "user",
            "content": "你好,你是谁?"
        }
    ]
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/chat/completions', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "thanhnhan9023/claude-opus-4-8",
    "messages": [
        {
            "role": "user",
            "content": "你好,你是谁?"
        }
    ]
})
});
const data = await res.json();
console.log(data);
import json, requests

url = 'https://api.xah.io/v1/chat/completions'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = json.loads("{\n    \"model\": \"thanhnhan9023/claude-opus-4-8\",\n    \"messages\": [\n        {\n            \"role\": \"user\",\n            \"content\": \"你好,你是谁?\"\n        }\n    ]\n}")

res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
    "model": "thanhnhan9023/claude-opus-4-8",
    "messages": [
        {
            "role": "user",
            "content": "你好,你是谁?"
        }
    ]
}

快速试用

使用您的API key发送prompt — 消耗真实credit,结果实时流式返回。

评价与评论
★ 0.0 / 0 条评价
正在加载评价...
联系支持
我们随时为您提供帮助