hy3 — harga, konteks dan performa

hy3 adalah model Tencent dengan konteks 256K dan dukungan Reasoning, Tools, Open Weights. Input -, output - per 1 juta token.

Ringkasan

VendorTencent
Konteks256K
KemampuanReasoning, Tools, Open Weights
Format APIopenai, openai-response, openai-response-compact, anthropic, gemini, openai-alpha-search
Rumus penagihanp * 0 + cr * 0 + cc * 0 + c * 0
Tencent Hy reasoning model for coding, instruction following, and agent tasks

Harga

PaketPengaliInputOutputCatatan
Harga dasar1×--
Plus1×--High — strong reasoning, stable.

Hanya grup yang diaktifkan untuk model ini yang dicantumkan.

Performa

Endpoint APIhttps://api.airai.cc/v1
Kompatibel OpenAIOpenAI-compatible

FAQ

Berapa harga hy3?
Input -, output - per 1 juta token.
Berapa jendela konteks hy3?
hy3 memiliki jendela konteks 256K: batas gabungan token input dan output dalam satu permintaan.
Bagaimana memanggil hy3 dari kode?
Arahkan base_url ke https://api.airai.cc/v1 dan set model ke hy3. API sepenuhnya kompatibel dengan OpenAI.
Mengapa hy3 mengembalikan error 429?
429 adalah respons pembatasan laju. Kurangi konkurensi, coba lagi dengan jeda, atau beralih ke paket dengan kuota lebih besar.

Perbandingan model

ModelVendorInputOutputKonteks
hy3Tencent-—256K
tencent/Hunyuan-MT-7BTencent$1.00$1.00tidak dicantumkan

Pemecahan masalah

429 adalah respons pembatasan laju. Kurangi konkurensi, coba lagi dengan jeda, atau beralih ke paket dengan kuota lebih besar.

Penyebab umum

  • Terlalu banyak permintaan bersamaan
  • Kuota paket saat ini habis
  • Mencoba ulang tanpa jeda

Cara mengatasi

  • Batasi konkurensi dan coba ulang dengan jeda eksponensial
  • Beralih ke paket dengan kuota lebih besar
  • Simpan cache permintaan yang berulang

Cara menghubungkan

curl https://api.airai.cc/v1/chat/completions \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy3",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
from openai import OpenAI

client = OpenAI(
    api_key="<YOUR_API_KEY>",
    base_url="https://api.airai.cc/v1"
)

response = client.chat.completions.create(
    model="hy3",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "<YOUR_API_KEY>",
  baseURL: "https://api.airai.cc/v1"
});

const response = await client.chat.completions.create({
  model: "hy3",
  messages: [{ role: "user", content: "Hello" }]
});
console.log(response.choices[0].message.content);
const OpenAI = require("openai");

const client = new OpenAI({
  apiKey: "<YOUR_API_KEY>",
  baseURL: "https://api.airai.cc/v1"
});

client.chat.completions.create({
  model: "hy3",
  messages: [{ role: "user", content: "Hello" }]
}).then((r) => console.log(r.choices[0].message.content));

Ganti <YOUR_API_KEY> dengan API Key dari pengaturan token Anda.

Endpoint kompatibel

openaiopenai-responseopenai-response-compactanthropicgeminiopenai-alpha-search

Gemini SDK · TypeScript

import { GoogleGenerativeAI } from "@google/generative-ai";

const genAI = new GoogleGenerativeAI("<YOUR_API_KEY>");
const model = genAI.getGenerativeModel({ model: "hy3" });

const result = await model.generateContent(
  "Explain quantum entanglement in one paragraph."
);
console.log(result.response.text());

Autentikasi

Semua permintaan harus menyertakan header Authorization: Bearer <TOKEN>. Endpoint format Anthropic juga menerima header x-api-key. Buat API Key Anda di halaman Token, tempat Anda dapat membatasinya berdasarkan model, grup, IP, dan laju.

Parameter yang didukung

ParameterTipeBawaanRentangDeskripsi
temperaturefloat10–2Suhu sampling; lebih rendah lebih stabil
top_pfloat10–1Probabilitas kumulatif nucleus sampling
max_tokensinteger——Token maksimum dalam respons
frequency_penaltyfloat0−2–2Hukuman pengulangan token frekuensi tinggi
presence_penaltyfloat0−2–2Mendorong topik baru
stopstring[]null≤ 4Hingga 4 string penghentian
seedintegernull—Seed untuk sampling lebih dapat direproduksi
ninteger1—Jumlah kandidat yang dihasilkan
streambooleanfalse—Streaming token via SSE
response_formatobject——Memaksa output JSON atau hasil sesuai skema
toolsarray——Deklarasi alat / fungsi yang dapat dipanggil model
tool_choicestring | objectauto—Strategi pemilihan alat atau nama alat tertentu
logprobsbooleanfalse—Mengembalikan log-probabilitas tiap token
top_logprobsintegernull0–20Jumlah probabilitas teratas per token
logit_biasmap——Pemetaan logit bias per token
userstring——Identitas pengguna akhir untuk audit risiko

Batas laju

TingkatRPMTPMRPD
Eco990398K20K
Test980393K20K

Data diperbarui: 2026-10-10 15:55

Dukungan teknisDukungan langsung
Kembali ke atas