All model pricing

deepseek · DEEPSEEK

DeepSeek V4.1 Flash API Pricing

Check the model ID and provider reference rates for DeepSeek V4.1 Flash, along with current pricing availability on DEEPSEEK.

deepseek-v4.1-flashView provider pricing

How to use DeepSeek V4.1 Flash for coding

Paste a short diff and its intended behavior into a text Chat Completions client, then ask which edge cases the tests should cover.

Use OpenAI SDK with an AI in IDE DEEPSEEK key. View setup guide

Send the exact model ID deepseek-v4.1-flash in a text Chat Completions request. Use the DeepSeek channel key as a Bearer token.

At DeepSeek’s official off-peak reference rates, the estimated API cost is $0.0011 for 5,000 uncached input tokens and 500 output tokens. This example assumes no cache usage or paid tools.

Effective DEEPSEEK API rates

USD per 1M tokens. AI in IDE prices this model all day at its configured vendor off-peak base price and, at settlement, consumes quota at 0.6× on the DeepSeek channel. The reference column shows DeepSeek’s official off-peak list price — input cache miss, cache hit, and output — as read on 2026-11-22. Each subscription tier includes its own quota, and you can also top up. Promotions follow the current configuration.

AI in IDE quota rateReference provider rate
Input$0.09$0.15
Cache read$0.0018$0.003
Output$0.36$0.60

Use DeepSeek V4.1 Flash in your client

Create a DeepSeek channel API key in your dashboard. Replace YOUR_DASHBOARD_API_KEY to send the OpenAI-compatible Chat Completions request below. The key and its funding source need a positive balance; this request consumes quota.

Client Base URL
https://api.aiinide.com/api/deepseek/v1
Request method and path
POST /api/deepseek/v1/chat/completions
curl --globoff --fail-with-body 'https://api.aiinide.com/api/deepseek/v1/chat/completions' \
  -H "Authorization: Bearer YOUR_DASHBOARD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":"Hello"}],"max_tokens":256}'
View setup guide

To run Claude in DeepSeek Harness through AI in IDE, use the DeepSeek Harness guide. Use Claude in DeepSeek Harness

Create an API key · View plans and top-ups · All model pricing

Example: usage versus a top-up purchase

Each row uses a 3:1 input-to-output mix and no cache reads. Quota consumed is the cost of that mix. The top-up column is a separate purchase.

Monthly tokensReference API costQuota this example consumesSmallest top-up that covers it
1M$0.26$0.157562.5 dollars of quota, priced at $7.99
10M$2.63$1.57562.5 dollars of quota, priced at $7.99
100M$26.25$15.7562.5 dollars of quota, priced at $7.99

The quota column is what this token mix consumes. The top-up column is the smallest purchase the slider accepts: $62.5, then steps of $31.25. A small task does not cost that purchase. Examples round top-up quota up to the next $31.25 with a $62.5 minimum. Actual charges vary by usage, plan, context, speed, and promotions.

Protocol, channels, and tools

Protocol
OpenAI Chat Completions
Path
/api/deepseek/v1/chat/completions
API key header
Authorization: Bearer

Channels and this model ID

  • AWSQ is not compatible with this model ID.
  • CCMAX is not compatible with this model ID.
  • CODEX is not compatible with this model ID.
  • GEMINI is not compatible with this model ID.
  • DEEPSEEK is compatible with this model ID and uses 0.6× the configured model price when the model is in the catalog.

Tool limits on this channel

The DeepSeek channel accepts text Chat Completions requests. Streaming and non-streaming responses are supported, including streaming usage.

DeepSeek V4.1 Flash API FAQ

How much does DeepSeek V4.1 Flash API cost?

Official off-peak reference rates for DeepSeek V4.1 Flash are USD 0.15 input (cache miss), USD 0.003 cache hit, and USD 0.6 output per 1M tokens. AI in IDE prices this model at its configured off-peak base price all day and consumes quota at 0.6× that base price on the DeepSeek channel. Each subscription tier includes its own quota, and you can also top up; promotions follow the current configuration.

What is the DeepSeek V4.1 Flash model ID?

The model ID is deepseek-v4.1-flash.

How do I use DeepSeek V4.1 Flash in my IDE?

Create a DeepSeek API key in your dashboard, replace YOUR_DASHBOARD_API_KEY in the example, and POST an OpenAI-compatible Chat Completions body to /api/deepseek/v1/chat/completions. This page documents text Chat Completions only; streaming and non-streaming responses are supported. To run Claude in DeepSeek Harness, use the linked DeepSeek Harness guide.