Six open models, one key, rupee billing from Indian GPUs. What Sarvam Token Factory changes for developers, and what 72 measured calls say.

Keep reading
Twelve Indic prompts, six serverless models, one API key, ₹3.72. What I measured, what broke, and why the docs' one-line 'best for' column is not a decision.
Sarvam Token Factory is a guitar, and the models are the strings you change while you play. Prices shown are the measured ₹ per answer from my own 72-call run.
Most teams pick a model the way they pick a bank. Once. Reluctantly. And then they live with it for two years because switching means a new SDK, a new key, a new invoice and a migration nobody has time for.
Sarvam Token Factory, which opened to everyone on 16 November 2026, attacks that decision directly. It is an inference stack — the serving layer that turns a trained model into an HTTP endpoint — running on GPU clusters in India, and it serves both Sarvam's own model and a set of open-weight models behind one OpenAI-compatible API.
The interesting part isn't the model list. It's that the model list is a field in a request body.
Strip the marketing and there are three pieces.
A model catalogue: Sarvam 105B, Sarvam 105B Conversations, GLM 5.3, GLM 5.3 Flash, Gemma 4 31B, DeepSeek V4.1 Flash 1017 (in two variants), plus a few models you need to request capacity for. A serving layer with the usual inference machinery — batching, a multi-tier KV cache, cache-aware routing — that Sarvam runs on its own hardware. And a billing surface: one Sarvam API key, one credit balance, prices in rupees per million tokens.
You call it the way you call OpenAI. Same request shape, same streaming, same tool calling, same structured output. The difference is the base_url and the model string.
That's it. That's the product. Everything else is a consequence.
The part you don't have to run: Sarvam serves these models from GPU clusters in India, so the only thing you touch is the request body. Photo: ChrisDag, Wikimedia Commons, CC BY 2.0.
Here's the framing I keep coming back to, and I used it constantly while building a benchmark against this thing:
Sarvam Token Factory is a guitar, and the models are the strings you change while you play.
One instrument, six strings, and no reason to buy a second guitar. Photo: Unsplash, Unsplash Licence.
The instrument is the endpoint: one neck, one set of frets, one hand position. The strings are the models. A cheap string for a jingle, a heavy one for the solo, and you swap mid-song without putting the guitar down.
Compare that to the arrangement most teams have today. Six providers, six SDKs, six keys, six invoices, six rate-limit policies, and a currency conversion layer before you can even say which option is cheaper. You don't switch strings in that setup. You buy a second guitar.
The model count is the headline. The single key is the product.
A token is the unit these APIs bill in — roughly three-quarters of a word in English, and often fewer characters in Indic scripts. Input tokens are what you send, output tokens are what the model generates, and cached input tokens are a prefix the server already had in memory, billed at a much lower rate.
Every model on Token Factory bills against the same credits, at that model's own input, cached and output rates. One balance. One place to look when a run costs more than you expected.
Rate limits work the same way: documented at 50 requests per minute for most models and 60 for the Sarvam ones on pay-as-you-go, enforced per account on a refilling bucket rather than per key. That is a real constraint if you fan out requests, and knowing it in advance is why my own benchmark runs three calls in flight instead of thirty.
Time to first token (TTFT) is the other number that matters, and it's the one vendors quote most. It's the gap between sending a request and seeing the first character of the answer, which is what a user actually perceives as "fast". A model can have a great tokens-per-second rate and still feel slow if it thinks for four seconds before printing anything.
Which brings up the trap.
Four of the six serverless models think before they answer, and thinking is billed.
On Token Factory, reasoning_effort takes low, high or max on every reasoning model (plus medium on some), and the defaults differ per model: max on glm5.3, high on glm5.3-flash and deepseekv4.1-flash-1017, low on sarvam-105b, and nothing at all on gemma4 unless you ask for it.
The trace comes back in message.reasoning_content, and — this is the part that bites — reasoning tokens are billed as output and count against max_tokens.
So a request with max_tokens: 300 to a model that thinks in paragraphs can spend the entire budget on thinking and return finish_reason: "length" with an empty content. Nothing is broken. You asked for a short answer and paid for a long thought. Sarvam's docs say this plainly on the 105B model page, which is more than most providers do; the fix is either a generous max_tokens or reasoning_effort: "none" where the model allows it.
I hit it twice in 72 calls. Both times the model had done the work and simply ran out of budget before printing it.
Same Hindi prompt, same four-sentence answer. sarvam-105b billed 753 completion tokens; the conversations variant, which never thinks, billed 81.
Worth separating, because "six models on one API" is not new — OpenRouter has done that for years, and Fireworks, Together and Baseten all serve open-weight models.
New here, as far as I can tell:
sarvam-105b is post-trained on Indian languages and sits next to GLM, Gemma and DeepSeek behind the same key. On any other aggregator, the Indic-native option isn't on the shelf. That comparison is only possible because Sarvam serves both.Not new: the OpenAI-compatible shape, streaming, tool calling, structured output, and the fact that a provider can host open weights cheaply.
Sarvam published a price-versus-speed chart for DeepSeek V4.1 Flash 1017 against the providers that also serve it. Their numbers, not mine, and vendor-measured — read them as a claim to check, not a fact:
| Endpoint | Blended price (USD / 1M tokens) | Output tokens/sec | | --- | --- | --- | | Sarvam Standard | 0.092 | 130 | | Sarvam Interactive | 0.168 | 200 | | DeepSeek API | 0.092 | 60 | | Together | 0.184 | 278 | | Baseten | 0.185 | 165 | | Fireworks | 0.184 | 193 | | GPT-6 Luna (OpenAI, reference) | 0.077 | 67 |
The honest reading is not "Sarvam is fastest". Together streams faster at 278 tokens/sec — at twice the blended price. Sarvam's Standard endpoint matches DeepSeek's own API on price and doubles its output speed. Interactive costs more for coding-agent workloads that need the throughput. Three positions, three trade-offs, and the table makes them legible instead of hiding them behind a single "best" badge.
For Gemma 4 31B, Sarvam claims 0.40 s to first token on a 10K-token prompt from Mumbai, against 2.00 s for the only other provider serving it. That's a 5× claim I can't verify from a laptop in Ranchi, and I'd want to see it measured again before I planned an SLA around it.
The other signal that they know who they're competing with: there are official migration guides from OpenRouter, from Fireworks and from Together. Documentation written for people who are already running something somewhere else.
Install the OpenAI SDK and point it at Sarvam. Three lines change.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.sarvam.ai/v2",
api_key=os.environ["SARVAM_API_KEY"],
)
stream = client.chat.completions.create(
model="sarvam-105b", # the only line you change to swap models
messages=[{"role": "user", "content": "इस अनुच्छेद को चार वाक्यों में सारांशित कीजिए: ..."}],
max_tokens=1500, # thinking tokens count against this
reasoning_effort="low", # or "none" to turn thinking off where supported
stream=True,
stream_options={"include_usage": True},
)
That stream_options line is not optional if you care about cost. Without it, the final chunk carries no usage block, and your token counts become a guess based on character length — which is how cost dashboards end up wrong by 30%. With it, every call reports the real prompt, cached and completion token counts, and multiplying those by the published rates gives you a rupee figure you can defend.
Swapping models is the model field. That's the guitar string. glm5.3 for a hard reasoning prompt, gemma4 when you need an image read and no thinking, sarvam-105b-conversations when a voice agent needs a first syllable fast.
The docs tell you what each model is best for in a phrase. I wanted the phrase turned into numbers, so I built Bhasha Bench: twelve prompts in Hindi, Tamil, Bengali and Hinglish, sent to all six serverless models, measuring script fidelity, time to first token, rupee cost and instruction-following.
72 calls. ₹3.72. Zero errors.
Two results worth your time:
The cheapest model was the most obedient. sarvam-105b-conversations answered for 0.4 paise and met 11 of 12 instruction checks. sarvam-105b cleared all twelve at 2.55 paise. glm5.3, at 17.7 paise an answer, met seven — and it was 57% of the run's total cost.
Script fidelity barely moved. All six models landed between 93.7% and 97.7% on keeping the requested script. The failure I expected — a general-purpose model answering a Devanagari question in romanised Hindi — mostly didn't happen on this prompt set. If you were worried that open-weight models served for Indic input would butcher the script, this is a data point against that worry.
The full method, the decisions and the parts I got wrong are in the case study that goes with this piece. Short version: measurement beat my own projection by a factor of 2.5 on cost, which is the whole reason to measure.
One run of 72 calls cost ₹3.72, and the dearest model in the table accounted for 57% of it. Photo: Ravi Roshan on Pexels, Pexels licence.
English and a regional script on one sign is the ordinary condition of Indian text, which is why script fidelity is worth measuring at all. Photo: Pexels, Pexels licence.
n=1 per cell. One call per prompt per model measures a sample, not a distribution. Latency moved by more than a second between two identical runs an hour apart.
Three models — sarvam-105b, sarvam-105b-conversations and deepseekv4.1-flash-1017 — are on introductory pricing through the end of 2026. Every rupee figure in this piece is true today and possibly wrong in January, and the order of the table may change, which matters more than the numbers.
Provisioned Throughput models (DeepSeek V4 Pro, Kimi K3.1 Pro, Qwen 3.8 27B, Clef, EmbeddingGemma 2) need capacity enabled per organisation, so any leaderboard that mixes them with serverless models is comparing two different products.
And every vendor number in this piece — 0.2 s first token, 0.40 s for Gemma 4, 95.7% cache hit rate — is Sarvam measuring Sarvam on its own infrastructure. Useful as a direction, not as a contract.
If you're building a chat product where the user types in an Indian language, and you're choosing a model this month, this is the first provider where the Indic-native option and the strong open-weight options are behind the same key and the same invoice. That's worth an afternoon.
If you're already happy on OpenRouter and dollar billing isn't a problem for you, Token Factory buys you latency from India and rupee pricing, and asks you to trust a young platform. Reasonable either way.
If you need a model that's not on the list, you're waiting. The catalogue will grow; it won't grow to everything.
You don't have to commit to a model for two years. That was always a side effect of how the infrastructure was priced and packaged, not a law of the universe.
Take your twelve hardest prompts — the ones your users actually send — and run them across six models on one key. The run will cost you less than lunch, and you'll stop arguing about model choice from memory.
Then change the string when the song changes.