DeepSeek · model ID deepseek-v4.1-flash-fast

DeepSeek V4.1 Flash API

Use DeepSeek V4.1 Flash through one OpenAI-compatible API for $0.0323₹3.00 per million input tokens and $0.194₹18.00 per million output tokens, with a 1M tokens context. Prepaid, no subscription: the smallest top-up (₹50, about $0.54) buys about 2.7 million output tokens.

Price

Prices per 1 million tokens, in US dollars (approximate) and Indian rupees
ModelModel IDInputCached inputOutputContext
DeepSeek V4.1 Flashdeepseek-v4.1-flash-fast$0.0323₹3.00$0.0054₹0.50$0.194₹18.001M tokens

Per 1 million tokens. Prices are set in ₹; $ amounts are approximate (₹93 = $1) and your bank converts when you pay by card. No GST is added. Last updated 4 December 2026; prices can change and the dashboard always shows the current price.

Details

Made by
DeepSeek
Good for
A fast, low-cost general model for chat, coding help, summaries and agents.
Model ID
deepseek-v4.1-flash-fast
Context
1M tokens
API format
OpenAI chat completions, streaming and non-streaming
Thinking levels
reasoning_effort: off, low, high, max
Base URL
https://api.srotgateway.com/v1

Code examples

Python (streaming)
from openai import OpenAI

client = OpenAI(base_url="https://api.srotgateway.com/v1", api_key="sg-...")
stream = client.chat.completions.create(
    model="deepseek-v4.1-flash-fast",
    messages=[{"role": "user", "content": "Explain quantum computing in two lines."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="")
JavaScript
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.srotgateway.com/v1", apiKey: process.env.SROT_API_KEY });
const reply = await client.chat.completions.create({
  model: "deepseek-v4.1-flash-fast",
  messages: [{ role: "user", content: "Explain quantum computing in two lines." }],
});
console.log(reply.choices[0].message.content);
curl
curl https://api.srotgateway.com/v1/chat/completions \
  -H "Authorization: Bearer $SROT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek-v4.1-flash-fast", "messages": [{"role": "user", "content": "Hello"}]}'

More in the docs: Cursor, Cline, n8n.

Questions

How much does the DeepSeek V4.1 Flash API cost?+

On 4 December 2026: $0.0323 (₹3.00) per million input tokens, $0.0054 (₹0.50) per million cached input tokens and $0.194 (₹18.00) per million output tokens. Prices are set in ₹; $ amounts are approximate. Prices can change; the dashboard shows the current price.

How do I pay for DeepSeek V4.1 Flash?+

Top up your SrotGateway balance from ₹50 (about $0.54) by card from any country, or with UPI or net banking in India. Then call DeepSeek V4.1 Flash with your API key; each call is taken from your balance.

What is the context size of DeepSeek V4.1 Flash?+

1M tokens (input and output together).

Is this the official DeepSeek API?+

No. SrotGateway is an independent service from ChromByte, India. We serve DeepSeek V4.1 Flash through a hosting partner and bill you in rupees. The model name belongs to DeepSeek.

Does it work with the OpenAI SDK?+

Yes. Set the base URL to https://api.srotgateway.com/v1, use your SrotGateway key, and set model to "deepseek-v4.1-flash-fast".

Can I control how much DeepSeek V4.1 Flash thinks?+

Yes. Send reasoning_effort with one of: off, low, high, max. More thinking usually means better answers on hard tasks, but more output tokens.

Other models