Vercel AI Gateway 開放使用 Hy4 Flash,限時享 5 折
Hy4 Flash now available on AI Gateway for 50% off
使用大型語言模型時,功能和費用常要一起考量。
- Vercel AI Gateway 現在提供 Tencent 的 Hy4 Flash,這是 Hy4 系列中價格較低的模型,保留推理、工具呼叫、結構化輸出、提示詞快取和圖片輸入,也有相同的 1M-token 上下文視窗。
- 不需要推理的請求則可關閉這項功能。透過 AI Gateway 使用時,輸入、快取輸入和輸出 token 到 2026 年 11 月 29 日都有 5 折優惠,適合留意大量程式開發、AI 助理或檔案處理工作所需的成本。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
Hy4 Flash 保留 Hy4 系列功能並大幅降低每個 token 的價格,文中也交代限時折扣,能看出成本與功能之間的取捨。
# Hy4 Flash now available on AI Gateway for 50% off - Vercel
Skip to content
[](https://vercel.com/home)
Copy Wordmark Copy Logo
Download Brand Assets Brand Guidelines
Products
Agent Stack
Core Platform
Tools
Resources
Learn
Build
Explore
Ask AIDashboard
- * *
Products
Agent Stack
Core Platform
Tools
Resources
Learn
Build
Explore
Hy4 Flash now available on AI Gateway for 50% off


16 Nov 2026
1 min read
Copy
Hy4 Flash from Tencent is now available on AI Gateway with an introductory 50% discount on input, cached input, and output tokens through November 29, 2026.
Hy4 Flash is the new lower-cost model in the Hy4 family. It keeps the full Hy4 feature set at roughly a tenth of the price per token: reasoning with preserved thinking across turns, tool calling, structured outputs, prompt caching, and image input, with the same 1M-token context window. Reasoning can be turned off for requests that don't need it, which suits high-volume coding, agent, and document workloads.
Use tencent/hy4-flash as the model name:
AI SDK
AI SDK AI SDK fx fx Chat Completions Chat Completions
1import { streamText } from 'ai';2
3const result = streamText({4 model: 'tencent/hy4-flash',5 prompt: 'Summarize the tradeoffs of server-side rendering in three sentences.',6});7
8for await (const text of result.textStream) {9 process.stdout.write(text);10}
Copy for agentView model details ↗
To use it in Claude Code, Codex, Cursor, and more, install the latest Vercel CLI and run setup:
npx vercel ai-gateway setup
Then select tencent/hy4-flash in the agent. See the coding agents guide for details.
Try Hy4 Flash 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.
Reference Architecture
Choose a stack and work through the decisions behind it, with curated documentation, guides, templates, and courses to help you build.
- Agent stack: Build and operate agents with models, tools, and durable workflows.
- Web applications: Choose rendering, data, authentication, and caching approaches.
- Backends: Choose a runtime, connect services, and run background work.
Build with prompts
Build an app, extend an agent, or improve your project with ready-to-use prompts for your coding agent.
Browse the prompt library ·Read the Markdown index
Agent Stack
Core Platform
Security
Tools
Frameworks
SDKs
Build
Learn
Explore
Company
Legal & Trust
- Privacy Policy
- Terms of Service
- Cookie Policy
- DPA
- Acceptable Use Policy
- Legal (all documents)
- Trust Center
- Status
- Cookie Preferences
Social
Select a display theme:system light dark