Home/Models/qai-think
qai-think ยท Reasoning

Reasoning LLM API

A reasoning model. Spends extra compute thinking through a problem before answering. Best at math, formal logic, multi-constraint planning, and "let me check my work" style tasks where a wrong-but-confident first guess is the failure mode you most want to avoid.

qai-think at a glance

Model idqai-think
KindText (chat completions)
EndpointPOST /v1/chat/completions
Price (CAD)$1.80 per 1M input tokens; $8.00 per 1M output tokens
Context window1,048,576 tokens
Max output512,000 tokens
StreamingYes (server-sent events)
Tool callsYes
JSON modeYes
Best forRight answer over fast answer

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

When to use it

Use it when

  • The problem has a single correct answer and you need to land on it
  • You are doing math, scheduling, optimisation, or symbolic reasoning
  • You need a model that will catch its own mistakes
  • You are running a workflow where one wrong step poisons the whole chain
  • You can wait a few seconds for the right answer

Pick another tier when

  • You need the first token on screen straight away in a chat UX
  • The task is creative / open-ended (the reasoning overhead is wasted)
  • You are doing high-volume classification or summarisation
  • You need answers in under a second

Call qai-think

curl
curl https://llm.quickcasa.ai/v1/chat/completions \
  -H "Authorization: Bearer $QAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "qai-think", "messages": [{"role": "user", "content": "I have meetings at 10-11am Eastern, 1-2pm Pacific, and 4-5pm London. Find one 30-minute slot that works for someone in Singapore (no later than 10pm local)."}]}'
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-think",
    messages=[{"role": "user", "content": "I have meetings at 10-11am Eastern, 1-2pm Pacific, and 4-5pm London. Find one 30-minute slot that works for someone in Singapore (no later than 10pm local)."}],
)
print(response.choices[0].message.content)

qai-think works through the time-zone conversions step by step before answering, instead of confidently guessing.

Questions, answered.

How much does qai-think cost?
$1.80 per 1M input tokens; $8.00 per 1M output tokens. All prices are in Canadian dollars (CAD). There is no monthly fee.
Is qai-think 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-think?
1,048,576 tokens for the whole conversation, with up to 512,000 tokens in one answer.