Models
Four models, one entry point
The model id goes into the model field. Everything else in the request is as with OpenAI.
qwenConversation and textqwen answers in Kazakh, Russian and English, works with code and holds a 32k-token context. It is the default model.
qazgrammaKazakh grammarqazgramma fixes mistakes, summarises and changes style. The task travels in the model name; there is no separate endpoint.
til-asrSpeech to texttil-asr recognises Kazakh and Russian speech and restores punctuation. No limit on recording length.
autoAutomatic choiceauto reads the request and decides which model handles it best.
Getting started
Your first request in a minute
curl https://router.tilqazyna.kz/v1/chat/completions \
-H "Authorization: Bearer ВАШ_КЛЮЧ" \
-H "Content-Type: application/json" \
-d '{"model":"qwen","messages":[{"role":"user","content":"Сәлем!"}]}'What the models cannot do
Kazakh factual knowledge is uneven: check the number of regions and which region a city belongs to. The platform does not generate images or video. It does not clone voices.