Last refreshed 2026-11-04. Next refresh: weekly.
Why use Hy4 on Vercel AI Gateway?
Vercel AI Gateway offers Hy4. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.
Compare Hy4 across 3 providers to find the best fit for your use caseSetup recipe
Python + curlpip install openaiexport AI_GATEWAY_API_KEY=...import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AI_GATEWAY_API_KEY"],tencent/hy4Request example
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AI_GATEWAY_API_KEY"],
base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
model="tencent/hy4",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Gotchas
- Use provider model ID "tencent/hy4", not the LLMReference slug "hy4".
- creator/model-name e.g. kwaipilot/kat-coder-pro-v2
- The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.
Compare Hy4 Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Tencent Cloud TI Platform | $0.83 | $2.50 |
| OpenRouter | — | — |
| Vercel AI Gateway | — | — |
Capabilities
About Hy4
Hy4 is Tencent Hy's flagship large language model, released November 4, 2026 as the successor to Hy4 preview. It is the first Hy model with vision input, and Tencent serves it on Tencent Cloud, OpenRouter and in its CodeBuddy, WorkBuddy, Yuanbao and ima products. Tencent says it plans to open-source the weights, with vLLM and SGLang support and a system card at that time; as of release the model is API-only.