Tencent

Tencent Hy4 flash

Hy4 flash is a cost-efficient variant of [Hy4](https://openrouter.ai/tencent/hy4) from Tencent, served with roughly a quarter of the flagship's parameter count for lower latency and cost. It targets code assistance, agent...

Context window
1.0Mtokens
Max output
66Ktokens
Input
$0.035/ 1M
Output
$0.1405/ 1M

Quick start

from openai import OpenAI

client = OpenAI(
    base_url="https://neurongate.net/v1",
    api_key="sk-ng-your-api-key",
)

completion = client.chat.completions.create(
    model="tencent/hy4-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(completion.choices[0].message.content)

Cost

Example requestTokensCost
Short prompt1K in$0.000035
Typical chat turn1K in · 500 out$0.000105
Document analysis10K in · 2K out$0.000631
Long context100K in · 10K out$0.004905
Estimated cost per request$0.000105

Prices in USD. Billed per token actually used, from a balance prepaid in USDT, USDC, ETH or BTC.

Frequently asked questions

What is Tencent Hy4 flash?

Hy4 flash is a cost-efficient variant of [Hy4](https://openrouter.ai/tencent/hy4) from Tencent, served with roughly a quarter of the flagship's parameter count for lower latency and cost. It targets code assistance, agent...

How much does Tencent Hy4 flash cost?

Tencent Hy4 flash is priced at $0.035 per 1 million input tokens and $0.1405 per 1 million output tokens when accessed via NeuronGate. You pay per token — no subscriptions required. Top up with crypto (USDT, USDC, ETH, BTC).

Does Tencent Hy4 flash support streaming?

Yes, Tencent Hy4 flash supports streaming responses via NeuronGate's API. Use the standard "stream": true parameter in your request.

What is the context window of Tencent Hy4 flash?

Tencent Hy4 flash has a context window of 1.0M tokens (~786K words). Maximum output is 66K tokens.

Does Tencent Hy4 flash support function calling (tools)?

Yes, Tencent Hy4 flash supports function calling / tool use via NeuronGate's standard API.

How do I use Tencent Hy4 flash with NeuronGate?

Create a NeuronGate account, top up your balance with crypto, generate an API key, and use the model id tencent/hy4-flash in your requests. NeuronGate uses the OpenAI-compatible API format — set your base URL to https://neurongate.net/v1.