deepseek
deepseek/deepseek-v4.1-flash

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...

Preços

Pagamento por uso

Sem custo inicial, pague apenas pelo que usar

Entrada$0.26 / M Tokens
Saída$1.17 / M Tokens
Cache Read$0.0058 / M Tokens

Experimentar o modelo

deepseek/deepseek-v4.1-flash
Online
deepseek
Olá! Sou um assistente de IA útil. Em que posso ajudar?
Pronto para usar este modelo em um coding agent local?Setup do agente

Uso da API

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;
}

Introdução do modelo

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...

This model is available through the WaveSpeed AI OpenAI-compatible API for chat completions and compatible application workflows.


Why It Looks Great

  • text+image->text architecture for Text, Image to Text workloads
  • 1048576 context window for long prompts, document analysis, and multi-turn workflows
  • Vision input support for image understanding and multimodal tasks
  • Function calling and tool-use support for agentic application workflows
  • Structured output support for JSON responses and schema-constrained generation
  • Reasoning controls available through supported parameters

Key Features

  • Context Window: 1048576 tokens
  • Max Input: 917504 tokens
  • Max Output: 131072 tokens
  • Vision: Supported
  • Function Calling: Supported
  • Structured Outputs: Supported
  • Image Generation: Not listed
  • Audio Input: Not listed
  • Supported Parameters: frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, parallel_tool_calls, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_a, top_k, top_logprobs, top_p

Specifications

SpecificationValue
Providerdeepseek
Model TypeChat Completions model
Architecturetext+image->text
Context Window1048576 tokens
Max Input917504 tokens
Max Output131072 tokens
InputText, Image
OutputText
VisionSupported
Function CallingSupported
Structured OutputsSupported
Release DateSeptember 10, 2026

How to Use

  1. Write your prompt - describe the task, provide context, and specify the desired output format.
  2. Submit - the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: deepseek/deepseek-v4.1-flash


API Usage

Python SDK

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

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!"}]
  }'

Notes

  • Model: deepseek/deepseek-v4.1-flash
  • Provider: deepseek

Info

Provedordeepseek
Tipollm

Funcionalidades suportadas

Entrada
TextoImagem
Saída
Texto
Contexto1,048,576
Saída máx.384,000
Vision✓ Suportado
Function Calling✓ Suportado

Guia de acesso à API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID do modelodeepseek/deepseek-v4.1-flash

DeepSeek V4.1 Flash API

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

Experimente DeepSeek V4.1 Flash no WaveSpeedAI

Acesse DeepSeek V4.1 Flash através da nossa API unificada — compatível com OpenAI, sem inicializações a frio, preços transparentes.

Perguntas frequentes sobre DeepSeek V4.1 Flash

Quanto custa DeepSeek V4.1 Flash via API?+

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.

Qual é a janela de contexto do DeepSeek V4.1 Flash?+

DeepSeek V4.1 Flash suporta até 1049K tokens de contexto e até 384K tokens de saída por requisição.

DeepSeek V4.1 Flash é compatível com OpenAI?+

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.

Como começo a usar o DeepSeek V4.1 Flash?+

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.

APIs LLM relacionadas