deepseek
deepseek/deepseek-v4.1-flash

deepseek/deepseek-v4.1-flash

Fecha de lanzamiento: 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...

Precios

Pago por uso

Sin costos iniciales, paga solo por lo que uses

Entrada$0.30 / M Tokens
Salida$1.20 / M Tokens
Cache Read$0.0060 / M Tokens

Probar el modelo

deepseek/deepseek-v4.1-flash
En línea
deepseek
¡Hola! Soy un asistente de IA útil. ¿En qué puedo ayudarte?
¿Listo para usar este modelo en un coding agent local?Configurar agent

Uso de API

Usa los siguientes ejemplos de código para integrar con nuestra 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;
}

Introducción del 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

Información

Proveedordeepseek
Tipollm

Funcionalidades compatibles

Entrada
TextoImagen
Salida
Texto
Contexto1,048,576
Salida máxima384,000
Visión✓ Compatible
Function Calling✓ Compatible

Guía de acceso a la API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID del 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.3 /M

Salida

$1.2 /M

Contexto

1049K

Salida máx.

384K

Visión

Compatible

Uso de herramientas

Compatible

Prueba DeepSeek V4.1 Flash en WaveSpeedAI

Accede a DeepSeek V4.1 Flash mediante nuestra API unificada — compatible con OpenAI, sin arranques en frío, precios transparentes.

Preguntas frecuentes sobre DeepSeek V4.1 Flash

¿Cuánto cuesta DeepSeek V4.1 Flash a través de la API?+

Precios en WaveSpeedAI: $0.30 por millón de tokens de entrada y $1.20 por millón de tokens de salida. El prompt caching y el procesamiento por lotes se facturan por separado y reducen el coste efectivo en cargas largas y repetitivas.

¿Cuál es la ventana de contexto de DeepSeek V4.1 Flash?+

DeepSeek V4.1 Flash admite hasta 1049K tokens de contexto y hasta 384K tokens de salida por solicitud.

¿Es DeepSeek V4.1 Flash compatible con OpenAI?+

WaveSpeedAI ofrece DeepSeek V4.1 Flash en https://llm.wavespeed.ai/v1 mediante la interfaz Chat Completions compatible con OpenAI. En la mayoría de clientes del SDK de OpenAI basta con cambiar la URL base y la clave API; los campos opcionales dependen del modelo.

¿Cómo empiezo con DeepSeek V4.1 Flash?+

Inicia sesión en WaveSpeedAI, crea una clave API en Access Keys y envía una solicitud a https://llm.wavespeed.ai/v1/chat/completions con el id de modelo mostrado arriba. Consulta el catálogo actual para conocer disponibilidad, capacidades y precios.

APIs LLM relacionadas