DeepSeek V4 Flash API: pricing, base URL and quick setup
Use DeepSeek V4 Flash on A2Agent with model ID deepseek-v4-flash. The catalog lists a 1M context window. Check token rates below and verify the features your app needs.
Specifications and pricing
| Model ID | deepseek-v4-flash |
|---|---|
| Platform | DeepSeek |
| Context window | 1M |
| Tagged for | chat, reasoning |
| Discount | — |
| Input / 1M tokens | $0.140 |
| Output / 1M tokens | $0.280 |
USD per 1M tokens. Final billing depends on your API key group and metered usage.
What DeepSeek V4 Flash costs on A2Agent
Prices on this page come from the live catalog. Compare the official price with the A2Agent price in the table above, then multiply by your monthly token volume.
Quick setup
curl https://a2agent.me/v1/chat/completions \
-H "content-type: application/json" \
-H "authorization: Bearer sk-your-a2agent-key" \
-d '{
"model": "deepseek-v4-flash",
"messages": [{"role": "user", "content": "Reply with OK"}]
}'Using it from a coding client
In Cline and Roo Code, track total tokens across the session, since the cost adds up across requests. Watch the output rate rather than the input one if your prompts are short and the answers run long.
How it compares within its family
These comparisons use catalog context limits, tags and reference rates, not independent quality benchmarks. Rates can change. Check current pricing above and test your workload; a higher price or a larger context window does not establish better results.
V4 Flash costs less than V4 Pro here, and price is the measured difference in this reference data. Context is 1M on both. The reasoning tag is on both. Flash lists at $0.14 per million input tokens against $0.66 for V4 Pro, and $0.28 output against $1.98. At that spread you can run a task four times on Flash for the price of one Pro call, which changes what is worth trying: sampling several answers and picking, or re-running a failed parse, stops being expensive. Neither rate establishes answer quality. Use a reviewed task set before relying on either model. Record input and output tokens separately so differences in answer length are included in the comparison.
Other models on this platform
Questions
Is Flash weaker than V4 Pro?
They share a window and a tag, and the catalog records no capability difference beyond the tier. Price is the visible split: Pro lists about five times higher on input and seven times on output.
What is the context window?
1M tokens, the same as V4 Pro.
Can I point a coding agent at it?
Yes. It is tagged for chat and reasoning rather than coding, but the 1M window covers repository-scale prompts and agents call it over the standard OpenAI endpoint.
How is it billed?
Per token, at the rate shown on this page, drawn from the same table the gateway charges against. Top up from $5, with no top-up fee.
Billed per token. Top up from $5, no top-up fee.
