Five-minute quickstart
Make your first Qabas request.
You need two things: a Qabas secret key and the example below. No new SDK or sales call is needed.
API address
https://api.qabas.ae/v1Model name
qwen-2.5-7bFormat
OpenAI compatible
01
Get your secret key
Copy the key from your Qabas dashboard. Keep it private, just like a password.
Not sure it works? Check your key →02
Save it for this terminal window
Paste this line into Terminal. Replace the words after the equals sign with your real key.
export QABAS_API_KEY="your-key-here"This keeps the key out of the request code you will paste next.
03
Send one message
Copy the full example into the same Terminal window and press Return.
curl https://api.qabas.ae/v1/chat/completions \
-H "Authorization: Bearer $QABAS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-2.5-7b",
"messages": [
{"role": "user", "content": "Say marhaba in one short sentence."}
]
}'If you see an AI reply, you are connected.
The response also shows how many input and output tokens the request used.