# Hy4 Preview now available on AI Gateway

DevFeed: [Hy4 Preview now available on AI Gateway](<https://devfeed.tech/articles/hy4-preview-now-available-on-ai-gateway-979.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/hy4-preview-now-available-on-ai-gateway>)

Author: Jerilyn Zheng

Published: 2026-08-28T00:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [Language models](<https://devfeed.tech/topics/language-models.md>), [vercel ai sdk](<https://devfeed.tech/topics/vercel-ai-sdk.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [AI, ML & Data Engineering](<https://devfeed.tech/topics/ai-ml-data-engineering.md>)

Tags: [ai-gateway](<https://devfeed.tech/tags/ai-gateway.md>), [api](<https://devfeed.tech/tags/api.md>), [coding](<https://devfeed.tech/tags/coding.md>), [inference](<https://devfeed.tech/tags/inference.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [performance](<https://devfeed.tech/tags/performance.md>)

## AI overview

Hy4 Preview, Tencent's open-source Mixture-of-Experts model, is now available through AI Gateway. The release describes AI SDK and coding-agent setup, along with gateway features for model access, usage tracking, routing, and pricing.

## Source excerpt

Hy4 Preview from Tencent is now available on AI Gateway. Hy4 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. To use Hy4 Preview, set model to tencent/hy4-preview in the AI SDK: To use it in a coding agent, see the coding agents guide, then run vercel ai-gateway coding-agents setup to connect agents like Claude Code, Codex, OpenCode, Cursor, Pi, and more and select tencent/hy4-preview inside the agent. Try Hy4 Preview in the model playground. AI 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, Zero Data Retention support, budgets for API keys, routing rules, and more. AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on Bring Your Own Key (BYOK) requests. You can view all language models available on AI Gateway. Read more