
Hy4 flashtencent/hy4-flash accepts text and images and produces text, with a 1M-token context window. Tencent designed it for document understanding, coding assistance and routine agent workflows. Bring your own key from a supported provider (including AIHubMix, OpenRouter, Infron, Nous Portal, ZenMux, Novita, Qiniu, OpenCode Zen Go and Kenari). AIHubMix lists $0.081 per million input tokens, $0.324 per million output tokens and $0.00324 per million cached input tokens. AnyRouter does not charge for BYOK inference.
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"
const anyrouter = createAnyRouter()
const { text } = await generateText({ model: anyrouter("tencent/hy4-flash"), prompt: "Summarize this document." })curl -fsSL https://anyr.dev/cli.sh | bash
anyr login
anyr claude --model "tencent/hy4-flash"Try it in the playground. Playbooks: AI SDK, coding agents, OpenAI SDK. Tencent's launch describes its intended uses and limitations.

Looking for the full catalog?Muốn xem toàn bộ danh mục?想看完整目录? Browse all modelsXem tất cả model浏览全部模型.