Tencent Hy4 Officially Released with Together AI Serverless Inference
Tencent's next-generation flagship model Hy4 became immediately available in Together AI's Serverless Inference environment starting December 2024. The model identifier is `tencent/Hy4`, and it can be called through Together's chat completion API and playground without the need for separate infrastructure. This release is the first in the Hy family to natively support image input, and it also comes equipped with Tool Calling and JSON output functionalities.
Technical Specs: 770 Billion Parameter MoE, 49 Billion Active
Hy4 adopts the Mixture-of-Experts (MoE) architecture. The total parameters reach 770B (770 billion), but the parameters activated per token are at the 49B (49 billion) level, enhancing inference efficiency. The context window is 1M tokens, which is advantageous for analyzing long documents or processing large codebases. According to Tencent's announcement, Hy4 has added vision input and Computer-Use capabilities compared to Hy4 Preview, and has been trained and evaluated on tasks involving professional software manipulation like Blender and CAD, office work, financial research, and game development tasks based on Unreal, Unity, and Godot engines.
| Item | Specification |
|---|---|
| Total Parameters | 770B |
| Active Parameters per Token | 49B |
| Context Window | 1M Tokens |
| Input Modality | Text, Image |
| Output Format | Text, JSON |
| Tool Calling | Supported |
| Model String | `tencent/Hy4` |
Real-World Testing: From Chart Restoration to One-Shot Game Generation
The Together AI team validated Hy4's practical performance through two scenarios.
1. Vision-Based Chart Data Extraction and HTML Reconstruction
They provided a screenshot of the Storage Accelerator Benchmark Chart from their blog post as input and requested JSON extraction. Hy4 returned the chart title and three numerical values exactly as they were. When instructed to reproduce a single HTML file chart using the same image, it visually restored the layout, labels, values, colors, dashed ceiling line, and footnote almost identically. The only change was that the font was replaced with a standard system font.
"Hy4 reproduced the layout, the labels, the values, the colors, the dashed ceiling line and the footnote."
2. One-Shot Browser Game Generation with Text Prompt Only
They provided the prompt "Create a browser game in a single HTML file without any libraries or external assets." Hy4 returned a polished arcade game called 'Polarity'. The core mechanics were implemented, including blocks falling from above, color matching, spacebar color switching, and avoiding yellow hazards, and it even voluntarily added a rules explanation title screen and best score retention between rounds feature. It ran immediately in the browser without code modification, and restarting after a game over functioned normally.
Pricing Policy: 95% Discount on Cash Input Tokens
The Together AI serverless pricing structure is as follows:
| Category | Price per 1M Tokens (USD) |
|---|---|
| Input Tokens | $0.83 |
| Cash Input Tokens | $0.042 |
| Output Tokens | $2.50 |
The price of cash input tokens is approximately 95% cheaper than regular input, resulting in significant cost savings for repeated calls with the same context. Since it is charged per request without the need for separate GPU instance reservations, it can scale flexibly from prototyping to production.
Lowering Developer Entry Barriers: Unified SDK, Playground, and Documentation
After installing the Together Python SDK (`pip install together`), it can be called immediately by simply setting the `TOGETHER_API_KEY`. Example code for chart extraction is included in the blog post, and prompt testing can be done in the playground without writing code. The model page provides a comprehensive overview of total parameters, limitations, and detailed pricing.
Implications: Global Serverless Debut of a Chinese Flagship Model
The entry of Tencent Hy4 into Together AI marks a rare case of a Chinese big tech flagship model being natively integrated into a Western serverless inference platform. With a model featuring 770B MoE scale, 1M context, vision, tool calling, and JSON output now accessible with just an API key and without initial infrastructure investment, it is expected to accelerate experiments in multimodal agents, code generation, and document understanding workloads for startups, research labs, and enterprises both domestically and internationally. In particular, the cash token discount is expected to directly contribute to TCO improvements during RAG, multi-turn conversations, and large document reprocessing.