From c55fd4d394ed7f8d7041d783394ee80086c58457 Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" Date: Mon, 22 Dec 2025 20:10:44 +0000 Subject: [PATCH] Added Desktop context usage docs --- packages/web/src/content/docs/models.mdx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/web/src/content/docs/models.mdx b/packages/web/src/content/docs/models.mdx index 2077b8e0b..82ef6a5c8 100644 --- a/packages/web/src/content/docs/models.mdx +++ b/packages/web/src/content/docs/models.mdx @@ -25,6 +25,20 @@ Once you've configured your provider you can select the model you want by typing --- +## Context usage (Desktop) + +When you’re using the OpenCode **desktop app**, you’ll see a small context usage indicator next to the prompt input. It shows roughly how “full” the current model’s context window is. + +Hover the indicator to see: + +- **Tokens**: Total tokens used by the most recent assistant message (input + output + reasoning + cache). +- **Usage**: Percentage of the model’s `limit.context`. +- **Cost**: Running cost for the session (assistant messages). + +This is handy when deciding whether to compact the session, start a fresh one, or switch to a model with a larger context window. + +--- + ## Recommended models There are a lot of models out there, with new models coming out every week.