Back to Home
Sign up to get a keyCognexia AI Legal — Enterprise Multilingual Legal Intelligence

CAILegal API

Build with CAILegal's jurisdiction-aware legal AI — chat completions, document analysis, and compliance checks via a stable, versioned /v1 API.

API Keys

Sign in to create and manage your API keys.

Sign up free

Quick start

curl https://cailegal-backend-production-7edb.up.railway.app/v1/chat/completions \
  -H "Authorization: Bearer cai_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "What is the notice period for termination under UAE labour law?",
    "jurisdiction": "AE"
  }'

Pricing

Free

Free trial credits

20 req/min

Try every /v1 endpoint

No credit card required

Great for prototyping

Most Popular

Pay-as-you-go

$8 / $32 per MTok (chat)

100 req/min

Chat completions: $8/MTok in, $32/MTok out

Document analysis: $0.15–$1.50/call by complexity

10% off past $500/mo, 20% off past $2,000/mo

Enterprise

Custom

2,000+ req/min

Dedicated capacity + SLA

Custom rate limits

Invoiced monthly, dedicated support

Specialized tool calls (document analysis, compliance checks) are billed per-call based on complexity, not raw tokens — reflecting the retrieval, citation grounding, and jurisdiction logic layered on top of the base model. Volume discounts apply automatically as usage grows.