Claude
Claude ข้อความ

devdoclang/Claude-sonnet-4.6

Model ID: devdoclang/Claude-sonnet-4.6
ตระกูล
Claude
บริบท
1,000,000
Input / 1M token
2.204 ฿
อัตรา Cache hit
28.9%
คำขอ
145
สำเร็จ
50.3%
โทเค็น
2.08M
เวลาใช้งาน
24 ชม. ที่แล้วตอนนี้
7 วันที่แล้วตอนนี้

ราคา

Input / 1M token
2.204 ฿
Output / 1M token
4.081 ฿
Prompt Cache 28.9%
Cache read / 1M token
1.632 ฿
Cache write / 1M token
3.428 ฿

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

ประวัติราคา

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

อดีต ตั้งแต่ 30/07/2026 - 21:06:15
Input / 1M token1.496 ฿ Output / 1M token2.38 ฿ ค่าใช้จ่ายขั้นต่ำ / คำขอ0.00408 ฿ Cache read / 1M token1.156 ฿ Cache write / 1M token1.428 ฿
ปัจจุบัน ตั้งแต่ 03/08/2026 - 18:02:29
Input / 1M token2.204 ฿ Output / 1M token4.081 ฿ Cache read / 1M token1.632 ฿ Cache write / 1M token3.428 ฿
ตัวประมาณค่าใช้จ่าย
ยอดรวมโดยประมาณ 0 ฿
เฉลี่ย / คำขอ 0 ฿

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

Endpoint ที่รองรับ
https://api.xah.io/v1/chat/completions
https://api.xah.io/v1/messages
https://api.xah.io/v1/responses
https://api.xah.io/v1beta/models/devdoclang/Claude-sonnet-4.6:generateContent
https://api.xah.io/api/chat
https://api.xah.io/api/generate
เมธอด POST · application/json
การยืนยันตัวตน Bearer token (คีย์ API)
ขีดจำกัดอัตรา 50 req/min
โหลดที่ทดสอบแล้ว 🟢 สูง สูงสุด 31/s · ต่อเนื่อง 5.9/s
ความหน่วง p95 11,758 ms
ประเภท API ข้อความ

หมายเหตุ

Due to limited supply, I've temporarily increased model prices. Thanks for your understanding. Feel free to check out my more affordable GPT models.

แบ่งปัน

curl 'https://api.xah.io/v1/chat/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "devdoclang/Claude-sonnet-4.6",
    "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": "devdoclang/Claude-sonnet-4.6",
    "messages": [
        {
            "role": "user",
            "content": "สวัสดี คุณคือใคร?"
        }
    ]
})
});
const data = await res.json();
console.log(data);
import requests

url = 'https://api.xah.io/v1/chat/completions'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = {
    "model": "devdoclang/Claude-sonnet-4.6",
    "messages": [
        {
            "role": "user",
            "content": "สวัสดี คุณคือใคร?"
        }
    ]
}

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

ลองใช้

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

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