DeepSeek

deepseek-v4.1-flash

DeepSeek V4.1 Flash is a sparse mixture-of-experts model from DeepSeek, and the first built on the company's Causal Encoder-Decoder (CED) architecture. It activates 8B parameters on input and 16B on..

Starting at
Input
$0.30/ 1M
Output
$1.20/ 1M
Open dashboard

Channel

Each channel is compared at its lowest input-price tier; output breaks ties. A dash means /api/pricing does not provide that rate. Selecting a channel updates the endpoints and call example below.

deepseek/deepseek-v4.1-flash
Input
$0.30 USD per 1M tokens
Output
$1.20 USD per 1M tokens
Cache read
$0.006 USD per 1M tokens
Cache write
- USD per 1M tokens

Endpoints

POST/v1/chat/completionsChat Completions

Call it

Using deepseek/deepseek-v4.1-flash

1from openai import OpenAI23client = OpenAI(4    base_url="https://www.realrelay.ai/v1",5    api_key="sk-***",6)78response = client.chat.completions.create(9    model="deepseek/deepseek-v4.1-flash",10    messages=[{"role": "user", "content": "Hello"}],11)1213print(response.choices[0].message.content)
1import OpenAI from "openai";23const client = new OpenAI({4  baseURL: "https://www.realrelay.ai/v1",5  apiKey: process.env.REALRELAY_API_KEY,6});78const response = await client.chat.completions.create({9  model: "deepseek/deepseek-v4.1-flash",10  messages: [{ role: "user", content: "Hello" }],11});1213console.log(response.choices[0].message.content);
1curl https://www.realrelay.ai/v1/chat/completions \2  -H "Authorization: Bearer $REALRELAY_API_KEY" \3  -H "Content-Type: application/json" \4  -d '{5    "model": "deepseek/deepseek-v4.1-flash",6    "messages": [{ "role": "user", "content": "Hello" }]7  }'

Prices and availability as published on Oct 4, 2026.

Capabilities

ReasoningTool useVision
Input
TextImage
Output
Text