Nexevo.aiNexevo.ai
Return to model library
Tencent Hunyuan 2024-09-19

hunyuan-code

国产代码补全 · 中文注释生成

Universaltextcode generation

数据政策 / Data Policy:未知 / Unknown

未经法务确认上游 ToS,不做承诺

查看 Tencent Hunyuan 服务条款

提示:此 provider 数据政策待法务审定;medical / legal 客户请联系商务确认 DPA。

context window
8K
tokens
maximum output
4.1K
tokens
knowledge cutoff
2024-06
Overall rating
7.50
/ 10

capability radar

codemathreasoncreatimultillong_cspeed
code8.5
Mathematics7.5
reasoning7.5
creativity6.5
multilingual8.0
long context7.0
speed7.5

Pricing

input price$0.672000/ 1M tokens
output price$2.004000/ 1M tokens

Support features

Streaming output

Recommended scenarios

国产代码补全
中文注释生成

Call example

Called via Nexevo.ai gateway — fully compatible with OpenAI SDK, just replace base URL

curl https://api.nexevo.ai/v1/chat/completions \
  -H "Authorization: Bearer $NEXEVO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hunyuan-code",
    "messages": [
      { "role": "user", "content": "Hello!" }
    ]
  }'

Other models of Tencent Hunyuan

hunyuan-code — Nexevo.ai | Nexevo.ai