DeepSeek model

DeepSeek V4.1 Flash API pricing

Price per 1M tokens29% off
Input
$0.213DeepSeek's price: $0.30
Output
$0.849DeepSeek's price: $1.20

DeepSeek's official price (opens in a new tab) for DeepSeek V4.1 Flash is $0.30 per 1M input tokens and $1.20 per 1M output tokens. Here it costs $0.213 and $0.849, 29% less. DeepSeek's price here is its peak-hours price, on weekdays from 01:00 to 04:00 and from 06:00 to 10:00 UTC; at other times DeepSeek charges half. Ours is the same at every hour. Call it with the same key as every other model here.

Prices as of Nov 30, 06:38 PM UTC

Works with

Your app decides which API it calls, and DeepSeek V4.1 Flash answers on all three: OpenAI Chat Completions, Anthropic Messages, and OpenAI Responses.

Anthropic Messages

Works

POST /v1/messages

Base URL
https://api.slashmodel.com
Apps that call it

Also Cline, Zed, Kilo Code, Roo Code, OpenCode, LiteLLM, LangChain, and Vercel AI SDK, when they're set to Anthropic.

Set up Claude Code

OpenAI Responses

Works

POST /v1/responses

Base URL
https://api.slashmodel.com/v1
Apps that call it

Also Continue, LangChain, Vercel AI SDK, and OpenAI SDK, when they're set to the Responses API.

Set up Codex CLI

We test every channel on each API ourselves, when it's added and then every week. The last test ran on Nov 29, 2026. GET /v1/models/deepseek-v4.1-flash returns the same list.

Price per 1M tokens

Price per 1M tokens
TokensDeepSeek's priceOur price
InputDeepSeek's price: $0.30$0.213
OutputDeepSeek's price: $1.20$0.849
Cache read—$0.005
Cache write—$0.002

Our price is the cheapest channel that can serve DeepSeek V4.1 Flash now. Prices follow our costs, so they can change from day to day, and each request is billed at the price of the channel that served it.

What it costs

An app sending 10,000 requests a month, each with 2,000 input and 500 output tokens, pays $8.51 a month here, against $12.00 at the official price.

Work out your monthly cost

Set your own traffic to see what DeepSeek V4.1 Flash costs a month here and at DeepSeek's price.

Each request is like

Here, a month
$8.51
At DeepSeek's price
$12.00
Discount
$3.50 (29%)

Our side uses the cheapest channel's prices now. A request another channel serves is billed at that channel's prices. Caching isn't counted: DeepSeek charges less for cached input than for other input, so a workload that reads a lot from its cache can save less than this.

Channels

Each channel is a separate route to DeepSeek V4.1 Flash, with its own price. Stable channels are backed by the provider's service level agreement, and Best effort ones are cheaper but can slow down or stop without notice. Routing tries the cheapest channel that's doing well first, or the stable ones first on a key set to Stable first, and a key's max price skips any channel above it. A Backup channel is tried only when the others can't serve, at its own price.

  • deepseek-aBest effort29% off
    Input
    $0.213
    Output
    $0.849
    Cache read / write
    $0.005 / $0.002

Speed and success figures appear once a channel has served requests in the last 24 hours.

Context window and limits

Model id
deepseek-v4.1-flash
Made by
DeepSeek
Context window
1,048,576 tokens
Max output per request
393,216 tokens
APIs
OpenAI Chat Completions /v1/chat/completionsAnthropic Messages /v1/messagesOpenAI Responses /v1/responses
Supports
tool calls, image input, reasoning
Status
On sale

A 1,048,576-token context window, and one answer can be up to 393,216 tokens (384K), DeepSeek's limits. It reads images as well as text.

Other DeepSeek models

Our price is each model's cheapest channel now, beside DeepSeek's official price.

All DeepSeek models and prices
  • DeepSeek V4 Prodeepseek-v4-pro
    27% off
    Our price, in / out
    $0.955 / $2.865
    Official price, in / out
    Official price, in / out: $1.32 / $3.96
    Cache read / write
    $0.032 / $0.955
    Context
    1.05M
    Max output
    393.2K

Use DeepSeek V4.1 Flash

Change the base URL and the key in the SDK you already use. The model id is deepseek-v4.1-flash.

curl https://api.slashmodel.com/v1/chat/completions \  -H "Authorization: Bearer $SLASHMODEL_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "deepseek-v4.1-flash",    "messages": [{"role": "user", "content": "Hello!"}]  }'

One key for every model here.

Top up from $10, change one URL, and pay only for the tokens you use.