All models VisionReasoningTool callsStructured output
DeepSeek V4.1 Flash
DeepSeek
Chat40% off · Ends Jan 4, 2027 (UTC)Released Sep 10, 2026deepseek-flash
DeepSeek V4.1 Flash is the latest fast, cost-efficient member of the V4 family with a 1M context window, hybrid thinking, and native image understanding. It also serves the legacy deepseek-v4-flash names.
- Input
- $0.18
- Output
- $0.72
- Cache read
- $0.0036
- Context window
- 1M
- Max output
- 393.2K
Official
$0.30
per 1M tokens
Official
$1.20
per 1M tokens
Official
$0.006
per 1M tokens
tokens
tokens
Pricing
USD per 1M tokens
| Fee item | Price |
|---|---|
| Input | $0.18 Official $0.30 |
| Input, cache read | $0.0036 Official $0.006 |
| Output | $0.72 Official $1.20 |
| Image input | $0.18 Official $0.30 |
| Image input, cache read | $0.0036 Official $0.006 |
| Video input | $0.18 Official $0.30 |
| Video input, cache read | $0.0036 Official $0.006 |
| Audio input | $0.18 Official $0.30 |
| Audio input, cache read | $0.0036 Official $0.006 |
Prices are in USD. A request is billed at the prices in force when it is made.
Time-of-day pricing (Asia/Shanghai)
off-peak: 00:00 to 09:00, price x0.5
off-peak: 12:00 to 14:00, price x0.5
off-peak: 18:00 to 24:00, price x0.5
Weekends and public holidays (China): off-peak all day, price x0.5
Call it from your code
Keep the official SDK you already use: give it the LobeBase base URL and a LobeBase API key.
OpenAI API
Base URL
https://api.lobebase.com/v1
curl https://api.lobebase.com/v1/chat/completions \
-H "Authorization: Bearer $LOBEBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-flash",
"messages": [{ "role": "user", "content": "Hello" }]
}'Set LOBEBASE_API_KEY to your API key, then run the example.