deepseek-v4.1-flash β API, Pricing & Context Window | Vivgrid
deepseek-v4.1-flash on Vivgrid: DeepSeek's fast, ultra-affordable V4.1 model with image input, a 1M-token context window, up to 384K output tokens, and both Chat Completions and Responses API support.
deepseek-v4.1-flash is the fast, ultra-affordable member of DeepSeek's V4.1 family, released in September 2026. It keeps the V4 line's 1M-token context window and 384K-token max output, adds native image input, and is priced at $0.31 per 1M input tokens, $0.01 cached, and $1.23 output.
It is a separate model id, not an in-place upgrade: deepseek-v4-flash stays available and unchanged, so you can pin either one.
It is available on both OpenAI surfaces β Chat Completions (/chat/completions) and the Responses API (/responses) β so coding CLIs that expect the Responses wire format, such as Codex and Pi, work against the same key.
Specifications
| Provider | DeepSeek |
| Model ID | deepseek-v4.1-flash |
| Best for | Coding |
| Context window | 1,000,000 tokens |
| Max output | 384,000 tokens |
| Modalities | Text, Image |
| Tool / function calling | Yes |
| Knowledge cutoff | β |
| Acceleration | π Global (Centralized) |
Pricing
Pricing in USD per 1M tokens, matching the provider's rates.
| Input | Cached input | Output |
|---|---|---|
| $0.31 | $0.01 | $1.23 |
Quick start
Call deepseek-v4.1-flash through Vivgrid's unified, OpenAI-compatible endpoint. Get an API key from the Vivgrid Console.
curl https://api.vivgrid.com/v1/chat/completions \
-H "Authorization: Bearer $VIVGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4.1-flash",
"messages": [
{ "role": "user", "content": "Say hello in English, Chinese and Spanish." }
],
"stream": true
}'Ideal use cases
- Very high-volume, cost-sensitive coding and agent traffic
- Tool-calling workflows that mix text with screenshots or diagrams
- Long-context summarization and extraction over whole repositories
- First-pass steps in multi-model pipelines ahead of a flagship model
Related models
- deepseek-v4-pro-0813 β DeepSeek's flagship V4 coding model
gpt-image-2.5-sunburst
gpt-image-2.5-sunburst on Vivgrid: OpenAI's gpt-image-2.5 image generation model, served through the OpenAI-compatible Images API with per-token text and image pricing.
deepseek-v4-pro-0813
deepseek-v4-pro-0813 on Vivgrid: DeepSeek's latest flagship coding model with a 1M-token context window, up to 384K output tokens, and lower pricing than deepseek-v4-pro.