Kuaishou Kat

Kat Coder Exp 72b 1010 API

CN Kuaishou Kat
ลองใช้ใน Playground → รับคีย์ API

Kat Coder Exp 72b 1010 คือโมเดลที่เน้นการเขียนโค้ดจาก Kuaishou Kat รองรับการสร้างโค้ดที่มีประสิทธิภาพ สามารถใช้งานได้ผ่าน MeshTok unified API

โค้ด

ราคา (รายการอย่างเป็นทางการ ต่อ 1M โทเค็น)

ฟรี
ไม่คิดค่า token. คิดค่าบริการที่ $0 / M tokens.

ข้อมูลจำเพาะ

หน้าต่างบริบท128K โทเค็น รูปแบบอินพุตข้อความ สตรีมมิ่งใช่ APIเข้ากันได้กับ OpenAI

วิธีใช้ Kat Coder Exp 72b 1010

เปลี่ยนแทน OpenAI ได้ทันที แค่เปลี่ยน base_url และ model เท่านั้น

# Python - pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://meshtok.com/v1",
    api_key="sk-your-MeshTok-key",
)

resp = client.chat.completions.create(
    model="streamlake/kat-coder-exp-72b-1010",
    messages=[{"role":"user","content":"Hello!"}],
)
print(resp.choices[0].message.content)
# cURL
curl https://meshtok.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-MeshTok-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"streamlake/kat-coder-exp-72b-1010","messages":[{"role":"user","content":"Hello!"}]}'

โมเดลที่เกี่ยวข้อง

โมเดลอื่นๆ ที่คุณอาจสนใจ