Skip to content
TencentNew
tencent/hy4-flash

About this model

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...

Make a request

OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.

curl https://promptix.tn/api/v1/chat/completions \  -H "Authorization: Bearer $PROMPTIX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "tencent/hy4-flash",    "messages": [      {"role": "user", "content": "Hello! What can you do?"}    ]  }'

Use Tencent: Hy4 flash from Tunisia

Tencent: Hy4 flash by Tencent is available through the Promptix API with the id tencent/hy4-flash. You pay in Tunisian dinars: top up with Flouci using a Tunisian bank card or the Flouci wallet. No international card and no dollar account are needed.

It costs 0.135 TND per 1M input tokens and 0.544 TND per 1M output tokens, before VAT and the platform fee added at top-up. There is no subscription and credits do not expire.

The endpoint is OpenAI-compatible: the OpenAI SDK, LangChain and the Vercel AI SDK work by changing the base URL. An Anthropic-compatible endpoint also lets you use it in Claude Code, and it works in opencode.

Pricing

In TND per 1M tokens. VAT and the platform fee are added at top-up.

Input tokens

0.135 TND

per 1M tokens

Output tokens

0.544 TND

per 1M tokens

1,000 requests with 1K input and 500 output tokens cost about 0.407 TND.

Specifications

Provider
Tencent
Context window
1,048,576 tokens
Input modality
Text
Added
Nov 16, 2026
Supported parameters
include_reasoningmax_completion_tokensmax_tokensreasoningresponse_formatstopstructured_outputstemperature