deepseek/deepseek-v4.1-flash
发布时间: 2026-09-10
1,048,576 context · $0.30/M input tokens · $1.20/M output tokens
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...
按量付费
无需预付费用,仅按实际使用量付费
使用以下代码示例接入我们的 API:
import OpenAI from 'openai';
if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
apiKey: process.env.WAVESPEED_API_KEY,
baseURL: 'https://llm.wavespeed.ai/v1',
timeout: 120_000,
maxRetries: 0,
});
try {
const response = await client.chat.completions.create({
model: 'deepseek/deepseek-v4.1-flash',
messages: [{ role: 'user', content: 'Hello!' }],
});
const body = response as typeof response & { error?: { message?: string } };
if (body.error) throw new Error(body.error.message || 'LLM generation failed');
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}import OpenAI from 'openai';
if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
apiKey: process.env.WAVESPEED_API_KEY,
baseURL: 'https://llm.wavespeed.ai/v1',
timeout: 120_000,
maxRetries: 0,
});
try {
const response = await client.chat.completions.create({
model: 'deepseek/deepseek-v4.1-flash',
messages: [{ role: 'user', content: 'Hello!' }],
});
const body = response as typeof response & { error?: { message?: string } };
if (body.error) throw new Error(body.error.message || 'LLM generation failed');
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}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...
This model is available through the WaveSpeed AI OpenAI-compatible API for chat completions and compatible application workflows.
| Specification | Value |
|---|---|
| Provider | deepseek |
| Model Type | Chat Completions model |
| Architecture | text+image->text |
| Context Window | 1048576 tokens |
| Max Input | 917504 tokens |
| Max Output | 131072 tokens |
| Input | Text, Image |
| Output | Text |
| Vision | Supported |
| Function Calling | Supported |
| Structured Outputs | Supported |
| Release Date | September 10, 2026 |
Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: deepseek/deepseek-v4.1-flash
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="deepseek/deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
curl https://llm.wavespeed.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "deepseek/deepseek-v4.1-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'
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...
输入
$0.3 /M
输出
$1.2 /M
上下文
1049K
最大输出
384K
Vision
支持
工具调用
支持
通过我们的统一 API 接入 DeepSeek V4.1 Flash — 兼容 OpenAI、无冷启动、透明计费。
WaveSpeedAI 定价:输入每百万 token $0.30,输出每百万 token $1.20。Prompt 缓存和批处理单独计费,可显著降低长上下文、高重复任务的实际成本。
DeepSeek V4.1 Flash 单次请求最多支持 1049K 上下文 token,输出最多 384K token。
WaveSpeedAI 通过 https://llm.wavespeed.ai/v1 的 OpenAI 兼容 Chat Completions 接口提供 DeepSeek V4.1 Flash。大多数 OpenAI SDK 客户端只需更换 base URL 和 API Key;可选字段取决于具体模型。
登录 WaveSpeedAI,在 Access Keys 中创建 API Key,然后使用上方显示的 model id 向 https://llm.wavespeed.ai/v1/chat/completions 发送请求。模型可用性、能力和价格请以当前模型目录为准。