GPT-5.6 Luna price down 80%, Terra down 20% โ†’

DeepSeek V4 Flash 0731 & DeepSeek Harness: Guide to the Agentic Coding Breakthrough (2026)

CometAPI
AnnaAug 9, 2026
DeepSeek V4 Flash 0731 & DeepSeek Harness: Guide to the Agentic Coding Breakthrough (2026)

TLDR DeepSeek-V4-Flash-0731 (released July 31, 2026) is the official, production-ready version of DeepSeekโ€™s efficient Mixture-of-Experts model (284B total / 13B active parameters, 1M-token context). Through targeted post-training it delivers dramatic gains in agentic coding, tool use, and multi-step software engineering . It natively supports the Responses API and OpenAI Codex. DeepSeek Harness is the companion agent framework (minimal mode already used in official evaluations; full release forthcoming) designed to turn the model into a reliable autonomous agent.

Together they offer one of the strongest cost-performance ratios in open-weight and API-accessible agentic AI as of August 2026.

Key Takeaways

  • Major agentic leap via post-training only: Same 284B/13B architecture as the April preview, but dramatically higher scores (e.g., Terminal Bench 2.1: 82.7 vs 61.8; DeepSWE: 54.4 vs 7.3).
  • Outperforms DeepSeek-V4-Pro (Preview) on multiple agent benchmarks despite far fewer activated parameters.
  • Competitive with top proprietary models (close to Claude Opus 4.8 on several agent tasks) at a fraction of the cost.
  • Native 1M context, speculative decoding (DSpark), three reasoning effort levels (low/high/max), MIT license, open weights.
  • Official support for Responses API and Codex (CLI, desktop, VS Code extension).
  • DeepSeek Harness (minimal mode already used in evals) is the official agent framework in closed beta; public release expected soon. DeepSeek Harness provides the agent runtime layer; model + harness = production agent.
  • Ideal for high-volume coding agents, terminal automation, tool use, and long-context workflows.
  • Access DeepSeek models affordably and with unified tooling through CometAPI (OpenAI-compatible endpoint, competitive pricing, multi-model routing).

Whatโ€™s New in DeepSeek V4 Flash 0731?

Official Release Status Changed

The most important product change is that DeepSeek V4 Flash 0731 is now the official release of DeepSeek V4 Flash on the API, in public beta. DeepSeek's July 31 change log says developers can keep calling the same model name, deepseek-v4-flash, to access the latest version. That is important for migration because it avoids a new model slug and lets teams test the update behind existing routing logic.

DeepSeek also says the update only upgrades the V4 Flash API. V4 Pro API and the app/web models were unchanged by the July 31 release, and DeepSeek said the official V4 Pro release would follow soon. In other words, this is not a full DeepSeek V4 family refresh. It is a targeted Flash update.

Architecture Stayed the Same, Post-Training Changed

The core architecture remains unchanged: a Mixture-of-Experts (MoE) model with 284 billion total parameters and only 13 billion activated per token, a hybrid attention design optimized for long context, and a native 1 million token context window. A speculative decoding module (DSpark) is attached for faster generation. The model is text-only, supports adjustable reasoning effort levels (low / high / max), tool calling, structured output, and is released under the permissive MIT license.

That distinction matters. Many model updates improve because the model is larger. This update is more interesting because DeepSeek claims a large agentic jump without increasing the model's parameter footprint. V4 Flash remains a 284B-total, 13B-active Mixture-of-Experts model, which is much smaller at inference time than V4 Pro's 1.6T-total, 49B-active design.

Agentic Coding Scores Jumped

DeepSeek's official table shows major improvements on terminal, repository-building, cyber, software engineering, tool-use, automation, and full-stack coding tasks. The largest absolute jump over the older Flash preview is on DeepSWE: 54.4 versus 7.3, a 47.1-point increase. Cybergym improves by 38.0 points, DSBench-Hard by 33.8 points, and DSBench-FullStack by 31.7 points.

This is why V4 Flash 0731 is being discussed less like a normal "fast model" and more like a candidate default model for coding agents. The value proposition is not just cheap chat. It is cheap, long-context, tool-friendly agent inference.

Responses API and Codex Support Arrived

The July 31 DeepSeek change log says the official V4 Flash natively supports the Responses API format and is specifically adapted for Codex. DeepSeek's Responses API guide says the format was added to meet demand for Codex, uses the base URL https://api.deepseek.com, and currently supports deepseek-v4-flash.

This matters because Codex-style development workflows are not simple chat sessions. They need structured input and output items, reasoning items, tool calls, file-change operations, streaming events, usage accounting, and integration with coding-agent clients. DeepSeek's support is not a perfect clone of every OpenAI Responses API capability, but it is enough to make V4 Flash a much more practical drop-in candidate for coding-agent experiments.

Performance Benchmarks for the Official V4-Flash Version

Benchmark Caveats Developers Should Not Ignore

Official evaluation results (reported by DeepSeek on the model card) show large jumps over the preview and, remarkably, over the much larger V4-Pro Preview on agent-centric tasks. Evaluations for code-agent benchmarks used the minimal mode of DeepSeek Harness (to be released) at max reasoning effort, temperature = 1.0, top_p = 0.95.

That has two implications. First, the model result is partly a model-and-harness result. If your agent runtime has different tools, shell permissions, context management, retries, patch rules, or failure handling, you may not get the same scores. Second, independent reproduction is limited until DeepSeek releases enough of the harness and evaluation setup for outside teams to run comparable tests.

Official DeepSeek Benchmark Table

BenchmarkV4-Flash-0731V4-Flash PreviewV4-Pro PreviewGLM-5.2Opus-4.8
Terminal Bench 2.182.761.872.181.085.0
NL2Repo54.239.438.548.969.7
Cybergym76.738.752.7โ€”83.1
DeepSWE54.47.312.846.258.0
Toolathlon-Verified70.349.755.959.976.2
Agentsโ€™ Last Exam25.215.816.523.825.7
AutomationBench Public25.110.812.812.927.2
DSBench-FullStack โ€ 68.737.041.861.871.6
DSBench-Hard โ€ 59.625.831.154.571.7

Across these nine benchmarks, V4 Flash 0731 averages 55.2. The old V4 Flash preview averages 29.6, and V4-Pro Preview averages 34.9. That means V4 Flash 0731 is about 25.6 points higher than the Flash preview and 20.3 points higher than V4-Pro Preview on this table.

Third-Party Signals

ARC Prize reports V4 Flash 0731 at max effort scoring 89.0% on ARC-AGI-1 Semi-Private and 61.4% on ARC-AGI-2 Semi-Private, with listed costs of $0.02 and $0.04 per task. These are not coding-agent benchmarks, but they support the broader view that the model is competitive on reasoning tasks when run at higher effort.

The gains are especially striking on DeepSWE (software engineering agent loop) and Cybergym. Independent measurements (e.g., Artificial Analysis) report slightly lower but still strong Terminal-Bench figures around 79%, confirming the direction of the improvement while reminding users that vendor-harness numbers tend to be optimistic.

Additional context from earlier V4 evaluations and third-party aggregators shows strong knowledge and coding performance in max-reasoning mode (GPQA Diamond ~88โ€“91%, LiveCodeBench high 80sโ€“90s range depending on source). The 0731 post-training specifically unlocked agent reliability that the preview lacked.

DeepSeek-V4-Flash Now Supports the Responses API and Codex

A strategically important addition is native support for OpenAIโ€™s Responses API. DeepSeekโ€™s official documentation confirms that the Responses API currently supports deepseek-v4-flash (Pro support expected early August 2026). The base URL remains https://api.deepseek.com.

This is a major developer-experience upgrade. Before Responses API and Codex support, DeepSeek V4 Flash could already be called as a text model, but a coding agent had to bridge more integration details itself. Now the model can be used inside workflows that expect Responses-style semantics.

What the Responses API Support Includes

DeepSeek's Responses API creates a model response in OpenAI Responses API format at /responses. The Responses API supports model, input, instructions, stream, temperature, top_p, max_output_tokens, top_logprobs, tools, tool choice, reasoning effort, text format, and usage reporting. The API is stateless, so clients need to send full conversation history for multi-turn interactions.

The most important compatibility details are practical:

  • deepseek-v4-flash is currently the only supported model for Responses API.
  • developer messages are treated as system messages.
  • Function tools, streaming, and adjustable reasoning effort and server-side web search are supported.
  • The custom tool type is supported only for apply_patch, which matters for Codex compatibility.
  • Image and file inputs are not supported; image input parts are replaced with placeholder text.
  • previous_response_id, conversation, store, background mode, metadata, and some context-management features are not supported.
  • Unsupported parameters may be silently ignored, so production clients should test expected behavior explicitly.

For developers, the key point is that Responses API support is not just a syntactic detail. It allows DeepSeek V4 Flash to sit in a protocol lane used by modern coding agents, especially where function calls, streaming events, reasoning items, and patch application need to be represented consistently.

Stateless design (client manages conversation history). Example (Python):

from openai import OpenAI
client = OpenAI(api_key="<DeepSeek API Key>", base_url="https://api.deepseek.com")
response = client.responses.create(
    model="deepseek-v4-flash",
    instructions="You are a helpful coding assistant.",
    input="Refactor this Python function for better readability...",
    reasoning={"effort": "max"}
)
print(response.output_text)

Full details and Codex integration guide: DeepSeek API Docs โ€“ Responses API and Integrate with Codex.

What Codex Support Means

DeepSeek's Codex integration guide says Codex talks to models through the Responses API, which DeepSeek now supports natively. This enables direct integration with Codex (OpenAIโ€™s coding agent ecosystem โ€” CLI, ChatGPT desktop app, and VS Code extension).

Developers can configure a custom provider once via a setup script or by editing ~/.codex/config.toml and a models catalog file. After configuration, Codex clients recognize DeepSeek-V4-Flash and can use its tool-calling, apply_patch, web search, and reasoning capabilities.

DeepSeek V4 Flash vs. DeepSeek V4 Pro

AspectV4-Flash-0731V4-Pro (typical / Preview)
Total / Active Params284B / 13B~1.6T / 49B
Context Window1M tokens1M tokens
StrengthsAgentic coding, terminal, cost, speedDeepest reasoning, knowledge, hardest tasks
Agent Benchmark EdgeWins on published 0731 agent suiteStronger on pure knowledge & complex multi-file in earlier evals
Typical API Pricing~$0.14 in / $0.28 out (cache much lower)Significantly higher (historically 3โ€“12ร—)
Best ForHigh-volume agents, production coding loops, cost-sensitive appsFrontier research, maximum capability single tasks
Open WeightsYes (MIT)Yes (MIT)

Which Should Developers Use First?

On the specific agent benchmarks released with 0731, the smaller Flash model outperforms the Pro preview across the board. For pure knowledge retrieval or the absolute hardest reasoning problems, Pro still holds an edge in many independent and earlier evaluations. In practice, many teams now default to Flash for the majority of agentic workloads and route only the most demanding tasks to Pro (or other frontier models).

That routing strategy is where CometAPI can help. Instead of hard-coding one model across all workloads, use CometAPI to centralize model selection, logging, cost tracking, and fallback policies. For example:

  • Use V4 Flash for repository summarization, refactor planning, code review drafts, generated tests, structured extraction, long-context QA, and repeated agent loops.
  • Escalate to V4 Pro or another premium model when the task has high business risk, ambiguous requirements, fragile production code, or repeated failed attempts.
  • Track the final metric that matters: accepted fixes per dollar, successful tasks per hour, or human review minutes saved.

What Is DeepSeek Harness?

DeepSeek Harness is the official agent framework / runtime layer that DeepSeek is building to turn its models into reliable autonomous agents. The company frames the equation simply: Model + Harness = Agent.

Official evaluations of V4-Flash-0731 already used the โ€œminimal modeโ€ of DeepSeek Harness. The full product is still rolling out (recruiting and early testing were active around late Julyโ€“early August 2026). The team is led by Cui Tianyi (background in quantitative trading systems), and job descriptions emphasize deep integration with DeepSeek-V4 features such as prefix caching, long-context management, KV-cache optimization, tool-use chaining, error recovery, and automatic retry.

Harness is not a generic LangChain-style wrapper. It is being co-designed with the model so that context management, tool orchestration, evidence collection, and repair loops exploit V4-specific efficiencies (sparse attention, caching, reasoning modes). Community projects and third-party harnesses also exist, but the official Harness aims for the tightest possible modelโ€“runtime coupling.

When fully released, it is expected to provide:

  • Structured agent loops for coding and automation.
  • Safety gates and approval flows.
  • Efficient context handling for long-horizon tasks.
  • Observability and artifact production.

Until the full release, developers can already achieve strong results by pairing V4-Flash-0731 with existing agent frameworks or by using the Responses API + Codex path.

Pricing, Availability, and Practical Deployment

  • Official API pricing (approximate): $0.14 / 1M input tokens (cache miss), ~$0.0028โ€“0.03 on cache hit, $0.28 / 1M output tokens. High concurrency limits.
  • Open weights under MIT on Hugging Face; quantized GGUF versions widely available for local/self-hosted use (requires substantial VRAMโ€”full precision is large).
  • Speculative decoding (DSpark) and hybrid attention keep long-context inference relatively efficient.
  • Supported inference engines: vLLM, SGLang, and others with documented recipes.

For many teams the easiest production path is an OpenAI-compatible gateway. CometAPI offers unified access to DeepSeek models (including V4 series) alongside hundreds of other models through a single endpoint (https://api.cometapi.com/v1). Benefits include simplified multi-model routing, competitive or discounted pricing relative to direct providers, usage analytics, and the ability to switch between Flash, Pro, and other models without changing application code. This is particularly useful for agentic systems that may fall back or route by difficulty/cost.

As of this article, CometAPI's DeepSeek V4 Flash listed a starting input price of $0.12 per 1M tokens, an output price of $0.24 per 1M tokens in its comparison table, 100.0% uptime over 24 hours, and a 2941 ms observed response. DeepSeek also warns that overall API prices may rise in the near future. Because provider prices can change, the safe publishing language is: check CometAPI's live catalog and DeepSeek's official pricing before committing production budgets.

Practical Recommendations for Developers and Teams

  1. Start with Flash-0731 for agentic coding โ€” The cost/performance ratio is currently outstanding for terminal, repository, and multi-tool workflows. Use max reasoning effort + Harness-style loops for the hardest tasks.
  2. For local inference, download from Hugging Face and follow the official vLLM/SGLang recipes that enable DSpark.
  3. Integrate via Responses API if you already use Codex or want modern tool-calling semantics.
  4. Self-host or use quantized weights for maximum cost control and data privacy.
  5. Route intelligently โ€” Flash for volume, Pro (or other large models) for the long-tail of ultra-hard problems.
  6. Consider CometAPI for simplified multi-model access, especially if your stack already mixes DeepSeek with other providers.

Conclusion

DeepSeek-V4-Flash-0731 represents a pivotal moment in efficient agentic AI. By delivering frontier-competitive agent performance from a relatively compact MoE (13B active) through focused post-training, and by pairing it with a purpose-built Harness and modern API compatibility (Responses + Codex), DeepSeek has reset expectations for cost-effective coding and automation agents.

Whether you self-host the open weights, call the official API, or route through a unified gateway like CometAPI, V4-Flash-0731 + the evolving Harness ecosystem offers a high-performance, cost-effective foundation for the next generation of AI agents.

FAQs

What is DeepSeek V4 Flash 0731?

DeepSeek V4 Flash 0731 is the official public beta release of DeepSeek V4 Flash on the DeepSeek API, announced in the July 31, 2026 change log. It supersedes the preview version while keeping the same API model name, deepseek-v4-flash.

What is new in DeepSeek V4 Flash 0731?

The main changes are stronger agentic benchmark performance, native Responses API support, Codex adaptation, and a re-post-trained official V4 Flash build. DeepSeek says the model architecture and size stayed the same as the preview version.

Does DeepSeek V4 Flash 0731 support Codex?

Yes. DeepSeek's Codex guide says only deepseek-v4-flash currently supports Codex integration. It works through the Responses API and can be configured for Codex CLI, the ChatGPT desktop app, and the Codex IDE extension for VS Code.

What is DeepSeek Harness?

DeepSeek Harness is DeepSeek's agent framework for turning language models into autonomous coding or workflow agents. Public reports describe a harness as the layer that manages tools, context, files, command execution, and multi-step workflows. DeepSeek used Harness minimal mode in its V4 Flash 0731 benchmark setup.

How can I access DeepSeek V4 Flash through CometAPI?

Use CometAPI's OpenAI-compatible endpoint with the model ID deepseek-v4-flash. The CometAPI model page provides cURL, Python, and JavaScript examples for /v1/chat/completions, plus model specs, pricing, and uptime information.

Is DeepSeek V4 Flash better than DeepSeek V4 Pro?

For the July 31 benchmark table, V4 Flash 0731 beats V4-Pro Preview across the listed agent benchmarks. That does not mean Flash is always better than Pro. V4 Pro is larger and remains stronger on many knowledge-heavy and difficult reasoning tasks in the model card. Use Flash as the default for cost-sensitive agent workflows and Pro as an escalation route.

81 views
Reviewed for clarity, source attribution and current API terminology.

Ready to cut AI development costs by 20%?

Start free in minutes. Free trial credits included. No credit card required.

Read More