<!-- GENERATED BY scripts/gen_localization_release.py; DO NOT EDIT; source: th/models/hy4-preview/index.html -->

# Tencent: hy4-preview

> Tencent Hunyuan Hy4 preview — โมเดล MoE แบบข้อความเท่านั้นที่เปิดเผยน้ำหนัก มีพารามิเตอร์รวม 770B และเปิดใช้พารามิเตอร์ backbone 49B ต่อ token พร้อมเลเยอร์ MTP ดั้งเดิม 10B, context 1M, การให้เหตุผลแบบคงสถานะ, structured output, function calling และ Prompt Caching คอนเท็กซ์ 1M ราคา อินพุต $0.8889/1M โทเคน เอาต์พุต $2.6667/1M โทเคน (USD) API แบบ OpenAI-compatible พร้อมเครดิตฟรี $2

- Canonical page: https://chinaapi.ai/th/models/hy4-preview/
- Human-readable page: https://chinaapi.ai/th/models/hy4-preview/
- Live pricing: https://dash.chinaapi.ai/pricing?lang=th&utm_source=chinaapi&utm_medium=markdown&utm_campaign=hy4-preview

Tencent Hunyuan Hy4 preview — โมเดล MoE แบบข้อความเท่านั้นที่เปิดเผยน้ำหนัก มีพารามิเตอร์รวม 770B และเปิดใช้พารามิเตอร์ backbone 49B ต่อ token พร้อมเลเยอร์ MTP ดั้งเดิม 10B, context 1M, การให้เหตุผลแบบคงสถานะ, structured output, function calling และ Prompt Caching

[เริ่มใช้งานฟรี — รับเครดิต $2](https://dash.chinaapi.ai/register?lang=th&utm_source=chinaapi&utm_medium=model&utm_campaign=hy4-preview)

[ดูราคาแบบเรียลไทม์](https://dash.chinaapi.ai/pricing?lang=th&utm_source=chinaapi&utm_medium=model&utm_campaign=hy4-preview)

## รายละเอียดราคาและ API

ราคาโปร่งใสเป็นสกุลเงินดอลลาร์สหรัฐ ไม่จำเป็นต้องมีบัญชีหรือโทรศัพท์ในจีนแผ่นดินใหญ่ อัตราค่าบริการแบบโทเค็นจะซิงโครไนซ์จากเกตเวย์ และอาจเป็นไปตามราคาอย่างเป็นทางการของผู้ให้บริการในประเทศจีน หากมีการตั้งค่าไว้ ราคาที่แสดงแบบเรียลไทม์ถือเป็นราคาที่ถูกต้องที่สุด

### หน้าต่างบริบท

1M

### รูปแบบต่างๆ

ข้อความ

### ป้อน $/ 1M

$0.8889

### เอาต์พุต $/ 1M

$2.6667

### จุดสิ้นสุด

OpenAI-compatible `/v1/chat/completions`

## เกี่ยวกับ hy4-preview

Tencent Hunyuan Hy4 preview — โมเดล MoE แบบข้อความเท่านั้นที่เปิดเผยน้ำหนัก มีพารามิเตอร์รวม 770B และเปิดใช้พารามิเตอร์ backbone 49B ต่อ token พร้อมเลเยอร์ MTP ดั้งเดิม 10B, context 1M, การให้เหตุผลแบบคงสถานะ, structured output, function calling และ Prompt Caching

## ราคาโปร่งใสในสกุลเงินดอลลาร์สหรัฐ

### hy4-preview

อินพุต $0.8889/1M โทเคน เอาต์พุต $2.6667/1M โทเคน ชำระเป็น USD Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative. [ดูราคาแบบเรียลไทม์](https://dash.chinaapi.ai/pricing?lang=th&utm_source=chinaapi&utm_medium=model&utm_campaign=hy4-preview)

## คัดลอกและวางคำขอ API

```
curl -X POST https://api.chinaapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy4-preview",
    "messages": [
      {"role": "user", "content": "Summarize the main tradeoffs for this API workload."}
    ]
  }'

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["CHINAAPI_API_KEY"],
    base_url="https://api.chinaapi.ai/v1",
)

response = client.chat.completions.create(
    model="hy4-preview",
    messages=[
        {"role": "user", "content": "Summarize the main tradeoffs for this API workload."}
    ],
)
print(response.choices[0].message.content)
```

## หน้าเพจและคู่มือรุ่นที่เกี่ยวข้อง

[ไดเร็กทอรีโมเดล ดูทุกรุ่น](https://chinaapi.ai/th/models/)

[ราคาแบบเรียลไทม์ ราคาแดชบอร์ดปัจจุบัน](https://dash.chinaapi.ai/pricing?lang=th&utm_source=chinaapi&utm_medium=model&utm_campaign=hy4-preview)

[การวิเคราะห์ Deployment และต้นทุนของ Hy4 preview คู่มือเปิด](https://chinaapi.ai/insights/hy4-preview-local-deployment-value/)

[hy3 256K บริบท, $0.1538 /M อินพุต, $0.6154 /M โทเค็นเอาต์พุต](https://chinaapi.ai/th/models/hunyuan-hy3/)

## ใช้ hy4-preview อย่างไร?

รับ API key จาก ChinaAPI แล้วชี้ไปที่ OpenAI-compatible endpoint ตามหน้านี้ ก็ใช้ hy4-preview ได้ทันที

## hy4-preview ราคาเท่าไร?

hy4-preview: อินพุต $0.8889/1M โทเคน เอาต์พุต $2.6667/1M โทเคน ชำระเป็น USD โดยหน้าราคาล่าสุดเป็นข้อมูลอ้างอิงหลัก Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative.

## ใช้ hy4-preview ต้องมีบัญชีจีนไหม?

ไม่ค่ะ ChinaAPI ให้บริการโดยไม่ต้องมีบัญชีหรือหมายเลขโทรศัพท์ในจีนแผ่นดินใหญ่ และมีบริการทดลองใช้ฟรีใน $2 โปรดตรวจสอบราคาปัจจุบันสำหรับอัตราแลกเปลี่ยน USD ที่แสดง

---

Markdown twin of https://chinaapi.ai/th/models/hy4-preview/ — generated from its canonical HTML by scripts/gen_localization_release.py. Full site reference: https://chinaapi.ai/llms-full.txt
