deepseek/deepseek-v4.1-flash
Data de lançamento: 2026-09-10
1,048,576 context · $0.26/M input tokens · $1.17/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...
Pagamento por uso
Sem custo inicial, pague apenas pelo que usar
Use os exemplos de código abaixo para integrar com nossa 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...
Entrada
$0.26 /M
Saída
$1.17 /M
Contexto
1049K
Saída máx.
384K
Vision
Suportado
Uso de ferramentas
Suportado
Acesse DeepSeek V4.1 Flash através da nossa API unificada — compatível com OpenAI, sem inicializações a frio, preços transparentes.
Preços no WaveSpeedAI: $0.26 por milhão de tokens de entrada e $1.17 por milhão de tokens de saída. Prompt caching e batch processing são cobrados separadamente e reduzem o custo efetivo em cargas longas e repetitivas.
DeepSeek V4.1 Flash suporta até 1049K tokens de contexto e até 384K tokens de saída por requisição.
O WaveSpeedAI disponibiliza DeepSeek V4.1 Flash em https://llm.wavespeed.ai/v1 pela interface Chat Completions compatível com OpenAI. Na maioria dos clientes OpenAI SDK, basta alterar a base URL e a chave API; campos opcionais dependem do modelo.
Entre no WaveSpeedAI, crie uma chave API em Access Keys e envie uma requisição para https://llm.wavespeed.ai/v1/chat/completions com o model id mostrado acima. Consulte o catálogo atual para disponibilidade, recursos e preços.