Home/Models/qai-flash
qai-flash ยท Text - fast tier

Fast cheap chat API

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.

qai-flash at a glance

Model idqai-flash
KindText (chat completions)
EndpointPOST /v1/chat/completions
Price (CAD)$0.20 per 1M input tokens; $0.50 per 1M output tokens
Context window1,000,000 tokens
Max output65,536 tokens
StreamingYes (server-sent events)
Tool callsYes
JSON modeYes
Best forHigh-volume chat / classification

All prices are in Canadian dollars (CAD). Prices come from live billing.

When to use it

Use it when

  • You are powering a chatbot that answers in 1-3 sentences
  • You need to label, classify, or tag thousands of items a day
  • You are summarising customer support tickets, emails, or short docs
  • You are running an LLM call inside a per-row pipeline

Pick another tier when

  • You need long-form reasoning or multi-step argument chains
  • The task requires writing or critiquing code beyond simple snippets
  • You need very tight JSON-schema adherence on complex structures
  • The output needs to be impressive enough to send to a customer unedited

Call qai-flash

curl
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."}]}'
Python (openai)
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.

Questions, answered.

How much does qai-flash cost?
$0.20 per 1M input tokens; $0.50 per 1M output tokens. All prices are in Canadian dollars (CAD). There is no monthly fee.
Is qai-flash OpenAI-compatible?
Yes. Call it through POST /v1/chat/completions on https://llm.quickcasa.ai/v1 with any OpenAI SDK by changing the base URL and passing a Qai API key.
What is the context window of qai-flash?
1,000,000 tokens for the whole conversation, with up to 65,536 tokens in one answer.