Sign inSign up

DeepSeek V4.1 Flash

🔥⚡

deepseek-v4.1:flash

deepseek-v4.1flashToolsReasoning

DeepSeek V4.1 Flash, a fast general-purpose model with a 1M-token context window. Supports tool calling, JSON output, streaming and adjustable reasoning effort.

When to choose DeepSeek V4.1 Flash

DeepSeek V4.1 Flash is a fast, general-purpose open-weight model with one of the two largest context windows in the Tokener CA catalog. It works with text only and supports tool calling, JSON output and streaming.

It is a strong fit for:

  • Long documents and codebases — read, search and summarise large inputs in one request.
  • General assistants — question answering, drafting and rewriting where quick replies matter.
  • Tool use — function calling in agent loops and API workflows.
  • Batch text work — classification, extraction and tagging at volume.

Reasoning, from off to high

By default DeepSeek V4.1 Flash answers directly, without a thinking phase. When a task needs more care, ask for a low, medium or high reasoning effort per request. Reasoning tokens are billed as output tokens, so keep the effort off or low for routine work. See Reasoning controls.

How it compares

Choose GLM 5.3 Flash when the same large context must include images. For the hardest coding and reasoning tasks, compare Qwen3.8 27B. When the input is short and price matters most, Nemotron 3.5 Lightning 30B is the budget choice.

Pricing

10% offuntil Oct 13, 2026, 6:50 PM EDT
Input (per 1M tokens)Regular price US$0.20 / M TokensLimited-time price US$0.18 / M Tokens
Output (per 1M tokens)Regular price US$0.89 / M TokensLimited-time price US$0.801 / M Tokens
Cache read (per 1M tokens)Regular price US$0.04 / M TokensLimited-time price US$0.036 / M Tokens

You pay only for the tokens you use. How billing works.

Specifications

Context window1M tokens
Max output1M tokens
InputText
OutputText
ReasoningOff, Low, Medium, High (default Off)

Performance

Latency 0.4 s

Throughput 753 tok/s · measured Oct 10, 2026

Latency and throughput: median of the last 10 test requests from our server.

Uptime 94.6 % · last 3 days

Share of our automatic test requests in the last 3 UTC days (today so far and the two days before) that got a complete answer. We send them about every 30 minutes from our server to the suppliers your requests use by default; supplier timeouts and rate limits count as failures. A short outage between two checks can be missed.

Quick start

Call DeepSeek V4.1 Flash through the OpenAI-compatible API at https://a.tokener.ca/v1, or the Anthropic-compatible (Messages) API at https://a.tokener.ca (no /v1), with the model id deepseek-v4.1:flash.

curl https://a.tokener.ca/v1/chat/completions \  -H "Authorization: Bearer $TOKENER_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "deepseek-v4.1:flash",    "messages": [{"role": "user", "content": "Hello!"}],    "stream": true  }'

Other protocols

The same model, key and price are available on the OpenAI Responses and Anthropic-compatible (Messages) protocols. For the Anthropic SDKs, use the base URL https://a.tokener.ca (without /v1).

OpenAI Responses — guide

curl https://a.tokener.ca/v1/responses \
  -H "Authorization: Bearer $TOKENER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4.1:flash",
    "input": [{"role": "user", "content": [{"type": "input_text", "text": "Hello!"}]}],
    "stream": false
  }'

Anthropic-compatible (Messages) — guide

curl https://a.tokener.ca/v1/messages \
  -H "x-api-key: $TOKENER_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4.1:flash",
    "max_tokens": 4096,
    "messages": [{"role": "user", "content": [{"type": "text", "text": "Hello!"}]}],
    "stream": false
  }'

Questions

How much does DeepSeek V4.1 Flash cost?

DeepSeek V4.1 Flash costs US$0.20 per 1M input tokens and US$0.89 per 1M output tokens. Cached input tokens are US$0.04 per 1M. You pay only for the tokens you use.

What is the context window of DeepSeek V4.1 Flash?

DeepSeek V4.1 Flash has a context window of 1,048,576 tokens. It can return up to 1,048,576 output tokens.

Can I control reasoning on DeepSeek V4.1 Flash?

Yes — DeepSeek V4.1 Flash supports these reasoning settings: Off, Low, Medium, High. The default is Off. You choose it per request.

Is DeepSeek V4.1 Flash OpenAI-compatible?

Yes — call DeepSeek V4.1 Flash through Tokener's OpenAI-compatible API at https://a.tokener.ca/v1 with the model id deepseek-v4.1:flash. Both OpenAI protocols work: Chat Completions at https://a.tokener.ca/v1/chat/completions and OpenAI Responses at https://a.tokener.ca/v1/responses. Any OpenAI-compatible client or SDK works.

Can I use DeepSeek V4.1 Flash with the Anthropic SDK?

Yes — DeepSeek V4.1 Flash is available on the Anthropic-compatible Messages API at https://a.tokener.ca/v1/messages. Point the Anthropic SDK at the base URL https://a.tokener.ca (without /v1 — the SDK appends it) and use the model id deepseek-v4.1:flash. Which features work varies by model; see the Anthropic SDK guide at /docs/anthropic-sdk.

How do I try DeepSeek V4.1 Flash?

Create an API key, add credits, and call the endpoint with the model id deepseek-v4.1:flash — or try DeepSeek V4.1 Flash in the Tokener Playground.

Try in PlaygroundGet an API keyIntegration docsAll models