Repository navigation
Description
Description
OpenCode 1.18.7 passed 60 of 89 Terminal-Bench 2.1 tasks with deepseek/deepseek-v4-flash. The score was 67.42%. DeepSeek reports 82.7% for V4-Flash-0731 on the same benchmark. The gap is 15.28 percentage points.
This is not a strict agent-only comparison. DeepSeek used DeepSeek Harness minimal mode at max effort. This OpenCode run did not set a variant, so the API used its documented default high effort. Please help confirm whether OpenCode sends and preserves all DeepSeek controls and reasoning data correctly.
Run contract:
- Run date: 2026-08-11 to 2026-08-13
- Dataset:
terminal-bench/terminal-bench-2-1 - Dataset digest:
sha256:7d7bdc1cbedad549fc1140404bd4dc45e5fd0ea7c4186773687d177ad3a0699a - Harbor: 0.20.0
- OpenCode: 1.18.7
- Model:
deepseek/deepseek-v4-flash - Environment: Docker
- Attempts: 1 per task
- Retries: 0
- Result: 60 pass, 29 fail, 67.42%
- Evidence: 89 of 89 final verdicts are attached
Please check these points:
- Does
--variant maxsendreasoning_effort: "max"to DeepSeek in headless runs? - Does OpenCode return
reasoning_contentafter every tool call, as DeepSeek requires? - Does the Chat Completions path behave differently from the Responses API path?
- Are context limits, output limits, compaction, and timeouts reducing task success?
- Does OpenCode report cache and reasoning usage correctly?
DeepSeek source: <https://api-docs.deepseek.com/updates/#date-2026-07-31
Plugins
No response
OpenCode version
1.18.7
Steps to reproduce
- Use Harbor 0.20.0 with Docker.
- Use dataset
terminal-bench/terminal-bench-2-1@sha256:7d7bdc1cbedad549fc1140404bd4dc45e5fd0ea7c4186773687d177ad3a0699a. - Use Harbor's built-in
opencodeagent with OpenCode 1.18.7. - Use model
deepseek/deepseek-v4-flash. - Do not set an OpenCode variant. This matches the observed run and uses DeepSeek's default
higheffort. - Run the 89 attached task IDs once. Use 18 concurrent tasks and agents, setup timeout multiplier 5, build timeout multiplier 2, agent timeout multiplier 20, and zero retries.
- Count a pass only when reward is
1.0and no exception exists. Count a timeout as a failure. - Compare the result with a second run that uses
--variant max.
Observed result: 60/89, or 67.42%.
Expected result: OpenCode should expose a documented, working configuration for DeepSeek's max effort. It should preserve reasoning data across tool calls. A max-effort rerun should explain whether the 15.28-point gap comes from effort, harness behavior, or another integration problem.
Screenshot and/or share link
matched-plain-60-of-89.csv
matched-plain-60-of-89.json
Operating System
Docker via Harbor 0.20.0 on AWS
Terminal
Harbor 0.20.0 built-in OpenCode agent, non-interactive.
Activity
github-actions commentedon Aug 14, 2026
This issue might be a duplicate of or related to existing issues. Please check:
--variantsilently ignored when the value is not in the model's reasoning_options #40182:--variantsilently ignored when the value is not in the model's reasoning_options (directly related to your point 1)luanweslley77 commentedon Sep 16, 2026
with the deepseek v4.1 flash happens the same but the gap is minor, in DSH minimal points 90.6 against 85.0 in opencode
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊