{"slug": "hy4-preview-now-available-on-ai-gateway", "title": "Hy4 Preview now available on AI Gateway", "summary": "Tencent's Hy4 Preview, an open-source Mixture-of-Experts model with 770B total parameters and 49B active per token, is now available on Vercel's AI Gateway, supporting a 1M-token context window for long-horizon coding, document analysis, game development, and scientific reasoning. The integration allows developers to use the model via the AI SDK or coding agents like Claude Code, Codex, OpenCode, Cursor, and Pi, with AI Gateway offering unified API access, usage tracking, and no markup on inference.", "body_md": "[Hy4 Preview from Tencent](https://vercel.com/ai-gateway/models/hy4-preview) is now available on AI Gateway.\n\nHy4 Preview is an open-source Mixture-of-Experts model with 770B total parameters and 49B active per token, aimed at long-horizon coding, document analysis, game development, and scientific reasoning. It serves a context window of 1M tokens.\n\nTo use Hy4 Preview, set `model`\n\nto `tencent/hy4-preview`\n\nin the [AI SDK](https://ai-sdk.dev/):\n\nTo use it in a coding agent, see the [coding agents guide](https://vercel.com/docs/ai-gateway/coding-agents), then run `vercel ai-gateway coding-agents setup`\n\nto connect agents like Claude Code, Codex, OpenCode, Cursor, Pi, and more and select `tencent/hy4-preview`\n\ninside the agent.\n\nTry Hy4 Preview in the [model playground](https://vercel.com/ai-gateway/models/hy4-preview).\n\nAI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in [custom reporting](https://vercel.com/changelog/custom-reporting-ai-gateway), [Zero Data Retention support](https://vercel.com/blog/zdr-on-ai-gateway), [budgets for API keys](https://vercel.com/docs/ai-gateway/authentication-and-byok/api-keys), [routing rules](https://vercel.com/docs/ai-gateway/models-and-providers/routing-rules), and more.\n\nAI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on [Bring Your Own Key](https://vercel.com/docs/ai-gateway/authentication-and-byok/byok) (BYOK) requests.\n\nYou can view [all language models](https://vercel.com/ai-gateway/models?type=text) available on AI Gateway.", "url": "https://wpnews.pro/news/hy4-preview-now-available-on-ai-gateway", "canonical_source": "https://vercel.com/changelog/hy4-preview-now-available-on-ai-gateway", "published_at": "2026-08-28 00:00:00+00:00", "updated_at": "2026-08-28 16:20:09.591219+00:00", "lang": "en", "topics": ["large-language-models", "ai-infrastructure", "ai-tools", "developer-tools"], "entities": ["Tencent", "Hy4 Preview", "Vercel", "AI Gateway", "AI SDK", "Claude Code", "Codex", "Cursor"], "alternates": {"html": "https://wpnews.pro/news/hy4-preview-now-available-on-ai-gateway", "markdown": "https://wpnews.pro/news/hy4-preview-now-available-on-ai-gateway.md", "text": "https://wpnews.pro/news/hy4-preview-now-available-on-ai-gateway.txt", "jsonld": "https://wpnews.pro/news/hy4-preview-now-available-on-ai-gateway.jsonld"}}