Cohere: Command A+ mot Tencent: Hy4
En jämförelse sida vid sida av Cohere: Command A+ (1,05 US$ / 1M textdelar (≈ 10,29 kr)) och Tencent: Hy4 (1,46 US$ / 1M textdelar (≈ 14,30 kr)) med aktuella USD-priser och funktioner från api14-katalogen. Båda körs via samma OpenAI-kompatibla API.
Specifikationer
| Cohere: Command A+ | Tencent: Hy4 | |
|---|---|---|
| Leverantör | Cohere | Tencent |
| Indata | 1,05 US$ / 1M textdelar (≈ 10,29 kr) | 1,46 US$ / 1M textdelar (≈ 14,30 kr) |
| Utdata | 5,25 US$ / 1M textdelar (≈ 51,43 kr) | 4,38 US$ / 1M textdelar (≈ 42,88 kr) |
| Cacheläsning | 0,52 US$ / 1M textdelar (≈ 5,14 kr) | 0,07 US$ / 1M textdelar (≈ 0,72 kr) |
| Kontextfönster | 192 000 | 1 048 576 |
| Max utdata | 64 000 | 65 536 |
| Indata | text, image | text, image |
| Utdata | text | text |
| Verktygsanrop | ||
| Strukturerad utdata | ||
| Styrning av resonemang | ||
| Tillagd | 22 sep. 2026 | 4 nov. 2026 |
Viktiga skillnader
- Cohere: Command A+ är 28% billigare på indata-tokens.
- Tencent: Hy4 är 17% billigare på utdata-tokens.
- Tencent: Hy4 läser 5.5× mer kontext (1 048 576 tokens).
- Ett anrop med 1 000 indata- och 500 utdata-tokens kostar 0,00367 US$ med Cohere: Command A+ och 0,00365 US$ med Tencent: Hy4.
Byt med en sträng
Båda modellerna använder samma endpoint och anropsformat. Ändra model-värdet från "cohere/command-a-plus" till "tencent/hy4", promptar, streaming och verktyg fortsätter att fungera.
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);
Fler jämförelser
- LiquidAI: LFM3-1.7B mot Ricursive: Ripple 65B Preview
- LiquidAI: LFM3-1.7B mot Crouton Alpha
- LiquidAI: LFM3-1.7B mot Tencent: Hy4
- LiquidAI: LFM3-1.7B mot Z.ai: GLM 5.3 FlashX Legal
- Ricursive: Ripple 65B Preview mot Crouton Alpha
- Ricursive: Ripple 65B Preview mot Tencent: Hy4
- Ricursive: Ripple 65B Preview mot Z.ai: GLM 5.3 FlashX Legal
- Crouton Alpha mot Tencent: Hy4