Claude
Claude ข้อความ

sypham98/claude-sonnet-5

Model ID: sypham98/claude-sonnet-5
ตระกูล
Claude
บริบท
1,000,000
ค่าใช้จ่ายขั้นต่ำ / คำขอ
0.0293 ฿
อัตรา Cache hit
61%
คำขอ
61.3K
สำเร็จ
94.5%
โทเค็น
1.78B
เวลาใช้งาน 91.67%
24 ชม. ที่แล้วตอนนี้
7 วันที่แล้วตอนนี้

ราคา

Input / 1M token
1.632 ฿
Output / 1M token
4.571 ฿
ค่าใช้จ่ายขั้นต่ำ / คำขอ
0.0293 ฿
Prompt Cache 61%
Cache read / 1M token
0.326 ฿
Cache write / 1M token
1.632 ฿

Prompt ที่ซ้ำกันถูกแคชไว้ — การอ่านราคาถูกกว่า input มาก ใช้โดยอัตโนมัติผ่าน API

ประวัติราคา

ระดับราคาที่เคยใช้ แถวที่ระบุ "ปัจจุบัน" คือราคาจริง

อดีต ตั้งแต่ 17/08/2026 - 06:21:43
Input / 1M token1.959 ฿ Output / 1M token5.551 ฿ ค่าใช้จ่ายขั้นต่ำ / คำขอ0.0293 ฿ Cache read / 1M token0.391 ฿ Cache write / 1M token2.351 ฿
ปัจจุบัน ตั้งแต่ 22/08/2026 - 02:08:45
Input / 1M token1.632 ฿ Output / 1M token4.571 ฿ ค่าใช้จ่ายขั้นต่ำ / คำขอ0.0293 ฿ Cache read / 1M token0.326 ฿ Cache write / 1M token1.632 ฿
ตัวประมาณค่าใช้จ่าย
ยอดรวมโดยประมาณ 0 ฿
เฉลี่ย / คำขอ 0 ฿

ประมาณการจากราคาที่แสดงไว้ การใช้ cache มักจะทำให้ถูกกว่า

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/sypham98/claude-sonnet-5:generateContent
https://api.xah.io/api/chat
https://api.xah.io/api/generate
เมธอด POST · application/json
การยืนยันตัวตน Bearer token (คีย์ API)
โหลดที่ทดสอบแล้ว 🟢 สูง สูงสุด 35/s · ต่อเนื่อง 9.0/s
ความหน่วง p95 4,840 ms
ประเภท API ข้อความ

แบ่งปัน

curl 'https://api.xah.io/v1/chat/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "sypham98/claude-sonnet-5",
    "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": "sypham98/claude-sonnet-5",
    "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\": \"sypham98/claude-sonnet-5\",\n    \"messages\": [\n        {\n            \"role\": \"user\",\n            \"content\": \"สวัสดี คุณคือใคร?\"\n        }\n    ]\n}")

res = requests.post(url, headers=headers, json=payload, stream=True, timeout=120)
print(res.status_code, res.json())
{
    "model": "sypham98/claude-sonnet-5",
    "messages": [
        {
            "role": "user",
            "content": "สวัสดี คุณคือใคร?"
        }
    ]
}

ลองใช้

ส่ง prompt ด้วยคีย์ API ของคุณ — ใช้เครดิตจริง สตรีมกลับทันที

รีวิวและความคิดเห็น
★ 3.0 / 1 รีวิว
กำลังโหลดรีวิว...
ติดต่อฝ่ายสนับสนุน
เราพร้อมช่วยเหลือคุณเสมอ