r/opencode • • 18d ago

Default, Low, Medium, High or Max ?

Good afternoon sir, i have a little silly question.
On when or where or what or why should i use an variant for ?

And then, did the higher variant = more token consumption ? but on input or on output ? or both ?

1 Upvotes

7 comments sorted by

6

u/FallElectronic3774 18d ago

The variant changes the reasoning/thinking budget, so the direct cost lands on output, not input. Same prompt goes in either way; the model just gets more room to think before it answers, and thinking tokens are billed as output (OpenAI counts them in completion tokens, Anthropic bills extended thinking as output, DeepSeek counts reasoning in completion).

The indirect cost is where it gets you: more thinking usually means more tool calls, and every tool call resends the whole conversation. So input grows on later turns even though the first request was identical. On a long session that compounds more than the thinking itself.

Practical split:

  • low/medium — mechanical edits, rename, small UI change, anything where the diff is obvious.
  • high — debugging where the failure isn't localized, refactors that cross files, anything with a design decision in it.
  • max — planning and architecture only. Using it to implement is paying for deliberation on work you already decided.

One caveat: cached input is cheap, output never is. If your provider caches the prefix, high effort on a long conversation costs less than it looks — but the reasoning tokens are still full price every turn.

2

u/DebosBeachCruiser 18d ago

Yea.

Plan with max.

Implement with med/high

Do any docs and shit in med.

Never do anything in low (unless it's one of the 2 American frontiers (AND EVEN THEN I GET NERVOUS). I love me some beloved deepseek like the next opencode go subscriber, but man the open-source models seem to loose their "natural abilities" like TOOL CALLS. On low they forget how to even read the MF file you sent or directly mentioned. The whale be swimming in loops on low.

2

u/KneeSubstantial263 15d ago

Always use max with the cheap models.

1

u/Code_Dreamer_666 18d ago

For low or medium, use for simple things like small UI changes. For high onwards, use it when the lower reasoning levels struggle, or use it for complex task. Generally, higher reasoning effort means more tokens is used

1

u/Mixermachine 18d ago

I mostly use High and compact often. Be aware that all thinking tokens count as output tokens.
The more the model thinks the faster your context grows.
At 200k context and up cache reads consume a good bit of your quota.
At 400k I observed (for my use cases) that 50 to 80% of quota was consumed by cache reads.

You pay for output AND for cache reads.

Make good plans and compact when important info is written down.
Compact when you switch to a different task.

Keep a concise AGENTS.md with only necessary info. Do not let agents bloat it.
Cavemen speech is fully sufficient for the AGENTS.md.

1

u/thevegit0 15d ago

i use low when i know it's dumb stuff, i let it default for whatever, and when i know i need all of deepseek's power i just set it to max, it's cheap anyways

1

u/MasterSteak4510 15d ago

always max deepseek