News Developer Tools

Tencent’s Hy4 Preview Arrives on Vercel’s AI Gateway

Tencent's Hy4 Preview, an open-source 770B-parameter MoE model with 1M-token context, is now live on Vercel's AI Gateway for coding agents.

Tencent's Hy4 Preview, an open-source Mixture-of-Experts language model, is now available through Vercel's AI Gateway, according to Vercel's changelog. The model carries 770 billion total parameters with 49 billion active per token, and it serves a 1 million token context window, positioning it for long-horizon coding, document analysis, game development, and scientific reasoning tasks.

Developers can call the model by setting tencent/hy4-preview as the model string in the AI SDK's streamText function, per the changelog. The same identifier works inside coding agents such as Claude Code, Codex, OpenCode, Cursor, and Pi after running the platform's coding-agents setup command, letting teams swap Hy4 Preview into existing agent workflows without changing their integration code. Vercel also offers a model playground for testing the model directly.

AI Gateway routes requests to Hy4 Preview alongside other providers under a single API, tracking usage and cost while offering retries, failover, and routing rules aimed at higher uptime than calling providers directly. Vercel's changelog states that Gateway pricing mirrors provider rates with no markup and no platform fee on inference, a policy that also applies to Bring Your Own Key requests.

Source: Hy4 Preview now available on AI Gateway – Vercel.