tencent logo 14%

Tencent: Hy4 flash API

Tencent·Vision

Hy4 flash is the cost-efficient tier of Tencent's Hy4: a 224B-parameter Mixture-of-Experts model with 12B active per token. It keeps Hy4's 1M-token context and image input, with optional reasoning, tools and structured outputs, and targets agents, coding and high-volume workloads.

1.0M Context 65.5K out 42 req/24h $0.01 24h volume
Input
Text Image
Output
Text

Pricing

Cheapest live price, per 1 million tokens.

Input / 1M tokens

$0.04014%

OpenRouter $0.035

Output / 1M tokens

$0.16014%

OpenRouter $0.141

Capabilities · 7

Vision Reasoning Adjustable reasoning Tool calling JSON mode JSON schema Streaming

Specifications

Context window
1.0M
Max output
66K
Type
Vision
Creator
Tencent
Live sellers
18
Requests / 24h
42

Estimated monthly cost

30 days at the cheapest live price.

AI Chatbot
1,000 req/day · 2K in · 0.5K out
$4.80/mo
Coding Copilot
500 req/day · 8K in · 2K out
$9.59/mo
AI Agent
100 req/day · 50K in · 5K out
$8.39/mo

Quick start

OpenAI-compatible — change the base URL and key. Get a key from the dashboard.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.qubax.ai/v1",
    api_key="YOUR_QUBAX_API_KEY",
)

response = client.chat.completions.create(
    model="hy4-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)

About Tencent: Hy4 flash

Tencent: Hy4 flash is a multimodal language model developed by Tencent. It's particularly well-suited for analyzing images, screenshots, and visual content, tackling complex, multi-step reasoning problems, orchestrating tool-using agents that call APIs and external services, producing structured outputs for reliable data extraction and handling large contexts of up to 1.0M tokens. Its 1.0M-token context window means you can pass in entire documents, codebases, or conversation histories without losing context. It can write up to 66K tokens in a single response.

As of Nov 17, 2026, Tencent: Hy4 flash costs $0.040 per 1M input tokens and $0.160 per 1M output tokens on Qubax. A typical 1,000 chat requests (2K tokens in, 500 out) come to about $0.16. 18 independent compute providers currently serve it, so requests fail over automatically. Pay with USDC, USDT, BTC, ETH or 350+ other coins — no credit card required.

Visual Analysis
Analyze images, screenshots, diagrams, and visual content
Complex Reasoning
Multi-step problem solving, math, and logical analysis
Function Calling
Build agents and tool-using applications
Long Documents
Process entire codebases, books, or lengthy conversations
Chat & Conversation
Build AI chatbots and conversational assistants

Similar-priced alternatives

Frequently asked questions

How much does the Tencent: Hy4 flash API cost?

On Qubax, Tencent: Hy4 flash costs $0.040 per 1M input tokens and $0.160 per 1M output tokens.

Is the Tencent: Hy4 flash API compatible with OpenAI?

Yes. Qubax provides an OpenAI-compatible API. You can use Tencent: Hy4 flash as a drop-in replacement by changing your base URL to https://api.qubax.ai/v1 and using your Qubax API key. It works with Cline, Cursor, OpenCode, Hermes Agent, and any tool that supports OpenAI APIs.

How do I pay for Tencent: Hy4 flash API usage?

Qubax uses prepaid crypto credits. Top up with USDC, USDT, BTC, ETH, SOL or 350+ other coins and your balance is deducted as you use the API. No credit card or KYC required.

What is the context window of Tencent: Hy4 flash?

Tencent: Hy4 flash supports a context window of 1.0M tokens, allowing you to process large documents, codebases, or long conversations in a single request.

What can I build with Tencent: Hy4 flash?

You can use Tencent: Hy4 flash to analyze images and visual content, tackle complex multi-step reasoning tasks, build autonomous agents that call external tools and APIs, generate structured JSON output for data pipelines and process long documents and entire codebases. Because it's served through Qubax's OpenAI-compatible API, integration into existing apps, agents, or workflows takes just a few lines of code.

How fast and reliable is Tencent: Hy4 flash on Qubax?

Responses stream token by token. 18 sellers serve it, so if one is slow or down the request moves to the next.

Tencent: Hy4 flash vs GPT 5 Mini: which should I choose?

Tencent: Hy4 flash by Tencent and GPT 5 Mini by OpenAI are both strong models in a similar price tier. Tencent: Hy4 flash excels at complex reasoning and supports vision/image inputs. GPT 5 Mini comes from a different lab and may have different strengths depending on your workload. On Qubax, Tencent: Hy4 flash starts at $0.040/1M input tokens versus GPT 5 Mini's $0.074/1M — making Tencent: Hy4 flash the more cost-effective option for high-volume workloads. Both are available on Qubax with crypto payments and OpenAI-compatible APIs, so you can try each and switch freely.

Can I use Tencent: Hy4 flash for commercial projects?

Yes. Tencent: Hy4 flash on Qubax can be used for commercial purposes. You own the outputs you generate. Qubax provides the API infrastructure — you bring your use case.

Why use Tencent: Hy4 flash on Qubax?

Live market prices

Providers compete on price — you get the cheapest healthy seller.

Pay with crypto

350+ coins (BTC, ETH, SOL, USDT, USDC). No card, no KYC.

OpenAI & Anthropic compatible

Drop-in base URL. Works with Cline, Cursor, Claude Code, OpenAI and Anthropic SDKs.

Get started free →

More from Tencent

Browse 380+ other AI models

GPT, Claude, Gemini, Llama, DeepSeek & more.

See all models →

Tencent: Hy4 flash

$0.040 in · $0.160 out

Get API key