DeepSeek-V4.1-Flash

DeepSeek V4.1 Flash: efficient text reasoning and coding.

API IDDeepSeek-V4.1-Flash
View setup
View usage

Estimate your cost

Explore the cost of your next build.

Estimate text chat and coding. Other model types are not included yet.

Start with an example or enter your own

Tokens measure text. Input includes your prompt, instructions and history. Output includes generated text and billable reasoning. Use an example if unsure.

YOUR ESTIMATEUSD
DeepSeek V4.1 Flash
Estimated monthly cost
$2.07/ month

100 requests/day × 30 days = 3,000 requests/month

Per request
$0.000689
Input / month
$0.61
Output / month
$1.46

Pay as you go · Published discounts included

Prompt cachingOff

Shares of total input, averaged across requests. The rest uses regular input pricing. Include cold starts, cache expiry and writes in your assumptions. Published rates do not guarantee cache hits; eligibility and setup vary by model. Uses the published write rate only; one-hour cache writes are excluded.

Compare models

Same token volumes and cache shares for each model. Missing required cache rates make an estimate unavailable. Actual output lengths and quality can differ.

Have a budget?

Approximately 14,524 requests at this request size.About 145.2 days at 100 requests/day.

Text only · Caching off · Media and tool fees excluded.
Agent tasks can make multiple requests. Final costs appear in Usage.

Overview

Context
1,048,576 tokens
Input
Text
Output
Text
Providers
Azure AI Foundry
Latest operational check
Healthy
API compatibility
  • OpenAI Chat Completions
Recommended for
  • General-purpose reasoning
  • Long-context analysis
  • Production assistants

Keep in mind: Text input only. Image input and custom reasoning controls are unavailable.

Supported features
  • Function calling: Not supported
  • Structured outputs: Not supported
  • Vision: Not supported
  • Streaming: Supported
  • Reasoning: Supported
  • Prompt caching: Not supported
Supported parameters
frequency_penaltyfunction_callfunctionslogit_biaslogprobsmax_completion_tokensmax_tokensnparallel_tool_callspresence_penaltyprompt_cache_keyresponse_formatseedservice_tierstopstorestreamstream_optionstemperaturetool_choicetoolstop_logprobstop_p
View API reference

Make your first request

View full setup
curl --fail-with-body https://gateway.primexos.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"DeepSeek-V4.1-Flash","messages":[{"role":"user","content":"Hello from Primex"}],"stream":false}'

Executing this request uses your account’s API credits.