Cohere: Command A+ contro Tencent: Hy4
Un confronto fianco a fianco tra Cohere: Command A+ (1,05 USD / 1M token (≈ 0,94 €)) 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
| Cohere: Command A+ | Tencent: Hy4 | |
|---|---|---|
| Fornitore | Cohere | Tencent |
| Ingresso | 1,05 USD / 1M token (≈ 0,94 €) | 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,52 USD / 1M token (≈ 0,47 €) | 0,07 USD / 1M token (≈ 0,07 €) |
| Finestra di contesto | 192.000 | 1.048.576 |
| Output massimo | 64.000 | 65.536 |
| Ingresso | text, image | text, image |
| Uscita | text | text |
| chiamata di strumenti | ||
| Output strutturato | ||
| Controllo del ragionamento | ||
| Aggiunto | 22 set 2026 | 4 nov 2026 |
Differenze principali
- Cohere: Command A+ costa il 28% in meno sui token di input.
- Tencent: Hy4 costa il 17% in meno sui token di output.
- Tencent: Hy4 legge 5.5× più contesto (1.048.576 token).
- Una richiesta con 1.000 token di input e 500 di output costa 0,00367 USD con Cohere: Command A+ 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 "cohere/command-a-plus" 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