DeepSeek-V4.1-Flash
DeepSeek's MIT-licensed 552B-A16B multimodal Mixture-of-Experts model with conditional Engram memory, native image understanding, a 1M-token context window, and toggleable thinking modes for fast visual reasoning and coding.
What you can do
- Chart, receipt, and UI screenshot analysis
- Million-token document and codebase synthesis
- Low-latency multi-step tool calling and chat
Input & output
- Input
- Text and images
- Output
- Text and optional reasoning trace
Try a prompt like this
Combine this monitoring dashboard screenshot with the attached slow-query log to pinpoint why the database connection pool saturated and list diagnostic commands.
Things to know
MIT-licensed open weights combine a 552B MoE backbone and 196B Engram memory, requiring multi-GPU 80 GB nodes to self-host despite low active compute (8B prefill / 16B decode). No native audio/video input; verify critical outputs.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
deepseek-ai/DeepSeek-V4.1-Flash
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4.1-Flash",
messages=[{"role": "user", "content": "Combine this monitoring dashboard screenshot with the attached slow-query log to pinpoint why the database connection pool saturated and list diagnostic commands."}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide