Tencent
HY 4 Preview
hy4-previewPreviewInput · per 1M tokens
$0.2016,80 ₽9,00 ₴Official price $0.8370,06 ₽37,53 ₴
Output · per 1M tokens
$1.20101 ₽54,00 ₴Official price $2.50210 ₽113 ₴
−52% vs the official price
You are only charged for the tokens the model actually processed.
Quick start
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.flua.ink/v1",
api_key=os.environ["FLUA_API_KEY"],
)
response = client.chat.completions.create(
model="hy4-preview",
messages=[
{"role": "user", "content": "Hi! Tell me about yourself in two sentences."},
],
)
print(response.choices[0].message.content)- Provider
- Tencent
- Type
- Text
- Endpoint
/v1/chat/completions- API formats
- OpenAI Chat Completions