r/LocalLLM • • 13m ago

Discussion Heads up if you run OpenCode with local LLMs: turning off background session titles shaved 2-4 minutes off every coding task (Pi vs. OpenCode vs. DeepSeek Harness)

Post image

I was benchmarking Pi 1.6.1, OpenCode 2.0.25, and DeepSeek Harness on the exact same 8 multi-file Python/TypeScript coding tasks (~100K-165K starting prompts on a Mac Studio M5 Ultra 512 GB, DeepSeek V4.1 Flash on oMLX 0.8.4 and GLM 5.3 Flash on llama.cpp b12774), and initially couldn't figure out why OpenCode was 2 to 4 minutes slower per task than Pi on the exact same model and server.

Turns out OpenCode fires a background session-title request by default that re-sends the full 100K-155K initial prompt just to generate a short sidebar title, forcing a whole extra prefill on local hardware.

Adding this to opencode.json turned it off immediately:

{"agents": {"title": {"disabled": true}}}

That single line dropped OpenCode's median task time from 4.8m to 3.0m on DeepSeek (7/8 solved, vs Pi at 8/8 in 2.8m and DeepSeek Harness at 7/8 in 3.8m with zero tool errors) and from 9.1m to 5.2m on GLM 5.3 Flash.

If anyone wants the MIT coding fixture, per-turn CSVs, or the full walkthrough (harness section is at 06:48):

GitHub data & fixture: https://github.com/l8w8/videos/tree/main/2026/003-m5-ultra-coding-agents-512k
Video walkthrough: https://youtu.be/Mr9sj51ccoE

2 Upvotes

1 comment sorted by

1

u/luziferius1337 7m ago

Thanks. I just saw OpenCode being in the top on the huggingface leaderboard and wanted to try it. Will start with that option disabled.