The heaviest lifter. Long context, deep reasoning, complex multi-step problems, hard code refactors, nuanced creative writing. Reach for it when you would rather wait a little longer than read a mediocre answer.
| Model id | qai-max |
|---|---|
| Kind | Text (chat completions) |
| Endpoint | POST /v1/chat/completions |
| Price (CAD) | $1.50 per 1M input tokens; $5.00 per 1M output tokens |
| Context window | 1,048,576 tokens |
| Max output | 943,718 tokens |
| Streaming | Yes (server-sent events) |
| Tool calls | Yes |
| JSON mode | Yes |
| Best for | Quality matters more than speed |
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-max", "messages": [{"role": "user", "content": "Refactor this 400-line React component to use hooks and split into smaller components. Keep the visual output identical."}]}'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-max",
messages=[{"role": "user", "content": "Refactor this 400-line React component to use hooks and split into smaller components. Keep the visual output identical."}],
)
print(response.choices[0].message.content)Holds the full file in context and produces a coherent restructuring with an explanation of the changes. The kind of task you do not want to give to a smaller model and then babysit.