I got burned last month. We were building a document processing API and I saw the headlines about Tencent's new 770B model dropping with "Apache 2.0" licensing. I ran the numbers, got excited about the pricing, and mentioned it in a meeting as a potential self-hosted option for a client. Our legal team asked to see the license file. That's when I actually read it.
The LICENSE file said, and I'm quoting from memory because I still have the email-"This License is not the Apache License, Version 2.0." I'd gotten punked by a headline. The license was derived from Apache 2.0, sure, but it had modifications that matter the moment you start thinking about commercializing anything. That gap between "open weights" and "open license" is exactly where I think most developers are going to stumble with Hy4.
What Actually Shipped vs. What The Headlines Said
Tencent released Hy4 on November 20th: a 770B parameter model with 49B active parameters, mixture-of-experts architecture, 1M token context, and a 1.23B vision encoder. The weights are on Hugging Face. The API is live. The benchmarks they're claiming look credible, especially for finance and document work.
But here's what matters for us building actual products: the license is called the Tencent Hy License v1.0. It's Apache 2.0-derived, which matters legally, except for one specific section. Section 10 adds a revenue cap. If your product generates more than $50M in annual gross revenue anywhere in the world or hits 100M monthly active users, you need explicit written permission from Tencent to run this model as a service.
The preview version was actually Apache 2.0. The final release isn't. That's the kind of change that should be in the headline, but it wasn't, and that's exactly why legal review processes fail. Someone will whitelist "Apache 2.0" and wave this through without reading the actual file.
The Price Math That Actually Matters
I spent an hour doing the numbers because pricing claims in AI are almost always misleading in one direction or another. At list price, Hy4 costs $0.834 per 1M input tokens and $2.501 per 1M output tokens. They're running a 50% discount until the end of the year, which brings it down to $0.417 and $1.25 respectively.
For a realistic workload, 10M input and 2M output tokens monthly, Hy4 at promo pricing runs about $6.67. At list price, $13.34. Compare that to Claude Sonnet or Gemini, and you're looking at something like a fifth of the cost.
But here's where I think people get this wrong: self-hosting math doesn't work at Hy4's scale. The weights are 1.55TB for full precision, 0.79TB in FP8. That's not "run it on a machine in the closet" territory. You're talking distributed inference, tensor parallelism across 8 GPUs at minimum, and significant infrastructure cost. The actual comparison isn't Hy4 self-hosted versus Claude, it's Hy4 API versus Claude. And at that point, you need to factor in what your engineering time costs versus the API bill.
My Take: When This Actually Makes Sense
I'd use Hy4's API if I'm building something that sits in that sweet spot: revenue-constrained, document-heavy, needs good context window, and wants to avoid vendor lock-in long-term. The OpenAI-compatible endpoint means I can migrate off it later without rewriting integration code. That's genuinely valuable.
The license clause doesn't scare me if I'm under those thresholds. It scares me if I'm growing toward them. That's a conversation to have with Tencent before you're successful enough to need their permission, not after.
What I won't do: assume open weights means no legal friction. What I need to do: actually read the LICENSE file and run numbers on hosting costs before recommending self-hosting at this scale.
The Code Reality
If you're integrating Hy4, here's what a basic call looks like with the OpenAI client:
from openai import OpenAI
client = OpenAI(
base_url="https://api.tencentcloudbase.com/v1",
api_key="your_key_here"
)
response = client.chat.completions.create(
model="hy4",
messages=[
{"role": "user", "content": "Extract dates from this contract."}
],
temperature=0.9,
top_p=1.0,
extra_body={"reasoning_effort": "no_think"} # cheap mode for extraction
)
Use "no_think" for classification and extraction. Use "high" for reasoning work. That choice directly hits your bill.
What's Your Threshold?
The real question I'm sitting with: if you're building something with real revenue potential, is Tencent's licensing friction worth the cost savings? For most of us, probably not at scale. But for teams doing specific document work in regions where latency to US providers is brutal, Hy4 might actually be the right call.
What would make you choose this over the established options? Let me know.
Source: This post was inspired by "Tencent Hy4 Open Weights: Price, License, When to Use It" by Dev.to. Read the original article