PrismML: Ternary Bonsai 2 9B contro Tencent: Hy4 flash
Un confronto fianco a fianco tra PrismML: Ternary Bonsai 2 9B (0,28 USD / 1M token (≈ 0,26 €)) e Tencent: Hy4 flash (0,12 USD / 1M token (≈ 0,11 €)) con i prezzi in USD e le funzionalità aggiornati dal catalogo di api14. Entrambi funzionano con la stessa API compatibile OpenAI.
Specifiche
| PrismML: Ternary Bonsai 2 9B | Tencent: Hy4 flash | |
|---|---|---|
| Fornitore | PrismML | Tencent |
| Ingresso | 0,28 USD / 1M token (≈ 0,26 €) | 0,12 USD / 1M token (≈ 0,11 €) |
| Uscita | 0,45 USD / 1M token (≈ 0,41 €) | 0,49 USD / 1M token (≈ 0,45 €) |
| Lettura cache | 0,14 USD / 1M token (≈ 0,13 €) | 0,00525 USD / 1M token (≈ 0,00478 €) |
| Finestra di contesto | 262.144 | 1.048.576 |
| Output massimo | 65.536 | 65.536 |
| Ingresso | text, image | text, image |
| Uscita | text | text |
| chiamata di strumenti | ||
| Output strutturato | ||
| Controllo del ragionamento | ||
| Aggiunto | 16 ott 2026 | 16 nov 2026 |
Differenze principali
- Tencent: Hy4 flash costa il 56% in meno sui token di input.
- PrismML: Ternary Bonsai 2 9B costa il 7% in meno sui token di output.
- Tencent: Hy4 flash legge 4.0× più contesto (1.048.576 token).
- Una richiesta con 1.000 token di input e 500 di output costa 0,000508 USD con PrismML: Ternary Bonsai 2 9B e 0,000368 USD con Tencent: Hy4 flash.
Cambia modello con una stringa
Entrambi i modelli usano lo stesso endpoint e la stessa struttura di richiesta. Cambia il valore di model da "prism-ml/ternary-bonsai-2-9b" a "tencent/hy4-flash", 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-flash",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
Altri confronti
- Google: Gemini 4 Neon contro Mistral: Pixtral Large 2502
- Google: Gemini 4 Neon contro OpenAI: GPT-6.2 Astra Pro
- Google: Gemini 4 Neon contro RadixArk: DaisyRose 27B
- Google: Gemini 4 Neon contro Thinking Machines: Inkling 2 Mini
- Mistral: Pixtral Large 2502 contro OpenAI: GPT-6.2 Astra Pro
- Mistral: Pixtral Large 2502 contro RadixArk: DaisyRose 27B
- Mistral: Pixtral Large 2502 contro Thinking Machines: Inkling 2 Mini
- OpenAI: GPT-6.2 Astra Pro contro RadixArk: DaisyRose 27B