DeepSeek V4.1 Flash API
Call DeepSeek V4.1 Flash through a single API, hosted in India.
- Chat Completions and Responses APIs
- 1M-token context, tool calling and image input
- Free credits on signup
- Chat
- Reasoning
- Vision
- Serverless · India
India builds with Sarvam
Why run DeepSeek V4.1 Flash on Sarvam
-
Hosted in India
Model weights run on Sarvam's GPUs, hosted in India.
-
Zero data retention on request
ISO 27001:2022 certified and SOC 2 Type II attested.
-
₹14.00 per 1M input tokens
Cached input ₹0.25, output ₹55.00 per 1M tokens.
From key to first response
- Get an API key
Create your key in the Sarvam dashboard.
- Install the SDK
Use the sarvamai SDK or your current client.
- Call the model
Set the model ID and max_tokens, then send.
Start with step one.
What our customers are saying
With Sarvam, we’re showing that critical systems don’t have to choose between adopting AI and staying sovereign.
Bhuvnesh Kumar CEO, UIDAI Two model IDs, one API
Both endpoints accept the same requests. Change the model ID to switch.
-
deepseekv4.1-flash-1017For long documents, agents and batch work. Benchmarked at about 130 tokens per second per user.
- Input
- ₹14.00
- Cached input
- ₹0.25
- Output
- ₹55.00
- Speed: about 130 tokens/s per user
- Admission: none at inference layer
- Limits: your API rate limits only
- Context window: 1M tokens
-
deepseekv4.1-flash-1017-interactiveFor chat assistants and user-facing agents. Designed to sustain 200 tokens per second per user.
- Input
- ₹25.00
- Cached input
- ₹0.50
- Output
- ₹105.00
- Speed: designed for 200 tokens/s
- Admission: holds per-user speed
- Limits: rate limits and admission
- Context window: 1M tokens
Prices are per 1M tokens, excluding GST.
What teams build with DeepSeek V4.1 Flash
- Cost-efficient agents
Run agents over large codebases and log sets.
- Software engineering
Build full programs from a written spec.
- Long-context analysis
Read long documents, charts and images.
Try a prompt before you write code.
Other models on Token Factory
Prices per 1M tokens, excluding GST.
| Model | Deployment | Input | Cached input | Output | Get access |
|---|---|---|---|---|---|
| | Serverless | ₹35.00 | ₹10.00 | ₹90.00 | |
| | Serverless | ₹126.00 | ₹20.00 | ₹390.00 | |
| | Serverless | ₹13.50 | ₹2.50 | ₹45.00 | |
| | Serverless | ₹4.00 | - | - | |
| | Serverless | ₹18.00 | ₹5.00 | ₹230.00 | |
| | Serverless | ₹10.00 | ₹0.25 | ₹25.00 | |
| | Serverless | ₹10.00 | ₹0.25 | ₹25.00 | |
| | Serverless | ₹2.00 | - | - | |
| | Serverless | ₹20.00 | - | - | |
| | Provisioned throughput | ₹115.00 | ₹4.00 | ₹350.00 | Request access |
| | Provisioned throughput | ₹200.00 | ₹20.00 | ₹950.00 | Request access |
Build on Sarvam Token Factory
Build on Sarvam Token Factory
DeepSeek V4.1 Flash · from ₹14.00 per 1M input tokens