Skip to content

[FEATURE]: Add quota command to query provider quota and display usage #19190

Closed as not planned

Description

@cainiao1992

Describe the enhancement you want to request

What do you want to change or add?

Implement a quota command and UI to query and display provider quota usage.

CLI Command:

  • Add opencode quota CLI command to query provider quota
  • Display usage statistics with progress bars

API:

  • Add /global/quota API endpoint

UI:

  • Add Quota tab in Settings dialog (Desktop + Web)
  • Display usage with visual progress bars

Internationalization:

  • Add i18n translations for quota (en.ts, zh.ts)

SDK:

  • Update SDK with quota endpoint

What are the benefits of implementing this?

  1. Users can easily check their current quota usage via CLI
  2. Visual progress bars help users understand their usage at a glance
  3. Centralized quota information in Settings dialog
  4. Support for both desktop and web platforms

This feature is based on commits:

  • cdcd1d9e2 - feat(opencode): add quota command and UI display
  • d3781abae - feat(opencode): add quota command to query provider quota

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    webRelates to opencode on web / desktop
    on Mar 26, 2026
  2. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • The Feature Request template requires checking the verification checkbox confirming you have verified this feature hasn't been suggested before ("I have verified this feature I'm about to request hasn't been suggested before").

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


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

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)webRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions