DeepSeek-V4.1-Flash is the current model behind deepseek-flash. It combines text and image input with a substantially different inference architecture from the original V4-Flash. The hosted API, downloadable weights and provider benchmark tables deserve separate records: knowing one does not establish the behavior, cost or runtime requirements of the others.
The identifier and request contract
The provider release log dates V4.1 Flash to September 10, 2026. The current API table lists 1,048,576 tokens of context and 393,216 tokens maximum output. The model-discovery documentation supplies exact integers and defines a combined input-plus-output budget. Its maximum output is a separate cap; subtracting that cap does not establish a standalone maximum input.
Documented hosted capabilities include text and image input, text output, JSON output, tool calls, Chat Completions, Responses and the Anthropic-format API. FIM completion is restricted to non-thinking mode, and chat-prefix completion is beta. Vision input is not generated images, audio generation or a live audio session.
The former deepseek-v4-flash and deepseek-v4-flash-vision-exp names temporarily redirect to this model at Flash rates. They do not pin old weights, historical benchmark behavior or the former experimental vision service. Prefer the current documented ID in new configurations and retain both requested and served identities in logs. The Vision-Exp retirement reference covers historical runs.
Thinking settings and conversation state
Thinking is enabled by default, with high effort. The current guide supports low, high and max effort. An OpenAI-format request uses thinking.type to switch thinking and reasoning_effort for effort; the OpenAI Python SDK places the nonstandard thinking object inside extra_body. Responses uses reasoning.effort, where none disables thinking. Do not transplant one interface's control object into another.
Temperature has no effect in thinking mode. The current Chat Completions reference marks presence and frequency penalties deprecated, with no effect. The documented thinking-mode range for top_p is 0.95–1.0, with lower values treated as 0.95; non-thinking mode fixes it at 1.0 and ignores the supplied value. A successful request is insufficient evidence that every requested sampling setting took effect.
For requests carrying tools, the guide requires all earlier reasoning_content to be passed back, including turns where the model did not call a tool. Without tools, earlier reasoning is ignored and is not concatenated into the next context. Store the correct assistant message shape, preserve call IDs and return tool results under those IDs. Trim conversation history only with an explicit policy that preserves the state your interface requires.
Image input has several independent limits
The vision guide accepts JPEG, PNG, GIF and WebP based on file content. Chat Completions uses text and image_url blocks; Responses uses input_image parts. Images belong in user messages, not system or assistant messages.
| Constraint | Recorded limit | Implementation consequence |
|---|---|---|
| Encoded body | 48 MiB | Base64 expansion and the remaining JSON count toward this body limit. |
| Single image | 32 MiB inline / URL; 64 MiB by file ID | The uploaded-file path has a different allowance; a MIME label cannot convert the file content. |
| Image count | 600 | Per-image, aggregate-byte and context constraints still apply. |
| Per-side dimensions | 8,192 px; 4,096 px for 15+ images | Validate the multi-image rule before sending a large request. |
Total image bytes are limited to 64 MiB without file-ID images, or up to 200 MiB including them. That aggregate allowance does not override the smaller inline JSON-body limit. Public URLs also have their own length, download timeout and image-size constraints. Apply the constraints for the transport actually used.
The provider resizes images before tokenization, upscaling small inputs and bounding larger ones. A larger source image can have the same billed token count after preprocessing without retaining all its original detail. Use the provider's image-token calculator for planning and actual reported usage for accounting. benchr does not claim an image-accuracy test, cache-hit rate or end-to-end latency measurement here.
Why the architecture needs more than one parameter count
The released model card describes a 552B backbone and separate 196B Engram conditional memory. Its causal encoder-decoder has 40 layers, split into 20 encoder and 20 decoder layers. The provider reports 8B active during prefill and 16B during decode. These describe different components and execution phases; adding them or choosing one as a universal “active size” would obscure the architecture.
Its decoder derives global KV state from final encoder states. CSA2 shares cache and indexing work across layers, while bounded replay reconstructs recent sliding-window state. The card reports a global KV footprint of 890 bytes per token. That is one cache category under the provider's implementation, not the complete GPU-memory requirement. Weights, activations, workspaces, image encoding, quantization and serving concurrency still need a deployment-specific budget.
The repository and weights are explicitly MIT-licensed. Read the exact license and the repository's inference and encoding instructions. The repository contains a Jinja chat template and a Python reference encoder. The README still claims no Jinja template is supplied, so that absence statement is outdated. Inspect the exact revision and encoding tests used by your runtime; this review checked the file and its source, not runtime compatibility. Its recipe toolkit handles protocol encoding and output parsing; it leaves inference, tool execution and HTTP transport to the caller. benchr has not executed the weight conversion or a self-hosted deployment.
Costs and evidence to retain
Current peak rates are $0.30 for fresh input, $0.006 for cache-hit input and $1.20 for output per million tokens. Off-peak figures are $0.15, $0.003 and $0.60. Peak windows are weekdays 01:00–04:00 and 06:00–10:00 UTC excluding Chinese public holidays. The pricing analysis keeps the schedule, cache assumptions and aggregate examples explicit.
Provider evaluations are useful leads, not benchr measurements. The repository's NL2Repo table gives 64.0 while the September release log gives 65.4; those source observations must not be blended into one supposedly stable result. The repository also documents different agent scaffolds and sample counts. Record the full evaluation setup before comparing with another model or with your own integration.
For a deployment decision, use exact source revisions, representative inputs, tool-follow-up cases and a bounded token budget. Review supplied outputs in Labs and calculate the recorded usage separately. This revision verified documents and local arithmetic; it did not call DeepSeek, run the weights or reproduce its benchmarks.
The hosted alias now serves the 1017 revision
The October 17 update upgrades the hosted Flash route to DeepSeek-V4.1-Flash-1017. The provider says the API calling method and model-token prices are unchanged. Preserve the original September launch and released-checkpoint evidence separately: a moving hosted route does not establish that an older weight artifact or benchmark run represents the revised service.
Search and Fetch are separately billed APIs. From November 1 at 00:00 Beijing time, each costs $0.75 per 1,000 successful requests, including server-side tool use through the named agent integrations. Model token quotes exclude these charges. Keep the tool request count with the token bill and re-run representative tool and image cases before assuming the old hosted behavior survives the version change.