Token Factory
Token Factory serves leading open-weight LLMs on Sarvam infrastructure through
one OpenAI-compatible API. It uses the same API key, SDK, and credits as every other Sarvam
API: there is nothing new to sign up for. Switching models is a one-line change to the model field.
Switch from OpenAI in two lines
Point your client at https://api.sarvam.ai/v2, pass your Sarvam key, and pick a model.
Python (OpenAI SDK)
Python (Sarvam SDK)
cURL
Models
DeepSeek V4.1 Flash 1017, DeepSeek V4 Pro, Kimi K3, MiMo V2.6 Flash, and MiMo V2.6 Pro are in beta and are enabled per API key. See Pricing for their rates and for cached-input rates.
Moving from another provider? Follow the guide for OpenRouter, Fireworks AI, or Together AI.
Looking for Sarvam’s own LLM? Sarvam 105B is listed with the other Sarvam Models and uses the same Chat Completions API.