# DeepSeek V4.1 Flash

> DeepSeek V4.1 Flash (DeepSeek) by API: input from $0.1176 and output from $0.3528 per 1M tokens, context up to 1,048,576 tokens. Paid from the balance.

`deepseek/deepseek-v4.1-flash`, DeepSeek

- Type: Text
- Context window, tokens: 1048576
- Output length, tokens: 393216
- Tool calls: Supported
- Prompt cache: Automatic, on a repeated prompt prefix
- Intelligence Index: 32.6 out of 100

Artificial Analysis score for DeepSeek V4.1 Flash 1017 as of 2026-11-14. [Source: Artificial Analysis (artificialanalysis.ai)](https://artificialanalysis.ai/models). [Full model leaderboard](https://samreshuuu.com/benchmarks)

## Hosts and prices

Prices in the host's currency. A call goes to the default host; the next host takes it only when the first one fails.

| Host | Input per 1M | Cache read per 1M | Cache write per 1M | Output per 1M | Checked |
| --- | --- | --- | --- | --- | --- |
| DeepInfra (default, Processes data outside Russia) | $0.1176 | $0.003528 | $0.1176 | $0.3528 | 2026-11-14 |
| OpenRouter (Processes data outside Russia) | $0.3798 | $0.010128 | $0.3798 | $1.5192 | 2026-11-14 |

## How a call is billed

- A call costs what the host that answered it charges, plus our 20%. Prices on this page already include it.
- A dollar price is charged to the balance in rubles at the official Central Bank of Russia rate of the day of the call.
- Before the call, an estimate by the dearest host of the route is reserved on the balance. After the answer, the actual cost is charged and the rest of the reserve is returned.
- There is no top-up fee, and the unspent remainder is refunded in full.

[Plans and top-ups](https://samreshuuu.com/pricing)

## Request example

Pass an organization key with the models:write scope in the Authorization header. The same address works with the OpenAI SDK and OpenRouter clients.

```bash
curl https://api.samreshuuu.ru/v1/chat/completions \
  -H "Authorization: Bearer $SAMRESHUUU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek/deepseek-v4.1-flash","messages":[{"role":"user","content":"Hi! What can you do?"}]}'
```

[Model API documentation](https://samreshuuu.com/docs/model-api)
