QQabasUAE-founded local AI inference

Marhaba to Qabas.

Thank you for signing up to Qabas, a UAE-founded AI inference service for businesses and AI agents. Use this page to test your new secret key.

Test your new secret key

We use your key once to check it. We don’t save it.

Connect Qabas to your app

Choose the option you use. Copy the example, add your secret key as a private setting, and run it.

Python

Install the OpenAI package, then copy this into your Python project.

Install this firstpip install openai
from openai import OpenAI
import os

client = OpenAI(
    api_key=os.environ["QABAS_API_KEY"],
    base_url="https://api.qabas.ae/v1",
)

response = client.chat.completions.create(
    model="qwen-2.5-7b",
    messages=[
        {"role": "user", "content": "Hello from Qabas"}
    ],
)

print(response.choices[0].message.content)
1
First, save your key on your computer

Open Terminal, paste the right line below, replace paste-your-key-here with your Qabas key, then press Return.

Mac or Linuxexport QABAS_API_KEY="paste-your-key-here"
Windows PowerShell$env:QABAS_API_KEY="paste-your-key-here"