Developers
Power any Ayurveda app with AI Square
The AI² (spoken: AI Square) API brings cite-first classical intelligence to your product — verse-level grounding, six-classic scope, and token-metered models built for Ayurveda.
Models
Native AI² model family. Thinking depth controls how deeply the engine reasons before it responds — no third-party model names exposed in your product.
| Model | Thinking | Input / 1M | Output / 1M | Context |
|---|---|---|---|---|
AI²-ayu-flash | Low Latency | $0.25 | $0.40 | 128K |
AI²-ayu-proRecommended | Medium | $0.25 | $0.40 | 128K |
AI²-ayu-max | Extra high | $0.14 | $0.28 | 1M |
AI² — GOD modeGOD | Maximum Quantum | $1.20 | $4.80 | 1M |
API keys
Generate keys to call AI² models from your backend. Early access is rolling out to partners.
Partner keys are issued manually — self-serve generation stays locked. Contact hello@quaasx.com for early access. Required header: Authorization: Bearer sk-ai2-…
Quick start
OpenAI-compatible chat completions. Scope classics with @Charaka in the user message or via metadata.scoped_works.
# List models
curl https://api.ai2.quaasx.com/v1/models
# Chat completion (non-stream)
curl https://api.ai2.quaasx.com/v1/chat/completions \
-H "Authorization: Bearer $AI2_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ai2-ayu-pro",
"messages": [
{"role": "user", "content": "@Charaka @Sushruta Compare jwara nidana with citations"}
],
"stream": false
}'
# Streaming (SSE) — same endpoint with "stream": true
curl -N https://api.ai2.quaasx.com/v1/chat/completions \
-H "Authorization: Bearer $AI2_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ai2-ayu-flash",
"messages": [{"role": "user", "content": "What is jwara?"}],
"stream": true
}'Models: ai2-ayu-flash, ai2-ayu-pro, ai2-ayu-max, ai2-ayu-god. Same-origin proxy path: /api/v1/* on the AI² site.
Cite-first by default
Responses anchor to classical verse IDs — built for regulated wellness and education apps.
Token metering
Pay per input and output token. Flash for volume; max for depth; GOD mode for partners.
Cite-first classical core
Ancient Intelligence × Artificial Intelligence — proprietary AI², not a generic LLM wrapper.