NovitàCome scopriamo un venditore che offre il modello sbagliato, e ti rimborsiamo se succede.
UberLLM
Logo di Tencent

Come si usa Tencent: Hy4 flash in Claude Code?

tencent/hy4-flash

Claude Code raggiunge Tencent: Hy4 flash tramite l'indirizzo compatibile con Anthropic di UberLLM. Imposta ANTHROPIC_BASE_URL su https://api.uberllm.dev (senza /v1 alla fine), ANTHROPIC_AUTH_TOKEN alla tua chiave UberLLM e ANTHROPIC_MODEL su tencent/hy4-flash[1m], quindi avvia claude. Imposta anche le variabili del modello opus, sonnet, haiku e subagent su tencent/hy4-flash: uno slot lasciato non impostato continua a richiedere un modello Claude ai prezzi Claude. Il [1m] alla fine dell'ID indica a Claude Code che Tencent: Hy4 flash ha un contesto di 1M token; senza di esso Claude Code prevede 200,000 token.

bash
export ANTHROPIC_BASE_URL=https://api.uberllm.dev
export ANTHROPIC_AUTH_TOKEN=ull_your_key
export ANTHROPIC_MODEL='tencent/hy4-flash[1m]'
export ANTHROPIC_DEFAULT_OPUS_MODEL='tencent/hy4-flash'
export ANTHROPIC_DEFAULT_SONNET_MODEL='tencent/hy4-flash'
export ANTHROPIC_DEFAULT_HAIKU_MODEL='tencent/hy4-flash'
export CLAUDE_CODE_SUBAGENT_MODEL='tencent/hy4-flash'
claude

Claude Code chiamate: API Anthropic Messages https://api.uberllm.dev/v1/messages · Guida completa a Claude Code

Sostituisci ull_your_key con la tua chiave API UberLLM. Una sola chiave funziona in tutti gli strumenti e per tutti i modelli.

Tramite API, Tencent: Hy4 flash risponde su tre indirizzi con la stessa chiave UberLLM e l'ID modello tencent/hy4-flash: completamenti chat OpenAI a https://api.uberllm.dev/v1/chat/completions, l'API OpenAI Responses a https://api.uberllm.dev/v1/responses e l'API Anthropic Messages a https://api.uberllm.dev/v1/messages.

Quanto costa la Tencent: Hy4 flash API?

Il 19 novembre 2026, Tencent: Hy4 flash costa $0.0245 per milione di input tokens e $0.0984 per milione di output tokens tramite UberLLM, 30% al di sotto del suo prezzo di listino di $0.035 e $0.1405. 30 venditori sul mercato possono fornirlo. Legge fino a 1,048,576 tokens di contesto. Ogni richiesta è elencata con il suo costo nel log Attività. UberLLM non aggiunge alcuna commissione a questi prezzi, e una richiesta che fallisce non viene fatturata.

Prezzi aggiornati alle 08:00 UTC.

Tencent: Hy4 flash in altri strumenti

Altri modelli in Claude Code