Tencent Hy4 is live on Together AI

Together AI has made Tencent Hy4 available on its platform as of the announcement, offered through both serverless and dedicated endpoints. The model is addressed with the string tencent/Hy4 and runs through Together's chat completions API. Hy4 is Tencent's flagship model and the first in the Hy family to take image input alongside text. The context window on Together AI is 1 million tokens, and the model returns text.
Pricing is $0.83 per 1M input tokens, $2.50 per 1M output tokens and $0.042 per 1M cached input tokens. The cached-input rate is roughly a twentieth of the standard input rate, which matters for workloads that repeatedly send the same long preamble — a large system prompt, a document or a codebase excerpt. In practice, applications that keep a stable prefix and vary only the tail of each request will see most of their input spend land at the cached rate rather than the full one.
The supported capabilities on Together's platform are image input, tool calling and JSON output. Images are supplied as an image_url block inside the message content, with the image inlined as a base64 data URL. JSON output is requested by setting response_format to a json_object type, and tool calling works through the standard tools parameter. Those three features are the usual building blocks for agent-style and structured-extraction applications: tool calling lets the model request functions the host application executes, while forced JSON output lets a downstream service parse the response without free-text scraping.
Together described two hands-on tests. For the vision check, it gave Hy4 a screenshot of a bar chart from an earlier post on its Storage Accelerator and asked for the contents as JSON. The model returned the chart title and all three values matching what appears in the image: TSA warm read at 3.18, R2 origin direct at 0.16 and TSA cold read at 0.14, all labelled. That is a small sample rather than a benchmark, but exact figure transcription from an image is the kind of task where vision models commonly drift, so an exact match on three values is a reasonable signal.
The second vision task asked Hy4 to rebuild the chart as a single HTML file from the same screenshot, preserving layout as well as numbers. According to Together, the output reproduced the layout, labels, values, colors, a dashed ceiling line and a footnote. The typeface differed because the request specified generic fonts. Rendering a chart faithfully in raw HTML and CSS involves both reading the visual structure and translating it into markup, which leans on the model's coding ability as much as its vision.
The coding test used a single text prompt asking for a small original browser game in one HTML file, with no libraries or external assets, keyboard controls, a score, a lose condition, a restart, and a reply containing only the HTML. Hy4 produced a game called Polarity. Blocks fall from the top of the screen; the player catches blocks matching the current color and presses Space to switch colors, and a yellow hazard ends the run on contact. The model also added a title screen explaining the rules and a persistent best score across rounds, neither of which was requested. Together saved the output as an HTML file and ran it without edits, playing through a round, reaching the game-over screen and restarting successfully.
A one-prompt game that runs unmodified is a useful smoke test of instruction-following and code generation combined, though it says little about how the model handles larger codebases, ambiguous requirements or long multi-file changes. The unrequested title screen and best-score persistence are a small illustration of a familiar trade-off: models that add sensible extras can feel polished, but in production pipelines where output must match a strict contract, those same additions can complicate parsing and review.
For teams evaluating Hy4, the 1M-token context is the headline capability alongside vision. Long context is useful for whole-repository reading, long transcripts and large document sets, but cost scales with tokens sent, so the cached-input rate is likely to shape how such applications are designed. A plausible pattern is a stable, cacheable prefix holding reference material with only the query at the end. This is my own reading of the pricing structure rather than a claim about how the caching behaves in every case.
Availability is immediate on serverless, which requires no capacity planning, and on dedicated endpoints for reserved capacity. Together's setup path is to install the together Python SDK, set a TOGETHER_API_KEY, and call the chat completions endpoint with the model string. Together also points to the playground for trying the model without code and to Tencent's own announcement for the wider release, which it says includes new computer-use capabilities.
Why it matters: Teams already on Together AI can switch a model string to reach a flagship Tencent model with vision and a 1M-token window, and the low cached-input price makes long-prefix applications more economical to run, though that is an inference from the rates rather than a measured result. The addition of image input matters most for product teams building document, chart and screenshot workflows, where structured extraction and code generation from visuals are common requirements. Developers should treat the published tests as anecdotal and run their own evaluations against their specific extraction and coding tasks before committing.
Based on reporting from the original publisher. Visit the source for full context and later updates.
Publisher excerpt
Tencent Hy4 is live on Together AI. We tested its image input by extracting and rebuilding a chart, then tried its coding with a browser game generated from one prompt.