Google: Gemini 3.1 Flash Lite Preview lawan Tencent: Hy4
Perbandingan berdampingan Google: Gemini 3.1 Flash Lite Preview (US$0,88 / 1 jt token (≈ Rp 15.820)) dan Tencent: Hy4 (US$1,46 / 1 jt token (≈ Rp 26.388)) menggunakan harga USD dan kemampuan terkini dari katalog api14. Keduanya berjalan melalui API yang sama dan kompatibel dengan OpenAI.
Spesifikasi
| Google: Gemini 3.1 Flash Lite Preview | Tencent: Hy4 | |
|---|---|---|
| Penyedia | Tencent | |
| Masukan | US$0,88 / 1 jt token (≈ Rp 15.820) | US$1,46 / 1 jt token (≈ Rp 26.388) |
| Keluaran | US$5,25 / 1 jt token (≈ Rp 94.920) | US$4,38 / 1 jt token (≈ Rp 79.132) |
| Baca cache | US$0,09 / 1 jt token (≈ Rp 1.582) | US$0,07 / 1 jt token (≈ Rp 1.329) |
| Tulis cache | US$0,29 / 1 jt token (≈ Rp 5.273) | - |
| Penalaran | US$5,25 / 1 jt token (≈ Rp 94.920) | - |
| Input audio | US$1,75 / 1 jt token (≈ Rp 31.640) | - |
| Gambar | US$0,000001 / gambar (≈ Rp 0,0158) | - |
| Pencarian web | US$49,00 / 1 rb pencarian (≈ Rp 885.920) | - |
| Jendela konteks | 1.048.576 | 1.048.576 |
| Output maks. | 65.536 | 65.536 |
| Masukan | text, image, video, file, audio | text, image |
| Keluaran | text | text |
| panggilan alat | ||
| Output terstruktur | ||
| Pengaturan penalaran | ||
| Ditambahkan | 3 Mar 2026 | 4 Nov 2026 |
Perbedaan utama
- Google: Gemini 3.1 Flash Lite Preview 40% lebih murah untuk token input.
- Tencent: Hy4 17% lebih murah untuk token output.
- Permintaan dengan 1.000 token input dan 500 token output berbiaya US$0,00350 dengan Google: Gemini 3.1 Flash Lite Preview dan US$0,00365 dengan Tencent: Hy4.
Berganti cukup dengan satu string
Kedua model menggunakan endpoint dan bentuk permintaan yang sama. Ubah nilai model dari "google/gemini-3.1-flash-lite-preview" ke "tencent/hy4", prompt, streaming, dan tools tetap berfungsi.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "tencent/hy4",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Perbandingan lainnya
- LiquidAI: LFM3-1.7B lawan Ricursive: Ripple 65B Preview
- LiquidAI: LFM3-1.7B lawan Crouton Alpha
- LiquidAI: LFM3-1.7B lawan Tencent: Hy4
- LiquidAI: LFM3-1.7B lawan Z.ai: GLM 5.3 FlashX Legal
- Ricursive: Ripple 65B Preview lawan Crouton Alpha
- Ricursive: Ripple 65B Preview lawan Tencent: Hy4
- Ricursive: Ripple 65B Preview lawan Z.ai: GLM 5.3 FlashX Legal
- Crouton Alpha lawan Tencent: Hy4