DeepSeek V4.1 Flash (DeepSeek) API

DeepSeek · serves deepseek-v4.1-flash the only endpoint we price for it

Pricing

Input / 1M$0.15
Output / 1M$0.60
Blended / 1M$0.75
Cached input / 1M$0.00
Context window1,048,576 tokens
Max output384,000 tokens

textvisionfunction-callingjson-mode

Price verified 2026-09-10 (0 days ago) · sourcesingle source

Get an API key at DeepSeek →

Sources

SourceInput / 1MOutput / 1MVerified
Provider page$0.15$0.602026-09-10

Single source — no second reference available to cross-check.

deepseek-v4.1-flash spec sheetmaker-declared

What DeepSeek declares about the model itself — read from its own weights repository and documentation, not from any host. What each endpoint actually serves is in the pricing above: the two can differ, and both are true.

Context window
1,048,576 tokens
Parameters
763,205,315,794≈ 763.2B
Active experts
6 of 384 active per token
Weight precision
fp8
License
MIT — open weights, permissivecurated · read 2026-09-10Scope: the licence on the published weights, and nothing else. It is not the maker's acceptable-use policy, which is a separate document, and it is not the contract you sign with whichever host you call — hosts set their own terms, which this index does not read.
Knowledge cutoff
not published by the maker≈ March 2026third-party estimate — not the maker's figuremaker's docs · read 2026-09-10
Modalities
text · image
Max output (official)
384,000 tokensmaker's docs · read 2026-09-10
Release date
September 10, 2026maker's docs · read 2026-09-10
Maker lifecycle status
General availabilitymaker's docs · read 2026-09-10

deepseek-ai/DeepSeek-V4.1-Flash · config.json @ dba1be0 · read 2026-09-10 · 9 of 10 fields published by the maker

Call it

OpenAI-compatible endpoint — set DEEPSEEK_API_KEY.

curl https://api.deepseek.com/v1/chat/completions \
  -H "Authorization: Bearer $DEEPSEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-flash",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
from openai import OpenAI  # pip install openai

client = OpenAI(
    base_url="https://api.deepseek.com/v1",
    api_key="...",  # DEEPSEEK_API_KEY
)
resp = client.chat.completions.create(
    model="deepseek-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Use this data

Raw JSON for this page: deepseek-v4.1-flash.json. Free to reuse under CC BY 4.0 with attribution to apipriceindex.com.