Hy4

TencentMCP Tool CallReasoning
tencent/hy4Closed API

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

Benchmark Pricing$0.46 / 1M in$1.39 / 1M out$0.02 cache read
Context: 1,048,576 tokens•Max Output: 65,536 tokens•Released: 2026-11-04

TECHNICAL SPECIFICATIONS

Context Window1,048,5761M tokens
Max Output65,53665.5K tokens
LicenseProprietaryCloud API only
Input Modalities
TextVision
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Hy4 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,048,576 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 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",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

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

PRICING BY PROVIDER

11 providers
NanoGPTtencent/hy4
$0.46 / $1.39$0.02 cache
CrossModeltencent/hy4
$0.96 / $2.88$0.05 cache
Vercel AI Gatewaytencent/hy4
$0.42 / $1.25$0.02 cache
Novita AItencent/hy4
$0.42 / $1.25$0.02 cache
Eden AItencent/hy4
$0.83 / $2.50$0.04 cache
Kilo Gatewaytencent/hy4
$0.83 / $2.50$0.04 cache
Tencent TokenHubhy4
$0.83 / $2.50$0.04 cache
Tencent Token Planhy4
$0.83 / $2.50$0.04 cache
Chutestencent/Hy4
$0.53 / $1.56$0.03 cache
OpenCode Gohy4
$0.83 / $2.50$0.04 cache
OpenRoutertencent/hy4
$0.42 / $1.25$0.02 cache

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

Prompt Caching Active

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

MODEL RESOURCES