GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Excluding reasoning context to reduce token usage · Issue #4895 · anomalyco/opencode

Excluding reasoning context to reduce token usage #4895

New issue
Copy link
New issue
Copy link
Closed
Closed
Excluding reasoning context to reduce token usage#4895
Copy link

Description

@luigicampanaro
luigicampanaro
opened on Nov 29, 2025
Issue body actions

Question

Is there an existing or planned feature in opencode that exclude AI reasoning content from 1) model prompts and 2) session compaction to optimize token consumption?

Thanks in advance :)

Activity

  1. github-actions commented on Nov 29, 2025

    @github-actions
    github-actionsBot
    on Nov 29, 2025 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • Do not send reasoning traces and tool calls made during reasoning when switching from reasoning model to non reasoning model #3035: Do not send reasoning traces and tool calls made during reasoning when switching from reasoning model to non reasoning model - directly addresses excluding reasoning content to reduce token waste
    • Is there any way to debug compaction/token usage/prompts? #4113: Is there any way to debug compaction/token usage/prompts? - discusses excessive token usage and compaction issues
    • Ridiculously big usage of input tokens for simple tasks #254: Ridiculously big usage of input tokens for simple tasks - raises concerns about high token consumption
    • [Feature Request] Configuration to Limit Input Tokens per Request #2637: Configuration to Limit Input Tokens per Request - requests token limit controls to reduce consumption
    • Soft compaction / AI global workspace metabolism #3032: Soft compaction / AI global workspace metabolism - proposes alternative compaction strategies to reduce token bloat
    • Feature: generic /compact command, auto-compaction, and fork-aware conversations #4317: Feature: generic /compact command, auto-compaction, and fork-aware conversations - comprehensive compaction feature request

    Feel free to ignore if your specific case involves a different aspect of token optimization.

  2. thdxr
    closed this as completedon Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.