# DeepSeek V4.1 Flash

> DeepSeek V4.1 Flash

Provider: Deepseek · Type: Vision · State: Ready

model path: `accounts/fireworks/models/deepseek-v4p1-flash`

[Try in playground](https://app.fireworks.ai/playground?model=accounts/fireworks/models/deepseek-v4p1-flash) · [Deploy on demand](https://app.fireworks.ai/dashboard/deployments/create?baseModel=accounts/fireworks/models/deepseek-v4p1-flash) · [Fine-tune](https://app.fireworks.ai/dashboard/fine-tuning/create?baseModel=accounts/fireworks/models/deepseek-v4p1-flash)

DeepSeek-V4.1-Flash is a multimodal Mixture-of-Experts model with 552B backbone parameters that natively processes images and text at up to 1M token context. Its Causal Encoder-Decoder architecture activates only 8B parameters during prefill and 16B during decode, cutting the KV cache footprint to roughly a quarter of DeepSeek-V4-Flash for cost-efficient agentic workloads.

## DeepSeek V4.1 Flash API Features

- **Fine-tuning**: DeepSeek V4.1 Flash can be customized with your data to improve responses. Fireworks uses LoRA to efficiently train and deploy your personalized model · [Docs](https://docs.fireworks.ai/fine-tuning/fine-tuning-models)
- **Serverless**: DeepSeek V4.1 Flash is available via Fireworks' serverless API, where you pay per token. There are several ways to call the Fireworks API, including Fireworks' Python client, the REST API, or OpenAI's Python client. · [Docs](https://docs.fireworks.ai/getting-started/quickstart)
- **On-demand Deployment**: On-demand deployments allow you to use DeepSeek V4.1 Flash on dedicated GPUs with Fireworks' high-performance serving stack with high reliability and no rate limits. · [Docs](https://docs.fireworks.ai/guides/ondemand-deployments)

## Available Serverless

**$0.30 / $0.006 / $1.20** Per 1M Tokens (input/cached input/output)

Run queries immediately, pay only for usage

## Metadata

- **State**: Ready
- **Created on**: 10 SEP, 2026
- **Kind**: Base model
- **Provider**: Deepseek
- **Huggingface**: [deepseek-ai/DeepSeek-V4.1-Flash](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash)

## Specifications

- **Calibrated**: No
- **Mixture-of-Experts**: Yes
- **Parameters**: 755B

## Supporting Functionality

- **Fine-tuning**: Supported
- **Serverless**: Supported
- **Context Length**: 1040k tokens
- **Function Calling**: Supported
- **Embeddings**: Not Supported
- **Rerankers**: Not Supported
- **Supporting image input**: Supported

## DeepSeek V4.1 Flash FAQs

### What is DeepSeek V4.1 Flash and who developed it?

DeepSeek V4.1 Flash is a multimodal Mixture-of-Experts model from DeepSeek, released September 10, 2026, that processes images and text natively and targets cost-efficient agentic workloads.

### What applications and use cases does DeepSeek V4.1 Flash excel at?

Code agents (terminal and repository tasks), visual agents over images and charts, and other cost-efficient agentic workloads. [DeepSeek reports](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash) 90.6 on Terminal-Bench 2.1 and 74.2 on DeepSWE v1.1.

### What is the maximum context length for DeepSeek V4.1 Flash?

1,048,576 tokens, the `max_position_embeddings` value in `config.json`, reached by YaRN scaling (factor 16) from a 65,536-token base (`original_max_position_embeddings`).

### What is the usable context window for DeepSeek V4.1 Flash?

Fireworks serves DeepSeek V4.1 Flash with a 1040k-token context window, available on both serverless and on-demand deployments.

### Does DeepSeek V4.1 Flash support quantized formats (4-bit/8-bit)?

Yes. The checkpoint is natively quantized to FP8 with block-wise scaling and dynamic activations, and its expert weights are FP4.

### What is the maximum output length Fireworks allows for DeepSeek V4.1 Flash?

Fireworks allows generation up to the full 1040k-token context window. When `max_tokens` is not set, it will default to 2,048. DeepSeek recommends setting to at least 256K.

### What are known failure modes of DeepSeek V4.1 Flash?

DeepSeek [documents](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash/blob/main/DeepSeek_V41_Tech_Report.pdf) two limitations:

- Architectural changes create robustness boundaries not yet fully characterized.
- CSA2 selection errors and approximate SWA Bounded Replay state reconstruction may degrade capability in untested boundary cases.

### Does DeepSeek V4.1 Flash support streaming responses and function-calling schemas?

Yes to both. Streaming runs through the `stream` parameter, and the model page lists function calling as supported.

### How many parameters does DeepSeek V4.1 Flash have?

DeepSeek V4.1 Flash has 552B backbone parameters, activating 8B per token during prefill and 16B during decode.

### Is fine-tuning supported for DeepSeek V4.1 Flash?

No. Fine-tuning is not supported for DeepSeek V4.1 Flash on Fireworks, and no V4.1 variant offers it.

### How are tokens counted (prompt vs completion)?

Fireworks bills input, cached input, and output tokens separately, priced at $0.30, $0.006, and $1.20 per 1M tokens.

[View Serverless Pricing](https://docs.fireworks.ai/serverless/pricing)

### What rate limits apply on the shared endpoint?

Fireworks places DeepSeek V4.1 Flash in the Small tier for [serverless rate limits](https://docs.fireworks.ai/serverless/rate-limits). Limits adapt per account and model as usage grows, up to ceilings of 216M total prompt TPM, 54M uncached prompt TPM, and 2.16M generated TPM at spending Tier 3 and above. On-demand deployments carry no rate limits.

### How will upgrades or deprecations of DeepSeek V4.1 Flash be communicated?

Fireworks announces serverless model deprecations in advance, following its [serverless model lifecycle policy](https://docs.fireworks.ai/serverless/overview#serverless-model-lifecycle). For long-term version stability it recommends on-demand deployments.

### What license governs commercial use of DeepSeek V4.1 Flash?

MIT License, covering both the repository and the model weights. Commercial use, modification, and redistribution are permitted provided the copyright and permission notice are retained.

### Does Fireworks log request content for DeepSeek V4.1 Flash?

No. Fireworks operates [zero data retention](https://docs.fireworks.ai/guides/security_compliance/data_handling) by default and does not log prompt or generation data for open models without opt-in. The Responses API is the exception, retaining data 30 days when `store` is true.
