Back to models

DeepSeek V4.1 Flash

deepseek/deepseek-v4.1-flash

DeepSeek's Flash model that thinks before it codes

DeepSeek V4.1 Flash is the 17 October 2026 release of DeepSeek's Flash model, the one DeepSeek itself has served since that date. According to DeepSeek, it scores higher on coding benchmarks while giving shorter answers than the previous release.

0.297 / 1.186cr / 1K0.33 / 1.317-10%

Offer ends December 31, 2026

Context 1M · Released Oct 17, 2026

Eco · half price0.165 / 0.659 cr / 1K

Prompt cache read: 0.014 cr / 1,000 tokens

In your currency, for 1 million input tokens: ≈ $0.16 (rate of Dec 2, 2026, operator fees not included).

Other currencies

99 F CFA · 382 CDF · 1.96 GHS · 21 KES · 287 MWK · 10 MZN · 245 RWF · 3.77 SLE · 439 TZS · 691 UGX · 3.45 ZMW

Capabilities
  • Tools
  • JSON mode
  • Vision
  • Streaming
  • Prompt caching

Last updated Dec 1, 2026

Read the full description

DeepSeek V4.1 Flash is the 17 October 2026 release of DeepSeek's Flash model, the one DeepSeek itself has served since that date. According to DeepSeek, it scores higher on coding benchmarks while giving shorter answers than the previous release.

It thinks before answering, about 600 tokens and 15 seconds on a small coding task in our tests, and reads both text and images in a one-million-token window. Tools and JSON are supported. Built for code, calculations and multi-step problems.

On Tchavi you pay with mobile money, with no international card and no KYC, and one API key covers 100+ models. It is OpenAI-compatible: change the base URL, keep your SDK.

What this model does well

  • Thinks before answering

    About 600 reasoning tokens on a small coding task

  • Built for code

    According to DeepSeek, better at code than the previous release

  • 1M-token context

    About a million input tokens in a single request

  • Up to 393K output

    Very long answers in a single pass

  • Reads images

    Screenshots, diagrams and photos alongside your text

  • Tools and JSON mode

    Function calling and JSON mode (json_object)

Example prompts

  • Review this Python function and fix the bug that breaks the delivery-fee calculation.

  • Write a script that turns a CSV sales export into a monthly report per product.

  • Explain step by step how to repay a 500,000 CFA franc loan in 12 monthly instalments at 2% a month.

Good to know

What to know before you start: limits, settings and what we keep.
  • Its thinking takes time and is billed as output: about 15 seconds on a small task. For sorting or extraction, MiMo-V2.6-Flash answers faster.
  • This is the release dated 17 October 2026: it does not change by itself when DeepSeek ships a new one.
  • Strict structured output (response_format json_schema) and forced tool calls (tool_choice "required" or a named function) are refused with a 400 unsupported_parameter: use json_object and describe the expected format in the prompt, or let the model choose with tool_choice "auto".
We never save what you send to a model or what it returns. We log only your settings (like size or voice) and how much was used, for billing. Files you attach in the playground are deleted after 24 hours.

Frequently asked questions

DeepSeek V4.1 Flash or DeepSeek V4 Flash?

V4.1 Flash is the next generation: it also reads images and, according to DeepSeek, codes better. V4 Flash (model: "deepseek-v4-flash") costs less for high volume.

Why does it take several seconds to answer?

It reasons before answering. Those thinking tokens are billed as output and show up in usage.completion_tokens_details.reasoning_tokens. For instant answers, pick MiMo-V2.6-Flash.

Can I use it before my first top-up?

Yes. Trial credits work on every model, this one included, up to 20 requests a day until the first top-up.

How large are its context and its answers?

Up to 1,048,576 input tokens, and up to 393,216 tokens per answer.

See the 4 other questions
How do I call DeepSeek V4.1 Flash with my OpenAI SDK?

Point the base URL at Tchavi, use your Tchavi key and set model: "deepseek-v4.1-flash" on /v1/chat/completions. The rest of your code stays the same.

How much does DeepSeek V4.1 Flash cost?

For 1,000 words sent and 1,000 words received, expect 1.927 credits (under 1 FCFA). Usage is counted in tokens, small pieces of words (in English, 1,000 words make about 1,300 tokens), so the exact price follows the length of your messages. DeepSeek V4.1 Flash produces reasoning before its answer, and that reasoning is billed like words received.

Can I pay with mobile money, without a bank card?

Yes. Top up your Tchavi account with Orange Money, MTN MoMo, M-Pesa or another mobile money operator. No bank card is needed. Credits land as soon as the payment is confirmed and are deducted as you use them.

Is the API compatible with OpenAI's?

Yes. Keep your current OpenAI SDK, just change the base URL to Tchavi's (shown in the API tab) and use your Tchavi key. The rest of your code stays the same.

API

import Tchavi from '@tchavi/sdk';

const client = new Tchavi({ apiKey: 'API_KEY' });

const response = await client.chat.completions.create({
  model: 'deepseek-v4.1-flash',
  messages: [
  {
    "role": "user",
    "content": "Hello!"
  }
],
});

console.log(response.choices[0].message.content);
console.log('Credits used:', response.tchavi.credits_used);

API parameters

Every parameter this model accepts on the API. Check the SDK for full typings.

modelRequired
string

ID of the chat model (e.g. `deepseek-v4.1-flash`).

messagesRequired
Array<{ role, content }>

Conversation messages. Each item has a `role` (system/user/assistant) and a `content` that's either a plain string or an array of content blocks (`text`, `image_url`, `document_url`).

temperature
number
Default: 1

Sampling temperature between 0 and 2. Higher values = more random.

max_tokens
integer

Maximum number of tokens to generate in the response.

max_completion_tokens
integer

Alias for `max_tokens`. Either field works; if both are sent, `max_completion_tokens` wins.

stream
boolean
Default: false

If true, partial message deltas are streamed as Server-Sent Events.

tools
Array<{ type, function }>

Function-calling toolbox. Pass an array of `{ type: "function", function: { name, description, parameters } }`. Returned tool calls land in `choices[].message.tool_calls`. Only models with `supportsTools: true` accept this.

tool_choice
"auto" | "none" | { type, function }

How the model picks among tools: `"auto"` (default), `"none"` to force a plain text reply, or `{ type: "function", function: { name } }` to force a specific tool. Only with `supportsTools: true`.

response_format
{ type: "json_object" | "text" }

Constrain the output. Pass `{ type: "json_object" }` to force valid JSON (the model still needs a JSON instruction in your prompt). Only models with `supportsJsonMode: true` honour this.

Pricing

-10%Limited offer: the discount applies to every price for this model until December 31, 2026.
per 1,000 tokens
0.297 credits
Input 0.33 · Output 1.317 cr/1K

How billing works

  • Billed per token used, down to a thousandth of a credit.
  • A typical message (500 in, 150 out) costs about —, or 0.327 credits.
  • Prompt cache reads: — per 1K tokens (0.013 credits).
Real-world scenarios
Per day
Per week
Per month

Estimated over 30 days, for a typical message: ~500 input + ~150 output tokens, billed to the thousandth of a credit.

A 10 000 F CFA top-up gives you about ~91 752 questions. Pay with Orange Money, MTN MoMo or M-Pesa, no Visa card needed.

Ready to use DeepSeek V4.1 Flash?

Bonus credits on your first top-up · No card to sign up