Hy4 preview

TencentMCP Tool CallReasoning
tencent/hy4-previewOpen Weights

A next-generation productivity model with significantly enhanced Agent and complex task execution capabilities.

Benchmark Pricing$0.83 / 1M in$2.50 / 1M out$0.04 cache read
Context: 1,024,000 tokens•Max Output: 64,000 tokens•Released: 2026-08-28

TECHNICAL SPECIFICATIONS

Context Window1,024,0001M tokens
Max Output64,00064K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Hy4 preview natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 1,024,000 tokens, this model can handle extremely large MCP resource manifests, complete database schemas, and multiple active server tool definitions simultaneously without degradation.

API CALL INVOCATION EXAMPLE

// Example: Calling Hy4 preview via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.TENCENT_API_KEY,
});

const response = await client.chat.completions.create({
  model: "tencent/hy4-preview",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

15 providers
NanoGPTtencent/hy4-preview
$0.83 / $2.50$0.04 cache
OpenCode Gohy4-preview
$0.83 / $2.50$0.04 cache
Tencent TokenHubhy4-preview
$0.83 / $2.50$0.04 cache
CrossModeltencent/hy4-preview
$0.96 / $2.88$0.05 cache
Tencent Token Planhy4-preview
$0.83 / $2.50$0.04 cache
Novita AItencent/hy4-preview
$0.83 / $2.50$0.04 cache
LLM Gatewaytencent/hy4-preview
$0.83 / $2.50$0.04 cache
AI/ML APItencent/hy4-preview
$1.15 / $3.44$0.06 cache
Venice AIhy4-preview
$1.04 / $3.13$0.05 cache
AIHubMixhy4-preview
$0.84 / $2.54$0.04 cache
Vercel AI Gatewaytencent/hy4-preview
$0.83 / $2.50$0.04 cache
Eden AItencent/hy4-preview
$0.83 / $2.50$0.04 cache
Hugging Facetencent/Hy4-preview
$0.83 / $2.50
Vancinehy4-preview
$0.67 / $2.00$0.03 cache
Kilo Gatewaytencent/hy4-preview
$0.83 / $2.50$0.04 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.04 / 1M tokens, saving up to 95% on repetitive MCP tool definitions and system instructions.