DeepSeek V4 Flash cheaper off-peak
deepseek/deepseek-v4-flash-0731
Overview
DeepSeek's economical V4 model, a 284B MoE with 13B active parameters. Reasoning close to V4 Pro at higher speed and lower cost, with a 1M-token context.
Made by DeepSeek · released Apr 2026
Input
TextOutput
Text- Context
- 1.000.000
- Input, maximum
- 616.000
- Output, maximum
- 384.000
- Default output
- 4.096
- Reasoning Supported
- Tool calling Supported
- Prompt caching Supported
- Automatic fallback routes Not supported
Routes and pricing
Providers are tried in the order listed below. We try these providers in order. If one fails, we move on to the next, and you pay the rate of the one that answers.
DeepSeek
primaryOff-peak hours
- Input
- Rp2.780per million tokens
- Output
- Rp11.100per million tokens
- Cache read
- Rp60per million tokens
Peak hours · Monday–Friday
- 08.00–11.00 WIB
- 13.00–17.00 WIB
- Input: Rp5.550 per million tokens
- Output: Rp22.200 per million tokens
- Cache read: Rp120 per million tokens
If a request runs into peak hours, the whole request is charged at the peak rate.
Today's reference rate: Rp18.500/USD
Prices exclude the 5,5% service fee
Data and privacy
DeepSeek DeepSeek Open Platform Terms and Privacy Policy
- Used to train models
- Possibly De-identified data may be used to improve models unless the account opts out.
- Retention
- As long as needed to provide the service; no fixed period.
- Processing location
- China.
- At indoRouter
- We don't store your prompts or responses. Files you upload, batches, and responses you send with
store: trueare kept encrypted for up to 30 days.
Code samples
Use this model ID with any OpenAI SDK. The base URL is the same for every model.
curl https://api.indorouter.ai/v1/chat/completions \
-H "authorization: Bearer $INDOROUTER_API_KEY" \
-H "content-type: application/json" \
-d '{"model": "deepseek/deepseek-v4-flash-0731",
"messages": [{"role": "user", "content": "halo"}]}'
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.indorouter.ai/v1",
api_key=os.environ["INDOROUTER_API_KEY"],
)
reply = client.chat.completions.create(
model="deepseek/deepseek-v4-flash-0731",
messages=[{"role": "user", "content": "halo"}],
)
print(reply.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.indorouter.ai/v1",
apiKey: process.env.INDOROUTER_API_KEY,
});
const reply = await client.chat.completions.create({
model: "deepseek/deepseek-v4-flash-0731",
messages: [{ role: "user", content: "halo" }],
});
console.log(reply.choices[0].message.content);