# DeepSeek V4 Flash (Apr 23)

DeepSeek V4 Flash (Apr 23) costs $0.19 per 1M input tokens and $0.51 per 1M output tokens on LLM API, with a 1.05M-token context window.

Model ID: `deepseek-v4-flash` · DeepSeek · Text generation · Released April 25, 2026
Updated: 2026-11-03
Canonical: https://llmapi.ai/models/deepseek-deepseek-v4-flash/

- Input: $0.19 per 1M tokens
- Output: $0.51 per 1M tokens
- Cache read: $0.028 per 1M tokens
- Context: 1.05M tokens
- Max output: 384K tokens

## Pricing

Served by Azure, the only provider.

| Price | Amount | Per |
| --- | --- | --- |
| Input | $0.19 | per 1M tokens |
| Output | $0.51 | per 1M tokens |
| Cache read | $0.028 | per 1M tokens |

**Volume pricing.** At higher monthly volume, DeepSeek V4 Flash (Apr 23) may cost less. Book a call and sales will quote a price for your usage. [Book a call with sales](https://meetings.hubspot.com/julia-andriienko/llmapi) or [Create an account first](https://app.llmapi.ai/signup).

## Features

- Tools: Yes
- Parallel tool calls: No
- Image input: No
- Reasoning: Yes
- Prompt caching: Yes
- Structured outputs: No
- JSON mode: Yes
- Streaming: Yes
- Web search: Yes

## Call DeepSeek V4 Flash (Apr 23)

### Chat Completions (`POST /v1/chat/completions`)

Set LLMAPI_KEY to your LLM API key.

```python
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

response = client.chat.completions.create(
    model="deepseek-v4-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
```

Docs: [Chat Completions docs](https://docs.llmapi.ai/api/v1/chat/completions)

## More from DeepSeek

- [DeepSeek V4 Pro](https://llmapi.ai/models/deepseek-deepseek-v4-pro/): $1.32 / $3.132 per 1M input / output
- [DeepSeek V4.1 Flash](https://llmapi.ai/models/deepseek-deepseek-v4-1-flash/): $0.24 / $0.96 per 1M input / output
- [DeepSeek V4.1 Flash 1017](https://llmapi.ai/models/deepseek-v4-1-flash-1017/): $0.24 / $0.96 per 1M input / output

Prices synced 2026-11-03.

Next step: [Get API key](https://app.llmapi.ai/signup)
