Skip to content

Ollama monthly usage limit is not displayed #1268

Description

@kshitijpatil

Description

OpenUsage detects my Ollama account correctly and shows the Free plan and recent activity cost, but it does not display the monthly usage limit returned by Ollama.

The Ollama usage API currently returns a monthly usage value under:
limits.monthly.usage

For example:
limits.monthly.usage = 0.053
which represents 5.3% monthly usage.

Authentication appears to be working correctly. OpenUsage detects the Ollama account and plan, and the Ollama /api/usage endpoint returns the usage data successfully when authenticated.

Steps to Reproduce

  1. Sign in to Ollama using ollama signin.
  2. Enable the Ollama provider in OpenUsage.
  3. Verify that https://ollama.com/api/usage returns limits.monthly.usage.
  4. Check OpenUsage's local API using:
    curl -s http://127.0.0.1:6736/v1/usage | jq
  5. Observe the Ollama provider output.

OpenUsage currently returns an Ollama entry containing the Free plan and a "Last 4 Weeks" cost line, but no monthly usage progress line.

Expected Behavior

OpenUsage should parse limits.monthly.usage and display it as a monthly usage progress indicator.

For example:
Monthly: 5.3%

Actual Behavior

OpenUsage detects the Ollama account and plan and displays recent activity cost, but the limits.monthly.usage value is not displayed.

The UI currently only shows something similar to:
Plan: Free
Last 4 Weeks: $0.00

No monthly usage progress is shown.

OpenUsage Version

0.7.11

macOS Version

27

Mac Type

Apple Silicon

Screenshots

No response

Additional Context

No response

Activity

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

Metadata

Metadata

Assignees

Labels

approvedMaintainer-approved issue or PR scopebugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions