Home / Guides / DeepSeek V4 Flash

DeepSeek V4 Flash code review in GitHub Actions

Published July 31, 2026 · applies to pgup-ai/jbot-review-action v0

The official DeepSeek V4 Flash 0731 can review pull requests free through OpenCode—or directly through DeepSeek at roughly 11× lower uncached input and 27× lower output list prices than Gemini 3.6 Flash. Vendor-published agent scores put the two models in the same performance band, with an important harness caveat explained below.

Official replaces Preview · same API id

On July 31, DeepSeek replaced V4-Flash-Preview with DeepSeek-V4-Flash-0731 behind the unchanged deepseek-v4-flash id. The API is in public beta. DeepSeek says the architecture and size are unchanged; the improvement comes from new post-training focused on agent work. The V4 Pro API and DeepSeek's app/web models were not part of this update.

Free OpenCode setup in three steps

  1. Create an OpenCode API key. Sign in to OpenCode Zen, then save the key as the repository secret OPENCODE_API_KEY (Settings → Secrets and variables → Actions).
  2. Commit the workflow. Add the file below as .github/workflows/jbot-review.yml. OpenCode's deepseek-v4-flash-free alias is updated to the official model; the explicit pin makes that choice visible.
  3. Open a pull request. J-Bot reads the base…head diff and posts diff-anchored findings with a verdict. Blocking findings are checked by a second session before they post.
.github/workflows/jbot-review.yml
name: J-Bot Code Review
on:
  pull_request: { types: [opened, reopened, ready_for_review, synchronize] }

concurrency:
  group: jbot-review-${{ github.event.pull_request.number }}
  cancel-in-progress: true

permissions:
  contents: read
  pull-requests: write
  issues: write
  checks: read

jobs:
  review:
    if: github.event.pull_request.draft == false
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
        with: { fetch-depth: 0 }
      - uses: pgup-ai/jbot-review-action@v0
        with:
          provider: opencode
          model: deepseek-v4-flash-free
          opencode-api-key: ${{ secrets.OPENCODE_API_KEY }}
          github-token: ${{ secrets.GITHUB_TOKEN }}

Free gateway or first-party API

OpenCode · limited-time free

Start at $0

provider: opencode
model: deepseek-v4-flash-free
opencode-api-key

DeepSeek · direct API

Use the first-party endpoint

provider: deepseek
model: deepseek-v4-flash
deepseek-api-key

J-Bot already defaults each provider to the model shown above. Pinning it makes the workflow self-explanatory. The OpenCode route is free during its current feedback window; DeepSeek's direct route uses the published token prices below.

The official 0731 agent benchmarks

DeepSeek published nine agent and coding-agent results with the official release. These are DeepSeek's reported scores, not J-Bot evaluations:

82.7Terminal-Bench 2.1
54.2NL2Repo
76.7Cybergym
54.4DeepSWE
70.3Toolathlon verified
25.2Agent Last Exam
25.1Automation Bench (Public)
68.7DSBench-FullStack
59.6DSBench-Hard

DeepSeek identifies DSBench-FullStack and DSBench-Hard as internal test sets. For the public code-agent benchmarks, it used the not-yet-released DeepSeek Harness in minimal mode, max effort, temperature=1.0, and top_p=0.95. Read the release notes →

Same agent-performance band, very different price

The overlapping vendor tables put official V4 Flash in Gemini 3.6 Flash's agentic coding range. DeepSeek's reported scores are slightly higher on the two named overlaps—but this is directional, not a controlled head-to-head.

Published measureDeepSeek V4 FlashGemini 3.6 Flash
Terminal-Bench 2.182.778.0
DeepSWE54.449.0 (v1.1)
Input / 1M tokens$0.14 (cache miss)$1.50 (no cache)
Output / 1M tokens$0.28$7.50
≈11× cheaperuncached input list price
≈27× cheaperoutput list price

Why the qualification matters: DeepSeek used its own forthcoming harness at max effort; Google's Terminal-Bench result uses the Terminus-2 harness, and Google labels its software-engineering result DeepSWE v1.1. Prices are directly comparable public API list rates checked July 31, 2026. DeepSeek says a future peak window will charge 2× its regular rates, with the effective date still to be announced. Sources: DeepSeek pricing and Google's Gemini 3.6 Flash model card.

Normal reviews versus the published benchmark setup

J-Bot's native-provider default is medium reasoning effort. DeepSeek ran the released code-agent benchmarks at max effort. To ask J-Bot for the closest available effort setting, add this input:

model-options: '{"reasoningEffort":"max"}'

This still does not reproduce DeepSeek's benchmark: its harness has not been released, and J-Bot uses its own review prompts, read-only tools, finding schema, and verification pass. Use max when depth matters more than latency; keep the default medium for everyday PR throughput.

Where the diff goes

FAQ

Is this the official DeepSeek V4 Flash or the Preview model?

It is the official DeepSeek-V4-Flash-0731 model, released as an API public beta on 2026-07-31. DeepSeek replaced V4-Flash-Preview behind the existing deepseek-v4-flash id, so the calling method did not change. DeepSeek says the architecture and size are unchanged; the model was re-post-trained for stronger agent capabilities.

Which J-Bot route gets the official DeepSeek V4 Flash?

OpenCode's deepseek-v4-flash-free route is updated to the official model, and DeepSeek's direct API serves it through deepseek-v4-flash. In J-Bot, use provider: opencode with model: deepseek-v4-flash-free for the limited-time free route, or provider: deepseek with model: deepseek-v4-flash and a DEEPSEEK_API_KEY for the first-party route.

Is DeepSeek V4 Flash on par with Gemini 3.6 Flash, and how much cheaper is it?

The vendors' published agent results place them in the same performance band: DeepSeek reports 82.7 on Terminal-Bench 2.1 and 54.4 on DeepSWE; Google reports 78.0 and 49.0 for Gemini 3.6 Flash. This is directional rather than a controlled head-to-head because the harnesses differ. At direct API list rates checked 2026-07-31, DeepSeek costs $0.14 per million uncached input tokens and $0.28 per million output tokens, versus Gemini's $1.50 and $7.50—about 11 times and 27 times cheaper respectively.

Is the OpenCode DeepSeek V4 Flash route free?

Yes, for a limited time. OpenCode lists deepseek-v4-flash-free at $0 during its feedback window. OpenCode also states that data collected through this free model may be used to improve it, so do not treat the free route as a zero-retention path. Availability, quotas, and terms remain provider-controlled; J-Bot adds no charge of its own.

Related