Hy4 Preview Now Available on Vercel AI Gateway

Tencent's Hy4 Preview is now available through Vercel AI Gateway — no provider account required, one API key, automatic fallbacks, and spend tracking out of the box.

Hy4 Preview is an open-source Mixture-of-Experts model with 770B total parameters (49B active per token) and a 1M-token context window. It's designed for long-horizon coding, document analysis, game development, and scientific reasoning — workloads where deep context and broad parameter count matter more than raw generation speed.

It joins the growing list of image and text models available on AI Gateway:

To use Hy4 Preview with the AI SDK, set model: 'tencent/hy4-preview' in streamText. For coding agents, run vercel ai-gateway coding-agents setup and select Hy4 Preview as the model.

Vercel is effectively becoming the API aggregator that doesn't charge a platform fee on inference — BYOK requests are also markup-free. Between Hy4 Preview's MoE scale and the two model additions from the same day, AI Gateway is filling up fast.