← Back to Blog
New model

DeepSeek V4 Flash API: fast open-weight MoE with a 1M context

FastMetal

DeepSeek V4 Flash scores within a few points of frontier models on agent and coding benchmarks while running as a small, fast mixture-of-experts. It is on FastMetal as deepseek-v4-flash, on the same OpenAI-compatible endpoint and API key as every other model we serve.

The model

  • Mixture-of-experts with 284B total parameters and 13B active per token.
  • A context of up to 1,048,576 tokens and output of up to 384K tokens, enough to pass a whole codebase or a long document set in one request.
  • Public measurements put output speed at around 100 tokens per second, with about 1.1 seconds to the first token.
  • Open weights under the MIT license.
  • On FastMetal it takes text, supports tool calling and strict structured output, and does not train on your prompts.

Benchmarks

DeepSeek released a retrained version, V4-Flash-0731, on July 31, 2026. DeepSeek reports that it beat its own flagship, the V4 Pro preview, on all nine agent and coding benchmarks it published. FastMetal serves that retrain under its own ID, deepseek-v4-flash-0731, beside the original.

On Terminal Bench 2.1, an agent benchmark, V4 Flash scores 82.7. Anthropic's Claude Opus 4.8 scores 85.0 on the same test, a gap of 2.3 points.

These are published figures, not our own runs. Quality varies by task and by language, so test it on your own prompts before you switch a workload.

Where it fits

The common pattern is two tiers: V4 Flash as the default for everyday code generation, RAG and tool calls, and a frontier model only for the requests that need deeper reasoning. With one key for both, the escalation is a change to the model field. V4 Flash bills per million tokens and costs less than V4 Pro; compare the rates on the V4 Flash and V4 Pro pages.

Calling it

curl https://api.fastmetal.ai/v1/chat/completions \
  -H "Authorization: Bearer $FASTMETAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-flash",
    "messages": [{"role": "user", "content": "Write FizzBuzz in Python"}]
  }'

With the OpenAI SDK, set base_url to https://api.fastmetal.ai/v1 and keep the rest of your code.

Specs are on the model page, billing is explained on the pricing page, and the model catalog lists everything else you can call with the same key.


Sources

Try DeepSeek V4 Flash right now

DeepSeek V4 Flash is available on FastMetal through one API key. Start in the browser, or call it from the OpenAI SDK.