IFM Jais 3, K2 Horizon and Jais ASR
The three models on this page are developed by the Institute of Foundation Models (IFM) at Mohamed bin Zayed University of Artificial Intelligence (MBZUAI). The Jais 3 family is joint work of IFM and Inception42. Technical details are on the model cards on Hugging Face: Jais 3, K2 Horizon, Jais ASR.
All three models are free until 5 November 2026, 23:59 (TRT) and are retired on 6 November 2026 at 00:00 (see Retirement).
Models
Section titled “Models”| Model | Job | Endpoint | Context |
|---|---|---|---|
ifm/jais-3-mova-36b-a4b |
Arabic and English chat, tool calling | POST /v1/chat/completions |
524,288 |
ifm/k2-horizon-375b-a23b |
General model that reasons before every answer, tool calling | POST /v1/chat/completions |
524,288 |
ifm/jais-asr |
Transcribing Arabic recordings | POST /v1/audio/transcriptions |
— |
Both chat models accept text only; a message with an image or audio part is refused with 400.
Chat with Jais 3
Section titled “Chat with Jais 3”ifm/jais-3-mova-36b-a4b runs on the OpenAI-compatible chat endpoint; with the OpenAI SDK only base_url and the model id change.
from openai import OpenAI
client = OpenAI(base_url="https://llmtr.com/v1", api_key="llmtr-your_key")
response = client.chat.completions.create( model="ifm/jais-3-mova-36b-a4b", messages=[ {"role": "system", "content": "أنت مساعد مختصر."}, {"role": "user", "content": "اكتب ثلاث نصائح لكتابة بريد إلكتروني رسمي."}, ], max_tokens=4096,)
print(response.choices[0].message.content)The model reasons before answering by default. The reasoning comes back in the response's reasoning_content field and the answer in content.
reasoning_effort |
Behaviour |
|---|---|
high (default) |
The model reasons before answering. |
low |
Reasoning is off; the model answers directly. |
medium, none and minimal are refused with 400 on this model. Sending reasoning: { "enabled": false } is the same as low.
K2 Horizon
Section titled “K2 Horizon”ifm/k2-horizon-375b-a23b reasons before every answer and reasoning cannot be turned off. reasoning_effort selects medium or high; low, none and minimal return 400, and reasoning: { "enabled": false } is refused too.
curl "$LLMTR_BASE_URL/v1/chat/completions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "ifm/k2-horizon-375b-a23b", "reasoning_effort": "medium", "max_tokens": 8192, "messages": [ {"role": "user", "content": "A train leaves at 09:40 and arrives at 13:15. A second train leaves at 10:05 and takes 20 minutes longer. When does it arrive?"} ] }'On both chat models reasoning tokens count toward max_tokens. A short max_tokens cuts reasoning off before the answer is written; if a response comes back with an empty content and finish_reason: "length", raise the limit.
Tool calling and structured output
Section titled “Tool calling and structured output”Both models call tools in the OpenAI format and accept json_object or json_schema in response_format.
tool_choice |
ifm/jais-3-mova-36b-a4b |
ifm/k2-horizon-375b-a23b |
|---|---|---|
auto (or no field) |
Supported | Supported |
required |
400 |
Supported |
| A named function | 400 |
Supported |
none (with tools attached) |
400; to turn tool use off, do not send the tools field |
Supported |
To have Jais 3 call a particular tool, use tool_choice: "auto" and say so in the prompt.
When you add earlier assistant messages to the history, you do not need to send reasoning_content back.
Speech to text: Jais ASR
Section titled “Speech to text: Jais ASR”ifm/jais-asr transcribes Modern Standard Arabic and the dialects of 19 Arab countries and reports the language or dialect of the recording. With code_switch: true, when a speaker switches to English, French, Spanish or Italian, those words stay in their own script.
Audio is sent base64-encoded in a JSON body:
AUDIO_B64=$(base64 < recording.mp3 | tr -d '\n')printf '{"model":"ifm/jais-asr","audio_format":"mp3","response_format":"verbose_json","audio_base64":"%s"}' \ "$AUDIO_B64" > request.json
curl "$LLMTR_BASE_URL/v1/audio/transcriptions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ --data @request.json{ "task": "transcribe", "language": "MA", "duration": 1.969, "text": "ما يحكلك غير ضفرك.", "no_speech": false, "truncated": false}| Field | Required | Description |
|---|---|---|
model |
Yes | ifm/jais-asr |
audio_base64 |
Yes | Base64-encoded audio. About 9 MB of audio per request; use mp3 or ogg for long recordings. |
audio_format |
No | wav, mp3, flac or ogg. If omitted, it is read from the first bytes of the file. m4a and webm are not accepted. |
language |
No | ar (all dialects), msa (Modern Standard Arabic), a dialect by country code (AE, BH, DZ, EG, IQ, JO, KW, LB, LY, MA, MR, OM, PS, QA, SA, SD, SY, TN, YE), or en, fr, es, it. If omitted, the language is detected. |
diacritics |
No | true adds Arabic vowel marks to the transcript. |
code_switch |
No | true keeps English, French, Spanish and Italian words inside Arabic speech in their own script. |
response_format |
No | json (default, text only), text (plain text) or verbose_json. |
Fields of the verbose_json response:
| Field | Description |
|---|---|
language |
The recognised language or dialect code (such as msa, EG, MA, en). null when the recording has no speech. |
duration |
Length of the recording in seconds. |
no_speech |
true when the recording has no speech; text is then empty. |
truncated |
true when the transcript ended before the end of the recording. |
A recording can be at most 15 minutes long. prompt and file_id are not accepted on this model; the OpenAI SDK's file upload (multipart) call does not work on this endpoint either, so send the request as JSON as shown above.
Free period and daily allowance
Section titled “Free period and daily allowance”All three models run without charging your balance until 5 November 2026, 23:59 (TRT). During this period each account has a daily allowance:
| Model | Daily allowance |
|---|---|
ifm/jais-3-mova-36b-a4b |
200,000 tokens (input + output) |
ifm/k2-horizon-375b-a23b |
200,000 tokens (input + output) |
ifm/jais-asr |
60 minutes of audio |
The allowances renew every day at 00:00 (TRT), and all of an account's API keys count together. The two chat models have separate allowances; reasoning tokens count as output.
Near the end of the allowance a response can stop with finish_reason: "length". A refused request returns 429; the Retry-After header and the error.details.resetAt field say when you can try again:
{ "error": { "message": "Free models are busy right now. Paid models are not affected. Please try again after 2026-10-18 21:00 UTC. If this keeps happening, contact info@knowhy.co.", "type": "rate_limit_error", "details": { "reason": "free_quota_exhausted", "resetAt": "2026-10-18T21:00:00.000Z", "retryAfterSeconds": 3600 } }}You can also get 429 when free capacity is busy for everyone. The Retry-After header and the resetAt field say when you can try again, and such a request does not count against the daily allowance. If it keeps happening, contact info@knowhy.co.
Retirement
Section titled “Retirement”From 6 November 2026, 00:00 (TRT), all three models answer requests with 410 model_retired. Your requests are not silently routed to another model; nothing is charged to your account until you change the model id yourself. The model pages stay in the catalog.
Your prompts, recordings and the responses are passed to IFM for processing. Because these models are offered free of charge, the provider may log the content and use it to improve the model; do not send sensitive, personal or customer data. LLMTR does not write prompt, audio or transcript content to the usage log; the log keeps token counts and audio duration.
Errors
Section titled “Errors”| Status | When |
|---|---|
400 invalid_request |
An unsupported reasoning_effort level, a required or named tool_choice on Jais 3, an unsupported audio_format / language / response_format, audio that cannot be decoded, a prompt field on Jais ASR. |
400 unsupported_input |
A chat message with an image or audio part, tool_choice: "none" with tools attached on Jais 3, file_id on Jais ASR. |
413 |
The recording is longer than 15 minutes. Split it. |
429 rate_limit_error |
The daily free allowance is used up, or the short-term request limit is full. Retry-After gives the remaining wait in seconds. |
503 model_unavailable |
The model is temporarily unavailable. If Retry-After is present, try again after that time. |
410 model_retired |
After 6 November 2026, 00:00 (TRT). |
See Errors for the general error format.