# DeepSeek V4p1 Flash Spot API Pricing

As of October 31, 2026, DeepSeek V4p1 Flash Spot costs $0.21 per 1M input tokens and $0.84 per 1M output tokens on Fireworks AI, with cache reads at $0.0042 per 1M tokens. It has a 1,048,576-token context window and returns up to 393,216 tokens per response.

- Page: https://models.litellm.ai/models/deepseek-v4p1-flash-spot
- Lab: DeepSeek
- LiteLLM model name: `fireworks_ai/accounts/fireworks/routers/deepseek-v4p1-flash-spot`
- Context window: 1,048,576 tokens
- Max output: 393,216 tokens
- Added to LiteLLM: October 30, 2026
- Prices updated: October 30, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Fireworks AI | `fireworks_ai/accounts/fireworks/routers/deepseek-v4p1-flash-spot` | $0.21 | $0.84 | $0.0042 | – | – | 1M |

## Cost examples

1,000 requests with 2,000 input and 500 output tokens each:

- Fireworks AI: $0.84

100 long-document requests with 100,000 input and 2,000 output tokens each:

- Fireworks AI: $2.268

## Features

Supported: Function calling, Structured output, Image input, Reasoning, Prompt caching.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="fireworks_ai/accounts/fireworks/routers/deepseek-v4p1-flash-spot",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## Cost calculator

10,000 requests a day with 1,000 input and 500 output tokens each, at Fireworks AI's price: $0.00063 per request, $6.30 per day, $189 per month (30 days). Try other numbers at https://models.litellm.ai/calculator?model=deepseek-v4p1-flash-spot

## FAQ

### How much does DeepSeek V4p1 Flash Spot cost?

DeepSeek V4p1 Flash Spot costs $0.21 per 1M input tokens and $0.84 per 1M output tokens on Fireworks AI, with cache reads at $0.0042 per 1M tokens.

### What is the context window of DeepSeek V4p1 Flash Spot?

DeepSeek V4p1 Flash Spot has a 1,048,576-token context window and returns up to 393,216 tokens per response.

### Which providers offer DeepSeek V4p1 Flash Spot?

DeepSeek V4p1 Flash Spot is available from Fireworks AI through LiteLLM, using the model name fireworks_ai/accounts/fireworks/routers/deepseek-v4p1-flash-spot.

### How do I call DeepSeek V4p1 Flash Spot with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="fireworks_ai/accounts/fireworks/routers/deepseek-v4p1-flash-spot", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### What features does DeepSeek V4p1 Flash Spot support?

DeepSeek V4p1 Flash Spot supports function calling, structured output, image input, reasoning and prompt caching.

### When did LiteLLM add DeepSeek V4p1 Flash Spot?

DeepSeek V4p1 Flash Spot was added to LiteLLM's model price file on October 30, 2026.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change.
