Thali

AI infrastructure · Made for India

One API, access several models. Priced to fit your use.

Thali is a unified, OpenAI-compatible gateway for Indian developers. Sign up with your email, pay in ₹ by UPI or card, and route across every major model family — including models served from India.

Browse models Read the docs

No card, no commitment — a million tokens on our open models to start, and 1,000,000 more for every friend you bring.

from openai import OpenAI client = OpenAI( base_url="https://thaliai.in/api/v1", api_key="thali-sk-...", ) completion = client.chat.completions.create( model="ai_infer_test_1", messages=[{"role": "user", "content": "Explain UPI in one sentence."}], )

Two changed lines. Any OpenAI SDK. 200 OK

Refer & earn

Get your 1 Crore tokens

Refer friends — 1,000,000 tokens each, up to 1,00,00,000. Become a Token Crorepati.

AI Token Crorepati — one crore tokens
Open source · preview

Thali Code

$ thali code "add UPI checkout to my app" → planning across 3 files… ✓ edited routes.py, views.py, models.py ▍

An AI coding agent in your terminal — every model, one CLI, priced in ₹.

View on GitHub →
Coming soon

Thali Agent Sandbox

run
tools
files
browse
code
memory

Run, test and ship AI agents in a hosted sandbox — no infra to manage.

Models 171 44 providers, one endpoint
Billing ₹ only UPI & cards, no forex, input credit
India-hosted 8 models with hosted_in: "in"
Free to start 1,000,000 tokens free at signup — no card

Why Thali

No forex, no friction

Pay in rupees by UPI or card. An invoice on every top-up, and no forex markup on the way.

One API, every model

OpenAI-compatible endpoint with model fallback, provider routing and automatic failover built in.

Residency when it matters

A dedicated India-hosted tier for workloads that cannot leave the country. Zero prompt retention everywhere.

Honest metering

Every response names the backend that served it. Every request's exact cost is queryable. No silent substitutions.

Run an inference service?

Set your price, serve from anywhere — Indian datacentres earn a residency badge — and settle monthly in rupees.

Become a provider →