Cheap and quick. Optimised for chat, summarisation, classification, intent detection, and high-volume background tasks where you care more about unit economics than getting the most clever answer.
| Model id | qai-flash |
|---|---|
| Kind | Text (chat completions) |
| Endpoint | POST /v1/chat/completions |
| Price (CAD) | $0.20 per 1M input tokens; $0.50 per 1M output tokens |
| Context window | 1,000,000 tokens |
| Max output | 65,536 tokens |
| Streaming | Yes (server-sent events) |
| Tool calls | Yes |
| JSON mode | Yes |
| Best for | High-volume chat / classification |
All prices are in Canadian dollars (CAD). Prices come from live billing.
curl https://llm.quickcasa.ai/v1/chat/completions \
-H "Authorization: Bearer $QAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "qai-flash", "messages": [{"role": "user", "content": "Classify this support ticket as: bug, billing, feature-request, other. Reply with just the label."}]}'import os
from openai import OpenAI
client = OpenAI(base_url="https://llm.quickcasa.ai/v1", api_key=os.environ["QAI_API_KEY"])
response = client.chat.completions.create(
model="qai-flash",
messages=[{"role": "user", "content": "Classify this support ticket as: bug, billing, feature-request, other. Reply with just the label."}],
)
print(response.choices[0].message.content)Returns one word. Great for triage pipelines, label-then-route flows, or feeding a downstream tool. It reasons briefly before answering, so leave a few hundred tokens of max_tokens headroom.