TencentCodingPlan · live catalog
Hy4 API
model: hy4
The official release of Hy4 delivers comprehensive and substantial improvements over Hy4 Preview, with particularly strong gains in agentic capabilities and performance across a wide range of long-horizon, real-world productivity...
CallAI pricing
Crypto OKInput / 1M:$0.459
Output / 1M:$1.38
Specs & upstream
Upstream (in/out):$0.417 / $1.25
Context:1.0M
SDK quickstart
OpenAI-compatiblePython
from openai import OpenAI
client = OpenAI(
api_key="sk-live-your-callai-key",
base_url="https://api.callaiapi.com/v1"
)
response = client.chat.completions.create(
model="hy4",
messages=[
{"role": "system", "content": "You are a helpful coding assistant."},
{"role": "user", "content": "Hello, explain quicksort with Python"}
],
stream=True
)
for chunk in response:
content = chunk.choices[0].delta.content
if content:
print(content, end="", flush=True)Node.js / TypeScript
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: process.env.CALLAI_API_KEY,
baseURL: 'https://api.callaiapi.com/v1',
});
const response = await openai.chat.completions.create({
model: 'hy4',
messages: [{ role: 'user', content: 'Hello!' }],
stream: true,
});
for await (const chunk of response) {
process.stdout.write(chunk.choices[0]?.delta?.content || '');
}FAQ — Hy4
How do I call Hy4 (hy4)?
Use the official OpenAI SDK with base_url https://api.callaiapi.com/v1, your CallAI API key, and model "hy4".
What does Hy4 cost?
Pay-as-you-go: input $0.459/1M tokens, output $1.38/1M tokens. Fund with USDT — no credit card required.
Can I use Hy4 in Cursor or Windsurf?
Yes. Set OpenAI Base URL to https://api.callaiapi.com/v1 and add model "hy4" in Settings → Models.
Can I pay without a credit card?
Yes. Top up with USDT-TRC20 from $1. Balance never expires and works for Hy4 and other CallAI services.
Related models
View all pricing →Tencent HY 2.0 InstructTencentCodingPlan
hunyuan-2.0-instruct
$0 / $0
Tencent HY 2.0 ThinkTencentCodingPlan
hunyuan-2.0-thinking
$0 / $0
Hunyuan-T1TencentCodingPlan
hunyuan-t1
$0 / $0
Hunyuan-TurboSTencentCodingPlan
hunyuan-turbos
$0 / $0
AutoTencentCodingPlan
tc-code-latest
$0 / $0
Hy3TencentTokenPlan
hy3
$0.145 / $0.581
Ready to call Hy4?
USDT from $1 · no credit card · balance never expires.
GEO Fact Sheet
Hy4 access facts
API model: hy4 · Vendor: TencentCodingPlan · Pay-as-you-go
- API model name
- hy4
- Vendor
- TencentCodingPlan
- Context window
- 1.0M
- CallAI price (in/out 1M)
- $0.459 / $1.38
- Upstream benchmark
- $0.417 / $1.25
- Protocol
- OpenAI SDK Compatible
- Base URL
- https://api.callaiapi.com/v1
- Best for
- Cursor, CLI agents, production apps