Google: Gemini 3.1 Flash Lite Preview contro Tencent: Hy4
Un confronto fianco a fianco tra Google: Gemini 3.1 Flash Lite Preview (0,88 USD / 1M token (≈ 0,78 €)) e Tencent: Hy4 (1,46 USD / 1M token (≈ 1,30 €)) con i prezzi in USD e le funzionalità aggiornati dal catalogo di api14. Entrambi funzionano con la stessa API compatibile OpenAI.
Specifiche
| Google: Gemini 3.1 Flash Lite Preview | Tencent: Hy4 | |
|---|---|---|
| Fornitore | Tencent | |
| Ingresso | 0,88 USD / 1M token (≈ 0,78 €) | 1,46 USD / 1M token (≈ 1,30 €) |
| Uscita | 5,25 USD / 1M token (≈ 4,68 €) | 4,38 USD / 1M token (≈ 3,90 €) |
| Lettura cache | 0,09 USD / 1M token (≈ 0,08 €) | 0,07 USD / 1M token (≈ 0,07 €) |
| Scrittura cache | 0,29 USD / 1M token (≈ 0,26 €) | - |
| Ragionamento | 5,25 USD / 1M token (≈ 4,68 €) | - |
| Input audio | 1,75 USD / 1M token (≈ 1,56 €) | - |
| Immagine | 0,000001 USD / immagine (≈ 0,000000779 €) | - |
| Ricerca web | 49,00 USD / 1K ricerche (≈ 43,63 €) | - |
| Finestra di contesto | 1.048.576 | 1.048.576 |
| Output massimo | 65.536 | 65.536 |
| Ingresso | text, image, video, file, audio | text, image |
| Uscita | text | text |
| chiamata di strumenti | ||
| Output strutturato | ||
| Controllo del ragionamento | ||
| Aggiunto | 3 mar 2026 | 4 nov 2026 |
Differenze principali
- Google: Gemini 3.1 Flash Lite Preview costa il 40% in meno sui token di input.
- Tencent: Hy4 costa il 17% in meno sui token di output.
- Una richiesta con 1.000 token di input e 500 di output costa 0,00350 USD con Google: Gemini 3.1 Flash Lite Preview e 0,00365 USD con Tencent: Hy4.
Cambia modello con una stringa
Entrambi i modelli usano lo stesso endpoint e la stessa struttura di richiesta. Cambia il valore di model da "google/gemini-3.1-flash-lite-preview" a "tencent/hy4", prompt, streaming e tool continuano a funzionare.
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);
Altri confronti
- LiquidAI: LFM3-1.7B contro Ricursive: Ripple 65B Preview
- LiquidAI: LFM3-1.7B contro Crouton Alpha
- LiquidAI: LFM3-1.7B contro Tencent: Hy4
- LiquidAI: LFM3-1.7B contro Z.ai: GLM 5.3 FlashX Legal
- Ricursive: Ripple 65B Preview contro Crouton Alpha
- Ricursive: Ripple 65B Preview contro Tencent: Hy4
- Ricursive: Ripple 65B Preview contro Z.ai: GLM 5.3 FlashX Legal
- Crouton Alpha contro Tencent: Hy4