Back to Models

DeepSeek V4 Flash APIActive

deepseek-v4-flash

No description available

By:DeepSeekInput Type:Output Type:

AI Code With channel availability

The same model is billed by channel discount. Copy a channel code to set your preference.

ChannelCache Hit RateContext
战略算力资源48% off
84.0%¥1.56/ M tokens¥4.68/ M tokensRead:¥0.052/ M tokensWrite:¥0/ M tokens200K0.0s
第三方厂商25% off
84.0%¥2.25/ M tokens¥6.75/ M tokensRead:¥0.075/ M tokensWrite:¥0/ M tokens200K0.0s

Related Models

More models from DeepSeek

Compare models from other providers

DeepSeek V4 Flash API: price, model ID, and how to call it

Call DeepSeek V4 Flash through AI Code With. Use model ID deepseek-v4-flash with 200K context. list price about ¥3.00 / ¥9.00 per 1M tokens before channel discounts. About ¥0.2028 for 100,000 input / 10,000 output tokens at the cheapest live channel.

Model IDdeepseek-v4-flash
ProtocolsOpenAI Chat Completions
Context200K
Max output32K

Next: Get API key · See integration guides · Compare DeepSeek models · All model prices

Cost calculator

Estimate at the cheapest live channel: ¥1.56 / ¥4.68 per 1M tokens, cache read ¥0.0520, cache write ¥0.0000. Billed usage follows your prepaid balance.

Estimated cost¥0.2028

cURL example

Set model to deepseek-v4-flash. The page slug is only the URL, not the API parameter.

curl https://api.aicodewith.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $AICODEWITH_API_KEY" \
  -d '{
    "model": "deepseek-v4-flash",
    "messages": [
      { "role": "user", "content": "What is the meaning of life?" }
    ]
  }'

FAQ

What is the DeepSeek V4 Flash model ID?

Send model "deepseek-v4-flash" in the API request. The page path /deepseek-v4-flash is only the URL, not the model parameter.

How do I call the DeepSeek V4 Flash API?

Use one AI Code With API key against https://api.aicodewith.ai/v1/chat/completions, and set model to deepseek-v4-flash. Supported protocols: OpenAI Chat Completions. See See integration guides.

How is DeepSeek V4 Flash priced?

DeepSeek V4 Flash is list price about ¥3.00 / ¥9.00 per 1M tokens before channel discounts. The public page shows available channel discounts; billed usage follows your prepaid balance and the live channel. About ¥0.2028 for 100,000 input / 10,000 output tokens at the cheapest live channel.

How long is the DeepSeek V4 Flash context window?

DeepSeek V4 Flash has about 200K input context and up to 32K output tokens. Treat that as capacity, not a reason to fill every request.