DeepSeek's open-weight sparse mixture-of-experts model and the first built on the company's Causal Encoder-Decoder (CED) architecture, activating 8B parameters on input and 16B on output. Supports image input, reasoning, and tool use with a 1M-token context window at very low per-token cost.
Sorted by total cost (input + output per 1M tokens). Select a row to view provider details.
| Provider | Pricing (per 1M) | Rate limits | Regions | Health | Latency |
|---|---|---|---|---|---|
In: $0.02Out: $0.40 | 60 RPM / 200K TPM | us-east-1 | Healthy | 0ms |
Use this model via OpenRouter with an OpenAI-compatible SDK.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://openrouter.ai/api/v1",
apiKey: process.env.OPENROUTER_API_KEY,
});
const response = await client.chat.completions.create({
model: "deepseek/deepseek-v4.1-flash",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(response.choices[0].message.content);Using OpenRouter API · OpenAI-compatible SDK
Every price recorded for this model, per provider. Prices are per 1M tokens in USD.
No price changes recorded since Oct 1, 2026.
| Date | Provider | Input | Output |
|---|---|---|---|
| Oct 1, 2026Listed · Current | OpenRouter | $0.015 | $0.396 |