deepseek/deepseek-v4.1-flash
Data publikacji: 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...
Płać za użycie
Bez kosztów początkowych, płacisz tylko za to, czego używasz
Użyj poniższych przykładów kodu, aby zintegrować się z naszym 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...
Wejście
$0.3 /M
Wyjście
$1.2 /M
Kontekst
1049K
Maks. wyjście
384K
Vision
Obsługiwane
Użycie narzędzi
Obsługiwane
Uzyskaj dostęp do DeepSeek V4.1 Flash przez nasze ujednolicone API — kompatybilne z OpenAI, bez zimnych startów, przejrzyste ceny.
Cennik na WaveSpeedAI: $0.30 za milion tokenów wejściowych i $1.20 za milion tokenów wyjściowych. Prompt caching i przetwarzanie wsadowe są rozliczane oddzielnie i obniżają efektywny koszt długich, powtarzalnych obciążeń.
DeepSeek V4.1 Flash obsługuje do 1049K tokenów kontekstu i do 384K tokenów wyjściowych na zapytanie.
WaveSpeedAI udostępnia DeepSeek V4.1 Flash pod adresem https://llm.wavespeed.ai/v1 przez interfejs Chat Completions zgodny z OpenAI. W większości klientów OpenAI SDK wystarczy zmienić base URL i klucz API; opcjonalne pola zależą od modelu.
Zaloguj się do WaveSpeedAI, utwórz klucz API w Access Keys i wyślij żądanie do https://llm.wavespeed.ai/v1/chat/completions z identyfikatorem modelu pokazanym powyżej. Bieżącą dostępność, możliwości i ceny sprawdź w katalogu modeli.