Skip to navigation

DeepSeek V4 Flash

DeepSeek V4 Flash is a fast, low-cost model by DeepSeek, available through the OpenAI-compatible API under the model id deepseek-v4-flash. Input costs $0.0392 and output $0.0784 per 1M tokens. It has a 1M-token context window and up to 384k output tokens per response.

DeepSeek · DeepSeek · Fast

UnavailableDiscount −86%

Low-cost DeepSeek model with a 1M context window and optional thinking.

Requests to this model fail right now: it has no working upstream. The rates below are what it will cost when it returns.

DeepSeek V4 Flash key facts
VendorDeepSeek
Model IDdeepseek-v4-flash
Input price per 1M tokens$0.0392 (regular $0.15)
Output price per 1M tokens$0.0784 (regular $0.60)
Context window1M tokens
Max output384k tokens
API formatsOpenAI
Prices checked

Model id

deepseek-v4-flash

Price per 1M tokens

Input
Regular rate $0.15now $0.0392
Output
Regular rate $0.60now $0.0784
Cached input
$0.00392% below input

86% below the market rate.

Output is 2× the input rate. $1 covers about 12,820 prompts of 1,000 input + 500 output tokens. 1 credit = $1 of usage. All rates

Start using DeepSeek V4 Flash

Set ONEAIAPIKEY_API_KEY to a key from your console, then run any example. Streaming is on so long answers are not cut off by idle-connection timeouts.

curl https://api.oneaiapikey.com/v1/chat/completions \
  -H "Authorization: Bearer $ONEAIAPIKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-flash",
    "stream": true,
    "messages": [{"role": "user", "content": "Add input validation to every handler in routes/users.ts."}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oneaiapikey.com/v1",
    api_key=os.environ["ONEAIAPIKEY_API_KEY"],
)

stream = client.chat.completions.create(
    model="deepseek-v4-flash",
    messages=[{"role": "user", "content": "Add input validation to every handler in routes/users.ts."}],
    stream=True,  # recommended for long outputs
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.oneaiapikey.com/v1",
  apiKey: process.env.ONEAIAPIKEY_API_KEY,
});

const stream = await client.chat.completions.create({
  model: "deepseek-v4-flash",
  messages: [{ role: "user", content: "Add input validation to every handler in routes/users.ts." }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}

More: quickstart · API reference · try it in Chat first

Benchmarks reported by the vendor

Scores for DeepSeek V4 Flash as its maker published them, with the setting they state. We have not re-run them. Versions and settings differ between vendors, so compare only identical benchmark names; compare models side by side.

Tokens per day, by model

Last 7 days, UTC days

Hover, tap or drag across any day, or focus the chart and use the arrow keys, to see how every model did that day.

Real tokens served through this gateway, updated every 30 minutes. Ranked by usage, not quality.

Full ranking insights

DeepSeek line-up

DeepSeek V4 Flash or DeepSeek V4 Flash 0731 Thinking or DeepSeek V4 Flash 0731?

Of the 9 DeepSeek models on this site, DeepSeek V4 Flash 0731 Thinking is the step up from DeepSeek V4 Flash and DeepSeek V4 Flash 0731 the step down. Each comparison lists the published rates and limits, then what favours each side.

Pick DeepSeek V4 Flash when

  • the work is budget coding, sub-agents and batch jobs, which this catalogue lists for DeepSeek V4 Flash and not for DeepSeek V4 Flash 0731 Thinking.

Pick DeepSeek V4 Flash 0731 Thinking instead when

  • a free model covers the work until the promotion ends.
  • DeepSeek V4 Flash falls short and you want the balanced model of the pair.
  • your workload looks like reasoning, coding and agent tasks, labels the catalogue gives DeepSeek V4 Flash 0731 Thinking only.

DeepSeek V4 FlashvsDeepSeek V4 Flash 0731

Pick DeepSeek V4 Flash when

  • the work is budget coding, sub-agents and batch jobs, which this catalogue lists for DeepSeek V4 Flash and not for DeepSeek V4 Flash 0731.

Pick DeepSeek V4 Flash 0731 instead when

  • a free model covers the work until the promotion ends.
  • your workload looks like coding, quick answers and agent tasks, labels the catalogue gives DeepSeek V4 Flash 0731 only.

Use cases

What DeepSeek V4 Flash is listed for, and what it costs

The catalogue lists DeepSeek V4 Flash for budget coding, sub-agents and batch jobs. Each row prices one typical request at the published rates, with the arithmetic shown. The market-rate figure shows the same request at the lowest public price elsewhere. Token counts are examples; your prompts will differ.

Model your own traffic

  1. Budget coding

    Routine edits and boilerplate: 6,000 tokens in, 1,500 tokens out.

    Handles routine edits and boilerplate at a very low rate.

    “Add input validation to every handler in routes/users.ts.”

    Same request on DeepSeek V4 Flash 0731 Thinking $0 and DeepSeek V4 Flash 0731 $0. Cheapest fast-tier model in the family: DeepSeek V4 Flash 0731 at $0 while its free promotion runs, 100% less for now.

    $0.000352

    per edit, about 28,409 per $10

    $0.0018 at the market rate

    0.006 × $0.0392 + 0.0015 × $0.0784

  2. Sub-agents

    A helper step for a larger model: 6,000 tokens of file or search results in, a 500-token summary out.

    Route search, summarising and file triage here while a larger model leads.

    “List every function in this file that writes to the database, one per line.”

    Same request on DeepSeek V4 Flash 0731 Thinking $0 and DeepSeek V4 Flash 0731 $0. Cheapest fast-tier model in the family: DeepSeek V4 Flash 0731 at $0 while its free promotion runs, 100% less for now.

    $0.000274

    per helper call, about 36,496 per $10

    $0.0012 at the market rate

    0.006 × $0.0392 + 0.0005 × $0.0784

  3. Batch jobs

    One item in a large queue of similar prompts: 2,000 tokens in, 200 tokens out.

    Process large queues of similar prompts where cost per item matters most.

    “Summarise this product review in one sentence and rate its sentiment from 1 to 5.”

    Same request on DeepSeek V4 Flash 0731 Thinking $0 and DeepSeek V4 Flash 0731 $0. Cheapest fast-tier model in the family: DeepSeek V4 Flash 0731 at $0 while its free promotion runs, 100% less for now.

    $0.000094

    per item, about 106,382 per $10

    $0.00042 at the market rate

    0.002 × $0.0392 + 0.0002 × $0.0784

Overview

When DeepSeek V4 Flash fits

DeepSeek V4 Flash is a fast, low-cost model from DeepSeek, available here under the exact model id “deepseek-v4-flash”. In the DeepSeek line-up here it sits between DeepSeek V4 Flash 0731 Thinking and DeepSeek V4 Flash 0731. DeepSeek released it on 10 Sept 2026, and it has been on One AI API Key since 8 Oct 2026.

DeepSeek documents tools, reasoning, json mode and prompt caching for it.

It costs $0.0392 per million input tokens and $0.0784 per million output tokens, so output is 2× the input rate. That is 86% below the market rate of $0.15 input and $0.60 output per million tokens, the lowest public price we found at other API gateways. On the use cases below, output makes up 33% of the bill for budget coding, 14% for sub-agents and 17% for batch jobs, so trimming the context you send saves more than capping the answer.

Cached input bills at $0.003 per million tokens, 92% below the standard input rate, which pays off when the same system prompt or documents go out on every request.

It is served through the OpenAI-compatible format at https://api.oneaiapikey.com/v1, so any SDK or tool that lets you set a custom base URL, for example Codex CLI, Cursor and Cline, can use it. It is not offered on the Anthropic Messages endpoint; pick an Anthropic-format model for Claude Code.

Use DeepSeek V4 Flash with any balance.

DeepSeek V4 Flash is a paid model: any balance above $0 pays for it, the $10.00 sign-up credit included. When it runs out, add credit to your wallet. Every request is billed at the rates above, with a receipt in your usage log.

DeepSeek V4 Flash is developed by DeepSeek. Model names and trademarks belong to their owners. One AI API Key is an independent API gateway and is not affiliated with, endorsed by or sponsored by DeepSeek.

New accounts$10 credit on sign-up
Claim $10 credit →