Skip to main content
AnyAIGC

DeepSeek says V4.1 Flash now beats V4 Pro on performance, cost and speed

DeepSeek · deepseek-v4.1-flash

DeepSeek V4.1 Flash API

The smallest model in DeepSeek's new architecture family: a 552B MoE with native vision. In DeepSeek's words, stronger, faster and more affordable.

60% offvs. DeepSeek official peak price · input $0.1215 / 1M, one rate all day

Look at this report screenshot, find the three biggest month-over-month drops and explain why

deepseek-v4.1-flash costs $0.1215 per 1M input tokens, $0.4860 per 1M output tokens and $0.0024 per 1M cache hits, at one rate all day. It works with OpenAI-compatible clients and Claude Code.

  • Price 60% off official peak
  • Model ID deepseek-v4.1-flash
  • Context 1M tokens
  • Input $0.1215 / 1M
  • Concurrency Unlimited
  • Business Self-service invoices
About the model

Asymmetric design, more intelligence per dollar

DeepSeek released V4.1 Flash in September 2026, describing it as the smallest model in a new architecture family, with native vision. The new design aims for a higher ceiling, faster inference, more throughput and room to scale to larger models.

It is a 552B-parameter MoE built on a Causal-Encoder-Decoder design where input and output are asymmetric: 8B parameters are active on input and 16B on output. DeepSeek says the KV cache needs 1/4 the HBM and 1/8 the SSD of the previous generation, which cuts the cache costs that dominate agent workloads. In October DeepSeek updated it to V4.1-Flash-1017, citing clear gains on project-level coding.

On AnyAIGC, deepseek-v4.1-flash runs on the OpenAI-compatible /v1/chat/completions endpoint with text and image input. It also works directly in Claude Code, at one rate all day with no concurrency cap.

Context window
1Mtokens
Max output
384Ktokens
Parameters
552BMoE, 8B active input / 16B active output
Input
Text, imagesNative multimodal
Thinking
On or offOn by default
Weights
OpenMIT license
Capabilities

What DeepSeek V4.1 Flash can do

  • 01

    Agentic coding

    The model card reports DeepSWE v1.1 at 74.2 and Terminal-Bench 2.1 at 90.6, both ahead of V4 Pro.

  • 02

    Image understanding

    Native vision: send charts, UI screenshots and scanned documents as input.

  • 03

    Thinking on or off

    Thinking is on by default. Turn it off for simple requests to get faster, shorter responses.

  • 04

    Tool calls and JSON

    DeepSeek's docs list tool calls and JSON output, so it fits agent frameworks and automation pipelines.

  • 05

    Cheaper caching

    DeepSeek says the KV cache is much smaller. On AnyAIGC cache hits cost $0.0024 per 1M tokens, so repeated context in multi-turn agents stays cheap.

  • 06

    1M context

    Up to 384K output tokens. Large repos and long documents fit in a single context.

Pricing

DeepSeek V4.1 Flash API pricing

Per-token billing at one rate all day, with no subscription or monthly fee. About 60% off DeepSeek's official peak price.

  • Per-token billingInput, output and cache hits priced separately
  • One rate all dayOfficial peak price is 2× off-peak
  • About 60% offVs. DeepSeek's official peak price
  • No concurrency capOn by default for every user
deepseek-v4.1-flash prices per 1M tokens (USD): AnyAIGC vs. DeepSeek official off-peak and peak
ItemModelAnyAIGCOfficial off-peakOfficial peakDiscount
InputCache miss, per 1M tokensdeepseek-v4.1-flash$0.1215$0.15$0.3060% off
OutputPer 1M tokens, incl. thinkingdeepseek-v4.1-flash$0.4860$0.60$1.2060% off
Cache hitPer 1M tokensdeepseek-v4.1-flash$0.0024$0.003$0.00660% off

Prices are in USD and billed on the tokens you actually use. Output includes thinking tokens, and repeated prompt prefixes are billed at the cache-hit rate. Official prices come from the DeepSeek API pricing page (USD). Peak time is weekdays 01:00–04:00 and 06:00–10:00 UTC (9:00–12:00 and 14:00–18:00 Beijing time); all other hours are off-peak. The table shows the lowest price in the model catalog. Live prices are shown in the AnyAIGC model catalog.

Cost examples

Estimates for common workloads. Struck-through figures are the same usage at DeepSeek's official off-peak and peak prices.

  • 50-turn coding agent

    Each turn: 60K cache-hit tokens + 4,000 input + 2,000 output

    $0.080

    Official peak $0.198 · off-peak $0.099

  • 10,000 ticket labels

    Each: 2,000 input tokens + 300 output

    $3.89

    Official peak $9.60 · off-peak $4.80

  • 1M input + 1M output

    1M input tokens + 1M output tokens

    $0.608

    Official peak $1.50 · off-peak $0.750

Benchmarks

V4.1 Flash vs. V4 Pro

Results DeepSeek published in the V4.1 Flash model card, compared with V4 Pro.

V4.1 Flash vs. V4 Pro · official evals

  • V4.1 Flash · DeepSWE74.2
  • V4 Pro · DeepSWE62.7
  • V4.1 Flash · Terminal-Bench90.6
  • V4 Pro · Terminal-Bench87.9
  • V4.1 Flash · HumanEval79.4
  • V4 Pro · HumanEval76.8
DeepSeek V4.1 Flash vs. V4 Pro official benchmarks
BenchmarkV4.1 FlashV4 Pro
DeepSWE v1.1Software engineering, Resolved74.262.7
Terminal-Bench 2.1Terminal coding90.687.9
HumanEvalCoding, Pass@179.476.8
GSM8KMath, EM93.092.6
MMLU-ProGeneral knowledge, EM74.173.5

Source: the DeepSeek-V4.1-Flash model card, results as published by DeepSeek. DeepSeek has not published text results for the October V4.1-Flash-1017 update, so they are not listed here.

Compare

V4.1 Flash vs. V4 Pro vs. V4 Flash

Start new projects on V4.1 Flash. It is the only one of the three that reads images.

DeepSeek V4.1 Flash, V4 Pro and V4 Flash compared; prices are AnyAIGC USD per 1M tokens
SpecV4.1 FlashV4 ProV4 Flash
StatusLatestAvailableRetired by DeepSeek
Context1M1M1M
InputText, imagesTextText
AnyAIGC inputPer 1M tokens$0.1215$0.5346$0.1215
AnyAIGC outputPer 1M tokens$0.4860$1.6038$0.4860
Cache hitPer 1M tokens$0.0024$0.0178$0.0024

Specs come from the official DeepSeek API docs and Hugging Face model cards. Prices are current AnyAIGC prices; live prices are shown in the model catalog. See the DeepSeek V4 Pro API guide.

Use cases

What DeepSeek V4.1 Flash is good for

  • 01 · Coding agents

    Claude Code and custom agents

    Run tasks of dozens or hundreds of steps in Claude Code or your own agent framework. Cache hits are cheap, so repeated context in long sessions costs little.

  • 02 · Vision

    Reports, screenshots and scans

    Hand the model report screenshots, UI captures or scans to pull out data, check figures and write up findings.

  • 03 · Batch jobs

    Classification, extraction, summaries

    Ticket triage, field extraction, review tagging and long-document summaries. Low unit price, one rate all day, no concurrency cap.

  • 04 · Long context

    Large repos and long documents

    Fit a whole codebase or a full contract set into 1M tokens, then ask the model to map the structure and answer questions.

Quick start

Get started with the DeepSeek V4.1 Flash API

  1. Sign up and add credit: create an account at anyaigc.ai. Top up from $1; your balance works across every model on the platform.
  2. Create an API key: create a key in the console, copy the sk- key, and store it in the ANYAIGC_API_KEY environment variable.
  3. Send a request: call POST https://anyaigc.ai/v1/chat/completions with model set to deepseek-v4.1-flash and an Authorization: Bearer header. With the OpenAI SDK, just set base_url to https://anyaigc.ai/v1.
POST /v1/chat/completions
curl https://anyaigc.ai/v1/chat/completions \
  -H "Authorization: Bearer $ANYAIGC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4.1-flash",
    "messages": [
      {"role": "user", "content": "Explain what a MoE model is in three sentences."}
    ]
  }'
Python · openai SDK
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://anyaigc.ai/v1",
    api_key=os.environ["ANYAIGC_API_KEY"],
)

resp = client.chat.completions.create(
    model="deepseek-v4.1-flash",
    messages=[
        {"role": "system", "content": "You are a senior backend engineer. Answer with runnable code."},
        {"role": "user", "content": "Write a Go HTTP client with timeouts and retries."},
    ],
)
print(resp.choices[0].message.content)
print(resp.usage)  # prompt_tokens_details.cached_tokens = tokens billed at the cache-hit rate
Python · image_url
import base64
import os
from pathlib import Path
from openai import OpenAI

client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])

# Encode a local image as a Base64 data URL; a public image URL works too
b64 = base64.b64encode(Path("chart.png").read_bytes()).decode()

resp = client.chat.completions.create(
    model="deepseek-v4.1-flash",
    messages=[{
        "role": "user",
        "content": [
            {"type": "text", "text": "Read the value for each quarter in this chart and return a Markdown table."},
            {"type": "image_url", "image_url": {"url": f"data:image/png;base64,{b64}"}},
        ],
    }],
)
print(resp.choices[0].message.content)
Python · thinking
import os
from openai import OpenAI

client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])

# Toggle thinking with the thinking field (enabled / disabled); set depth with reasoning_effort
resp = client.chat.completions.create(
    model="deepseek-v4.1-flash",
    reasoning_effort="high",
    extra_body={"thinking": {"type": "enabled"}},
    messages=[{"role": "user", "content": "Rewrite this SQL to use window functions: SELECT ..."}],
)
print(resp.choices[0].message.content)
print(resp.usage.completion_tokens_details.reasoning_tokens)  # tokens spent on thinking
Python · tools
import json
import os
from openai import OpenAI

client = OpenAI(base_url="https://anyaigc.ai/v1", api_key=os.environ["ANYAIGC_API_KEY"])

tools = [{
    "type": "function",
    "function": {
        "name": "run_tests",
        "description": "Run the unit tests at a path in the repo and return the failing cases",
        "parameters": {
            "type": "object",
            "properties": {"path": {"type": "string", "description": "Test file or directory"}},
            "required": ["path"],
        },
    },
}]
messages = [{"role": "user", "content": "Run tests/test_api.py and tell me which cases fail."}]

resp = client.chat.completions.create(model="deepseek-v4.1-flash", messages=messages, tools=tools)
msg = resp.choices[0].message
# Send the full assistant message back unchanged, then append the tool results
messages.append(msg.model_dump(exclude_none=True))
for call in msg.tool_calls or []:
    args = json.loads(call.function.arguments)
    result = {"path": args["path"], "failed": ["test_login_timeout"]}  # replace with the real result
    messages.append({"role": "tool", "tool_call_id": call.id, "content": json.dumps(result)})

final = client.chat.completions.create(model="deepseek-v4.1-flash", messages=messages, tools=tools)
print(final.choices[0].message.content)

Parameters: DeepSeek says the V4 series thinks by default. The thinking field in the request body turns it on or off ({"type": "enabled"} or {"type": "disabled"}), and reasoning_effort sets the depth (officially low / high / max). Thinking tokens count as output and show up in usage.completion_tokens_details.reasoning_tokens. Sampling parameters such as temperature have no effect in thinking mode.

See the Chat Completions API reference for every parameter. Swap the model name in the doc examples for the DeepSeek model ID you want.

Claude Code

Use DeepSeek V4.1 Flash in Claude Code

Point Claude Code at DeepSeek V4.1 Flash: edit one config file and write code with DeepSeek in your terminal, billed per token.

  1. Install Claude Code: use the official installer, for example curl -fsSL https://claude.ai/install.sh | bash on macOS or Linux.
  2. Add the config: edit ~/.claude/settings.json, add the env block below, and replace ANTHROPIC_AUTH_TOKEN with the key you created on AnyAIGC.
  3. Start coding: run claude in your project folder. Type /model to confirm the current model is deepseek-v4.1-flash.
~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://anyaigc.ai",
    "ANTHROPIC_AUTH_TOKEN": "sk-your-API-key",
    "ANTHROPIC_MODEL": "deepseek-v4.1-flash",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "deepseek-v4.1-flash",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "deepseek-v4.1-flash",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "deepseek-v4.1-flash",
    "API_TIMEOUT_MS": "300000",
    "CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1"
  }
}

Switch models: to compare with V4 Pro, replace deepseek-v4.1-flash with deepseek-v4-pro in the config. Nothing else changes.

For full steps and common errors, see the Claude Code setup guide. Swap the model name in the guide for deepseek-v4.1-flash.

Enterprise

DeepSeek V4.1 Flash API for teams and enterprises

Teams can top up, issue invoices themselves, and work with a dedicated support and technical contact.

  • Invoices

    Issue them yourself

    Issue an invoice in the console for the amount you actually topped up, whenever you need one.

  • Dedicated support

    Account and technical contacts

    Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.

Payment methods
  • WeChat Pay
  • Alipay
  • USDT
  • Credit card

Why teams trust AnyAIGC

Trial credit, top-ups, refunds, data handling and billing, spelled out up front.

  • 5M free tokens to start

    New accounts get trial credit, so you can test before you top up.

  • Top up from $1, refundable

    Top up from $1. Unused balance can be refunded with no fee.

  • Official channels, real models

    Requests go to official model channels, never cheaper or reverse-engineered substitutes.

  • No retention, no training

    Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.

  • Transparent billing, spend caps

    See tokens and cost for every request in the console, and set a quota on each API key.

  • 24/7 support

    Contact support any time about integration, billing or incidents.

SPECS

Specs and how to choose it

The official pricing page lists version DeepSeek-V4.1-Flash-1017, and the model name the vendor recommends for calls is deepseek-flash.

It has a 1M context length and a 384K maximum output, supports thinking (the default) and non-thinking modes, and supports vision input.

It supports JSON output, tool calls, the Responses API and the Anthropic API, with an official concurrency limit of 2500.

This page lists Input at $0.1215, Output at $0.4860, Cache hit at $0.0024, matching the pricing table above.

Compared with deepseek-v4-pro: the release notes describe V4-Pro as the larger 1.6T-total, 49B-active model, but the pricing page says it does not support vision input.

Specs come from the vendor's official documentation (api-docs.deepseek.com). The table on this page is the price, and the model catalog is authoritative for live rates.

FAQ

DeepSeek V4.1 Flash API FAQ

How much does the DeepSeek V4.1 Flash API cost?

deepseek-v4.1-flash on AnyAIGC is billed per token: $0.1215 per 1M input tokens, $0.4860 per 1M output tokens and $0.0024 per 1M cache-hit tokens. DeepSeek's official off-peak USD price is $0.15 input, $0.60 output and $0.003 cache hit, and it doubles at peak times. Output includes thinking tokens. Live prices are shown in the model catalog.

Does AnyAIGC have peak and off-peak pricing?

No. The official DeepSeek API uses time-of-day pricing: weekdays 01:00–04:00 and 06:00–10:00 UTC (9:00–12:00 and 14:00–18:00 Beijing time) is peak time, and peak prices are double the off-peak prices. On AnyAIGC, deepseek-v4.1-flash is billed at one rate around the clock. That rate is about 60% off the official peak price. Live prices are shown in the model catalog.

What is new in DeepSeek V4.1 Flash?

According to DeepSeek, V4.1 Flash is the smallest model in its new architecture family: a 552B-parameter MoE with an asymmetric Causal-Encoder-Decoder design, 8B active parameters on input and 16B on output, and native vision. DeepSeek says its KV cache needs 1/4 the HBM and 1/8 the SSD of the previous generation, which sharply cuts caching costs for agent workloads.

Is V4.1 Flash better than V4 Pro?

DeepSeek says that across multiple tests, V4.1 Flash now beats V4 Pro on performance, cost, speed and total task time. Its model card reports DeepSWE v1.1 at 74.2 vs. 62.7 and Terminal-Bench 2.1 at 90.6 vs. 87.9. On AnyAIGC, V4.1 Flash input costs $0.1215, about a quarter of V4 Pro ($0.5346).

Does DeepSeek V4.1 Flash accept images? How do I send one?

Yes. Add an {"type": "image_url", "image_url": {"url": ...}} block to the messages[].content array. The url can be a public image URL or a Base64 data URL.

How long is the context? Does it support thinking mode?

DeepSeek lists a 1M-token context and up to 384K output tokens for V4.1 Flash. It supports both thinking and non-thinking modes (thinking is on by default), plus tool calls and JSON output.

Can I use DeepSeek V4.1 Flash in Claude Code?

Yes. DeepSeek models on AnyAIGC support both the OpenAI and the Anthropic API formats. In the env block of ~/.claude/settings.json, set ANTHROPIC_BASE_URL to https://anyaigc.ai, ANTHROPIC_AUTH_TOKEN to your API key and ANTHROPIC_MODEL to deepseek-v4.1-flash, then run claude. You pay per token.

Are there concurrency or rate limits?

AnyAIGC does not cap concurrency for deepseek-v4.1-flash, and every user gets this by default. That suits batch jobs, CI pipelines and parallel agents.

How do I get a DeepSeek V4.1 Flash API key?

Sign up at anyaigc.ai, add credit, and create a key in the console. The same key works for every DeepSeek model and 300+ other models on the platform, so you do not need a separate DeepSeek Platform account.

Can I get an invoice from AnyAIGC?

Yes. You can issue invoices yourself in the console, for the amount you actually topped up.

Which payment methods are supported?

You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.

Is there free trial credit for new users?

Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.

Can I get a refund on my balance?

Yes. Unused balance can be refunded with no fee. Contact support to start a refund.

Are these the real models? Is my data safe?

Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.

Run DeepSeek V4.1 Flash at one rate all day

Sign up, create an API key, and you can use deepseek-v4.1-flash in your code or Claude Code within minutes.