Характеристики
- Контекстное окно
- 1,048,576
- Входящие данные
- Текст, Изображения
- Исходящие данные
- Текст
Цены
Оплата по факту за использованные токены, цены за 1M токенов в рублях.
| Входящие токены | 4.49 ₽ |
| Исходящие токены | 18.03 ₽ |
| Чтение кеша | 0.19 ₽ |
Описание модели
Hy4 flash is a cost-efficient variant of [Hy4](https://openrouter.ai/tencent/hy4) from Tencent, served with roughly a quarter of the flagship's parameter count for lower latency and cost. It targets code assistance, agent...
API и примеры кода
Единый OpenAI-совместимый endpoint. Укажите base_url и ключ из личного кабинета.
curl https://app.cloudcompute.ru/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"tencent/hy4-flash","messages":[{"role":"user","content":"Привет!"}]}'from openai import OpenAI
client = OpenAI(
base_url="https://app.cloudcompute.ru/api/v1",
api_key="YOUR_KEY",
)
resp = client.chat.completions.create(
model="tencent/hy4-flash",
messages=[{"role": "user", "content": "Привет!"}],
)
print(resp.choices[0].message.content)Другие модели Tencent
Tencent: Hy-MT2-1.8Btencent/hy-mt2-1.8bHy-MT2-1.8B is a compact 1.8B-parameter translation model from Tencent. It supports 33 language pairs and five Chinese dialect and minority-language p...Tencent: Hy-MT2-30B-A3Btencent/hy-mt2-30b-a3bHy-MT2-30B-A3B is Tencent's flagship translation model in the Hy-MT2 family. It supports 33 language pairs and five Chinese dialect and minority-langu...Tencent: Hy-MT2-7Btencent/hy-mt2-7bHy-MT2-7B is a 7B-parameter translation model from Tencent. It supports 33 language pairs and five Chinese dialect and minority-language pairs, with w...Tencent: Hy3tencent/hy3Hy3 is a 295B-parameter Mixture-of-Experts model from Tencent (21B active, 192 experts with top-8 routing) built for reasoning, agentic workflows, and...Tencent: Hy3 previewtencent/hy3-previewHy3 preview is a high-efficiency Mixture-of-Experts model from Tencent designed for agentic workflows and production use. It supports configurable rea...Tencent: Hy4tencent/hy4The official release of Hy4 delivers comprehensive and substantial improvements over Hy4 Preview, with particularly strong gains in agentic capabiliti...
Все модели Tencent →