Tencent Hy4

Rilascio: 2026-11-04

chatCodiceRagionamentoTool callingVisione

Tencent Hy4.

Input
testo immagine $0.834/M
Output
testo $2.501/M
Lettura cache
$0.042/M
Contesto
1M
vs GPT-4o
~83% più economico

Il prezzo a confronto

Dove si colloca il prezzo tra 79 modelli confrontabili

Input$0.834/M
$0.1 · Claude Haiku 5.5 GPT-5.4 Pro · $30
Output$2.501/M
$0.275 · DeepSeek V4 Flash GPT-5.4 Pro · $180
Lettura cache$0.042/M
$0.006 · DeepSeek V4.1 Flash Claude Fable 5 · $1

La barra mostra dove si colloca il prezzo di questo modello tra tutti i modelli dello stesso tipo su Synthorai. Alle due estremità sono indicati il più economico e il più caro. Sono tariffe base; gli sconti per batch, regione e scrittura in cache sono nella pagina dei prezzi.

Specifiche e limiti

Token

Finestra di contesto (specifica del provider) 1.048.576
Output massimo (specifica del provider) 65.536

Prompt caching

Modalità automatico

Ragionamento

Parametro reasoning_effort
Valori minimal · low · medium · high i valori accettati li definisce il provider

Modello

Modalità testo + immagine → testo

fonte: fonte delle specifiche del modello ↗

Un solo prompt, misurato attraverso il gateway

PROMPT Explain to a CFO, in exactly three sentences, why our LLM bill doubled after we enabled reasoning. VERIFICA esattamente 3 frasi

Tencent Hy4 superato · 3 sentences

Enabling reasoning changed the unit economics of each request: the model now produces extra “reasoning tokens” and consumes more compute before it returns an answer, and those tokens are billed even if users never see them. Because our pricing is largely token-based, that extra work roughly doubled average cost per call, so flat request volume could still produce a doubled invoice. We are paying for better accuracy and less downstream rework on complex tasks, so the spend is justified only in high-value workflows and should be managed by cost per successful outcome.

out 1519 tok (+1409 ragionamento) latenza 21.0 s

Rispetto delle istruzioni (esattamente tre frasi: si contano), adattamento al destinatario (registro da CFO) e lo scarto di fatturazione dovuto al ragionamento nascosto, che i contatori di token qui sotto mettono in luce.

PROMPT This function is supposed to return the longest run of consecutive equal items, but callers report it is off by one on single-element inputs and misses runs that end at the last index. Fix it and explain the bug in one paragraph. VERIFICA la correzione supera i test

Tencent Hy4 superato · 8/8 cases

```python def longest_run(xs): n = len(xs) if n == 0: return 0 best = cur = 1 for i in range(1, n): if xs[i] == xs[i - 1]: cur += 1 else: cur = 1 best = max(best, cur) return best ``` The loop range already includes the last index; the real bug is that `cur` and `best` start at `0` and only increase on equal adjacent comparisons, so the function counts equality links (`L - 1` for a run of `L` equal items), not the items in the run: a single item has no link, and the first item of a final run is never counted, with no end-of-list flush to compensate. […]

out 4509 tok (+4263 ragionamento) latenza 56.0 s

Se la correzione è davvero giusta (si può eseguire), quanto è densa la spiegazione e quanti token servono per un compito circoscritto.

PROMPT Extract a JSON object with fields {company, quarter, revenue_usd_m, growth_pct, guidance} from this text. Use null for anything not stated; add no other fields. VERIFICA JSON valido, schema esatto

Tencent Hy4 superato · 5/5 fields, guidance "withheld pending the Q4 close"

{"company":"Meridian Robotics","quarter":"September quarter","revenue_usd_m":412,"growth_pct":"eleven and change","guidance":"withheld pending the Q4 close"}

out 9869 tok (+9827 ragionamento) latenza 125.2 s

Aderenza allo schema (nessun campo inventato), tentazione di allucinare (il testo dice espressamente che la guidance non viene comunicata) e differenze tra i percorsi di output strutturato.

PROMPT Write a 120-word product announcement for an API gateway feature that caches prompts across providers. Forbidden words: "seamless", "unlock", "game-changer", "revolutionize", "empower". Exactly one sentence must be a question. VERIFICA 120 parole, 0 parole vietate

Tencent Hy4 superato · 120 words, 0 banned, 1 question

Today we are introducing Cross Provider Prompt Cache for our API gateway, a feature that caches prompts and securely reuses them across all connected model providers. Teams can cut duplicate calls, reduce latency, and keep spend predictable when identical instructions appear in chat, search, agents, or batch jobs. What if one cached prompt could support traffic routed to any provider in your stack? Gateway policies control cache keys, time to live, tenant isolation, redaction, and fallback behavior, while usage metrics show hit rates and savings by application. Setup requires one configuration change, and existing client code stays intact. Cross Provider Prompt Cache is available in private beta today for enterprise plans, with general availability next month across all supported regions.

out 5744 tok (+5601 ragionamento) latenza 57.6 s

Rispetto dei vincoli (budget di parole, elenco di parole vietate, l'unica domanda), impronta stilistica e controllo della lunghezza.

Usa Tencent Hy4 in 30 secondi

Compatibile con OpenAI: cambi base_url e tieni il tuo SDK. POST /v1/chat/completions

from openai import OpenAI

client = OpenAI(
    base_url="https://synthorai.io/v1",
    api_key="sk-syn-...",
)

resp = client.chat.completions.create(
    model="hy4",
    messages=[{"role": "user", "content": "Summarize this diff"}],
    reasoning_effort="medium",
)
print(resp.choices[0].message.content)

Informazioni su Tencent Hy4

  • Input di testo e immagini.
  • Ragionamento con contesto lungo.
  • Chiamate agli strumenti.
  • Tencent pubblica un limite di uscita di 65536 token.

FAQ

L'API di Tencent Hy4 si può provare gratis?

Sì: i nuovi account ricevono 10 chiamate di prova e fino a $1 di credito gratuito, senza bisogno di carta. A $0.834/M per i token di input, quel credito basta da solo per circa 149 richieste da ~8K token a Tencent Hy4.

In cosa eccelle Tencent Hy4?

Input di testo e immagini; Ragionamento con contesto lungo; Chiamate agli strumenti. Il quadro completo è nella sezione «Informazioni», ripreso dalle note di rilascio ufficiali del provider.

Quanto costa Tencent Hy4?

Su Synthorai Tencent Hy4 costa $0.834 per milione di token di input e $2.501 per milione di token di output: è il prezzo di listino del provider, senza sovrapprezzo di piattaforma. I token di input letti dalla cache costano $0.042/M.

Qual è la finestra di contesto di Tencent Hy4?

Tencent Hy4 ha una finestra di contesto di 1M token su Synthorai. Una singola risposta può arrivare a 65,536 token.

Tencent Hy4 supporta il prompt caching?

Sì, in automatico: i prompt serviti da Tencent vanno in cache senza modifiche al codice. I token di input letti dalla cache costano $0.042/M, contro $0.834/M senza cache. Guida al prompt caching →

Come ottengo l'accesso a Tencent Hy4?

Fai puntare l'SDK OpenAI che usi già a base_url="https://synthorai.io/v1", imposta model="hy4" e hai finito: una sola chiave API vale per tutti i modelli del gateway.

Modelli correlati

Confronta

Le specifiche e i benchmark dei fornitori rimandano alle rispettive fonti. Il supporto del gateway descrive l’implementazione di Synthorai. Gli esempi archiviati sono singole richieste e non garantiscono le prestazioni generali del modello. I prezzi provengono dal servizio pubblico o dalla sua istantanea usata durante la compilazione.

Ottieni la tua chiave API Confronta i tuoi costi →