deepseek-v4-flash API — per-token pricing and code examples

Checking statusPrice version 4 · in effect since Nov 12, 2026

Price per 1M tokens

InputOfficial price $0.15$0.015
Cache readOfficial price $0.003$0.0018
Cache write$0.015
OutputOfficial price $0.60$0.06

Minimum per request$0.00002

Cache rates apply when the provider reports cache tokens.

90% off

About this model

deepseek-v4-flash is served through OpenAI Chat Completions, OpenAI Responses, Anthropic Messages. You pay $0.015 per 1M input tokens and $0.06 per 1M output tokens. That is 90% below the official price of $0.15 and $0.60. Cache reads cost $0.0018 per 1M tokens when the provider reports cached tokens. It is included in budget packs from $1.99 up.

Specification

Context window
—
Input and output
Text
Endpoints
/v1/chat/completions, /v1/responses, /v1/messages
Smallest pack
$1.99

Latency and error rate per model are on the status page. status.cent-ai.dev

What a request costs

Open the full calculator

Cost per request

90% is an assumption you can change, not a promise. Cache is billed only from cache tokens the model provider reports.

See how many such requests it covers.

Estimate

deepseek-v4-flash
Fresh input99,000 tok
Cache read891,000 tok
Output10,000 tok

Per request$0.003688
At official pricesAt official prices $0.0235

Total$0.003688

An estimate at price version 4. Your bill comes from the usage the provider reports for each request.

Save $0.0198

Code

curl https://api.cent-ai.dev/v1/chat/completions \
  -H "Authorization: Bearer $CENT_AI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek-v4-flash", "messages": [{"role": "user", "content": "Hello"}]}'

Set CENT_AI_KEY to a key from the dashboard. OpenAI SDKs use https://api.cent-ai.dev/v1; Anthropic SDKs use https://api.cent-ai.dev.

Price history

Version 4, in effect since Nov 12, 2026.

  1. Effective

    per 1M tokens

    Inputold $0.015 new $0.015
    Cache readold $0.0015 new $0.0018
    Cache writeold $0.015 new $0.015
    Outputold $0.06 new $0.06
  2. Effective

    per 1M tokens

    Inputold $0.012 new $0.015
    Cache readold $0.0012 new $0.0015
    Cache writeold $0.012 new $0.015
    Outputold $0.048 new $0.06
  3. Effective

    per 1M tokens

    Inputold $0.012 new $0.012
    Cache readold $0.00024 new $0.0012
    Cache writeold $0.012 new $0.012
    Outputold $0.048 new $0.048

Compare with

All models against official prices

Questions

How much does deepseek-v4-flash cost on Cent AI?

$0.015 per 1M input tokens and $0.06 per 1M output tokens. Cache reads cost $0.0018 and cache writes $0.015 per 1M tokens. Each request is rounded up once.

Is there a minimum charge?

A successful request costs at least $0.00002. A request that ends early, because the client left or the output was cut off, pays only for its tokens.

How do I pay?

Top up a prepaid USD balance with QRIS or USDT/USDC, or buy a budget pack once. Nothing renews automatically.

What if the provider does not report usage?

The request is billed from an estimate and marked estimated on the Requests page. An estimate never contains cache tokens.

Which endpoint do I call?

/v1/chat/completions, /v1/responses, /v1/messages. The OpenAI base URL is https://api.cent-ai.dev/v1.

Try deepseek-v4-flash with one key

One prepaid balance for every model. Pay with QRIS or USDT/USDC.

Start free