DeepSeek V4 Flash
deepseek/deepseek-v4-flash-0731DeepSeek V4 Flash is a 284B mixture-of-experts model activating roughly 13B parameters per token, with a 1M context window. It uses compressed latent attention, so a very long prompt costs far less memory than its length suggests. Built for work that needs a whole corpus in one pass — repository-wide code analysis, long document synthesis and multi-step reasoning over large inputs.
Endpoints
Each row is one provider serving these weights at one precision. Prices are per million tokens.
| Quantisation | Context | Max out | Input | Output | Cached in |
|---|---|---|---|---|---|
| Undisclosed | 1024K | 32K | $0.10 | $0.20 | $0.02 |
Agent config
Paste this into your coding agent and it can configure itself. The timeout is derived from this variant's measured throughput, not a guess — a long generation that outlives a client's default ceiling is the most common way a working request looks broken.
# Infersia — deepseek/deepseek-v4-flash-0731
# Paste this to your agent. Values are measured, not aspirational.
provider:
type: openai-compatible
base_url: https://api.infersia.com/v1
api_key: ${INFERSIA_API_KEY} # from https://infersia.com/dashboard/keys
model: deepseek/deepseek-v4-flash-0731
limits:
max_input_tokens: 1048576 # hard limit — over this returns HTTP 413
max_output_tokens: 32768
timeout_seconds: 1170 # covers the full 32768 output budget at 57 tok/s, doubled for the tail
# allow ~36s per 1,000 output tokens if you cap max_tokens lower
features:
streaming: true
tools: false
vision: false
reasoning: false
prompt_caching: false
pricing_usd_per_million_tokens:
input: 0.1
output: 0.2
cached_input: 0.02What Undisclosed means
This model is served on capacity we buy rather than hardware we operate, so we cannot verify the precision it is served at. We would rather say that than print a figure we are guessing at.
Call it
curl https://api.infersia.com/v1/chat/completions \
-H "Authorization: Bearer $INFERSIA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4-flash-0731",
"messages": [{"role": "user", "content": "Hello"}],
"stream": true
}'Pin a provider with deepseek/deepseek-v4-flash-0731@infersia, or take the cheapest with the bare id. Add :free for the rate-limited free tier where one exists.