Back to blog
Workflow
Vercel

When to use a vision coding agent instead of a plain LLM?

Thắng Đoàn
Thắng Đoàn

Developers wiring coding agents into a large codebase often hit two walls: models that cannot read images or screenshots, and models that lose the thread on long-running tasks. Vercel's AI Gateway now offers Tencent Hy4, a model built for exactly that mix, with vision, computer use, and a 1M-token context window.

What it is

Hy4 is Tencent's first Hy model with vision, available on AI Gateway under the model name tencent/hy4. It supports reasoning, tool calling, structured outputs, image input, and computer use in both command-line and graphical interfaces, at 50% off through December 31, 2026.

Applied case

A developer using Claude Code, Codex, or Cursor can install the latest Vercel CLI, run setup, and select tencent/hy4 in the agent. Because it carries a 1M-token context window, it can work across an entire codebase or many documents at once, and per Vercel it follows instructions more closely than Hy4 Preview, especially on long context, long-running tasks, and deep research. Its vision lets it pick fine detail out of an image and read complex charts, useful when an agent must interpret UI screenshots or architecture diagrams.

  • Use tencent/hy4 in Claude Code, Codex, or Cursor after running Vercel CLI setup; 1M-token context covers a whole

When to use it

Use when your agent needs vision, computer use, or sustained work over a huge context.
Skip when a cheaper text-only model already handles your task.

Read more

Tencent Hy4 on AI Gateway

Coding agents guide

AI Gateway

Share:

Recommended for you

Enjoyed this article?

Subscribe for new articles. No spam. Unsubscribe anytime.

By subscribing you agree to receive the newsletter. No spam, and you can unsubscribe anytime.