Model API Tencent

Tencent: hy4-preview

Tencent Hunyuan Hy4 preview — model MoE khusus teks dengan bobot terbuka, 770B parameter total dan 49B parameter backbone aktif per token; mendukung lapisan MTP native 10B, konteks 1M, penalaran yang dipertahankan, keluaran terstruktur, pemanggilan fungsi, dan Prompt Caching.

Spesifikasi

Detail harga dan API.

Harga USD transparan. Tidak diperlukan akun atau telepon Tiongkok daratan. Tarif model token disinkronkan dari gateway dan dapat mengikuti daftar harga resmi penyedia di Tiongkok jika dikonfigurasi. Harga langsung adalah yang paling akurat.

Jendela konteks

1M

Modalitas

Teks

Masukkan $/ 1M

$0.8889

Output $/ 1M

$2.6667

Titik akhir

OpenAI-compatible /v1/chat/completions

Tentang hy4-preview

Tencent Hunyuan Hy4 preview — model MoE khusus teks dengan bobot terbuka, 770B parameter total dan 49B parameter backbone aktif per token; mendukung lapisan MTP native 10B, konteks 1M, penalaran yang dipertahankan, keluaran terstruktur, pemanggilan fungsi, dan Prompt Caching.

Harga

Harga USD yang transparan.

hy4-preview

$0.8889/1M token input, $2.6667/1M token output. Pembayaran dalam USD. Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative. Lihat harga terkini

Panduan Singkat

Salin-tempel permintaan 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)

Tautan internal

Halaman dan panduan model terkait.

Bagaimana cara memakai hy4-preview?

Ambil API key di ChinaAPI lalu arahkan ke OpenAI-compatible endpoint di halaman ini — hy4-preview langsung bisa dipakai.

Berapa harga hy4-preview?

hy4-preview: $0.8889/1M token input, $2.6667/1M token output, ditagih dalam USD. Halaman harga terkini adalah acuan utama. Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative.

Apakah hy4-preview butuh akun Tiongkok?

Tidak. ChinaAPI menyediakan akses tanpa akun atau nomor telepon Tiongkok daratan dan termasuk uji coba gratis seharga $2 . Periksa harga langsung untuk melihat kurs USD yang ditampilkan.