Redeem voucher

腾讯

Hy4

tencent/hy4
/v1/completions/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

No model description is currently available.

Input / output modalities
文本 · 图像 to 文本
Reference input / output price
Input¥3Output¥9per 1M tokens
Context window
256K
Added to catalog
Nov 4, 2026

Providers and pricing

ProviderInput /MOutput /MCached /MContextMax outputDetails
Tencent¥3¥9¥0.15256K128K

Tencent

Latency
2.41s
Throughput
76 tokens/s
Context
256K

Pricing

Input
¥3/M tokens
Output
¥9/M tokens
Cached
¥0.15/M tokens

Specifications

Context
256K
Max output
128K
Supported APIs
/v1/completions/v1/chat/completions/v1/messages/v1/responses/v1beta/models/*/v1/models/*

Hy4 code examples and API guide

Modelmesh normalizes requests and responses across service providers behind one consistent API.

Modelmesh provides an OpenAI-compatible Completion API for more than 300 models and service providers. Call it directly, through the OpenAI SDK, or with supported third-party SDKs.

Modelmesh-specific request headers in these examples are optional. When supplied, your application can appear on the Modelmesh rankings.

Supported endpointsSelect an endpoint to switch the example below.
/v1/completions
from openai import OpenAI API_KEY = "$SSY_API_KEY" client = OpenAI( base_url="https://router.shengsuanyun.com/api/v1", api_key=API_KEY, ) response = client.completions.create( model="tencent/hy4", prompt="Enter your request here", max_tokens=1024, ) print(response.choices[0].text)
                
              

Related Models