Sarvam AI opens Token Factory, an India-hosted AI model service

In short

0.2 s Sarvam 105B, time to first token; 330 tokens a second for one user, Sarvam 105B; 0.40 s vs 2.00 s Gemma 4 31B, 10K-token prompt; 95.7% of DeepSeek V4.1 Flash prompt tokens served from cache; ₹14 / ₹55 per million input / output tokens, DeepSeek V4.1 Flash (intro price)

What is Token Factory?

Token Factory is Sarvam's inference service for its own and other open-weight models, run from GPU clusters located in India. Sarvam says that on most of the models it serves it matches or beats the leading providers worldwide on speed and cost. The same software stack can also be installed on-premise (inside a customer's own building) for what Sarvam calls critical institutions.

Two terms matter for the numbers below. A token is a small piece of text, roughly a short word or part of one; services price and time work in tokens. Time to first token is the wait between sending a request and seeing the first piece of the answer, which is what makes a chatbot feel quick or slow.

The speed claims

Sarvam measured these from a client in Amazon's Mumbai data centre, using its own recreation of the Artificial Analysis method, and reports the median over 72 hours. The table shows a tie on GLM 5.3 at 10K tokens and a loss to Together on DeepSeek V4.1 Flash at 10K tokens (Sarvam's Standard endpoint). For Gemma, Sarvam does not name the other provider.

Sarvam also compared its software with the stock open-source tools vLLM and Dynamo on the same two B200 nodes, serving GLM 5.3 Flash on coding-agent traces from SemiAnalysis. At 64 simultaneous sessions the median first token took 667 ms against 1,428 ms, and the slowest 1% waited 3.2 s against 14.1 s, at about the same output speed per user (192 against 190 tokens a second).

How much does Token Factory cost?

DeepSeek V4.1 Flash has two endpoints. The Interactive one runs at about 200 tokens a second per user and costs ₹25 per million input tokens and ₹105 per million output tokens. The Standard one, meant for background and batch work, costs ₹14 and ₹55, an introductory price. In Sarvam's chart the Standard endpoint has a blended price of $0.092 per million tokens at 130 tokens a second; DeepSeek's own API is the same $0.092 at 60 tokens a second. Together and Fireworks are faster in that chart but cost about $0.18 per million.

Why the cache matters

Coding agents send a very long prompt, call a tool, wait, and come back with nearly the same prompt. Sarvam says agent prompts on GLM 5.3 average 131K tokens. Re-reading all of it each turn is the costly step, so Sarvam keeps earlier work in a cache (a store of the model's already-computed notes on a prompt, called the KV cache) and reuses it.

GPU memory held a prompt for only about 4 seconds, and about 2 under load. Sarvam added a shared store, built on Moonshot's Mooncake, that every prefill server can read and that keeps prompts for hours or days. Over a week of production traffic (30 October to 6 November), the share of DeepSeek V4.1 Flash prompt tokens served from cache rose from 91.4% to 95.7%, which Sarvam says halved the tokens needing fresh processing. At peak on GLM 5.3 the shared store cut the prefill nodes needed from 58 to 34. Sarvam says it serves more than 450 billion tokens a day on DeepSeek V4.1 Flash.

The post also describes bugs fixed along the way. On DeepSeek V4.1 Flash, cached context could not be found for 74% of prompt lengths because lookups and writes used different positions; after the fix the cold cache hit rate went from 37.1% to 99.8%.

Sarvam 105B and Kimi K3.1 Pro

Because Sarvam trained 105B itself, it tuned model and serving together. Moving from 16-bit weights to an 8-bit format (MXFP8) and adding speculative decoding (a small model drafts tokens that the big one checks) raised output about 2.2 times and cut each copy of the model from two B200s to one. Further kernel and precision changes took the total to 2.86 times the starting point.

For Kimi K3.1 Pro, a model it did not train, Sarvam says it serves up to 1.9 times the tokens per GPU of InferenceX's published results at the same speed per user, across 14 to 48 simultaneous sessions (Sarvam's example point is 70 tokens a second per user at 24 sessions), on SemiAnalysis's coding-agent traces. Read the comparison with care. Sarvam's own table shows InferenceX faster per user with few sessions, for example 164.5 against 112.2 tokens a second at one session. At 72 sessions Sarvam says InferenceX's cache was 89% full and began throwing prompts away, which pushed its slowest-5% first-token time to 76.6 seconds against Sarvam's 3.1.

All figures come from Sarvam's blog post. The tests, the choice of rivals and the settings were Sarvam's; no independent lab has repeated them.

How open is it?

Token Factory is a hosted, paid service, so you reach the models through an API rather than downloading them. Sarvam describes the lineup as its own models and "leading open-weight models" (models whose trained weights are published, not necessarily with an open-source licence). The post does not give licences, sizes (except 31B for Gemma 4) or weight links, so check each model's own page before building on one.

Where things stand

Sarvam says it will add new open-weight models from day one and more compute as demand grows, and is building tools for deploying agents on Token Factory. It also says the same stack is available on-premise. Whether the speed holds for other people's traffic is the open question.

Official channels of Sarvam AI: Website · LinkedIn · X · YouTube

Sources

Sources

Related stories

More from AI in India

All stories from AI in India