Skip to content

[Feature] Track API Token Usage in Profile #8974

Closed

Description

@Biotrioo

Currently, the Profile section in Unsloth Studio appears to track token usage from the built-in chat interface, but not tokens generated through the Unsloth API.

It would be very useful if API usage was included in the same statistics.

Ideally, Profile would track:

  • Input tokens
  • Output tokens
  • Total tokens
  • Tokens generated through Studio Chat
  • Tokens generated through API requests

This would provide an accurate overview of total Unsloth Studio usage, especially for users who mainly access their local models through external apps, agents, or OpenAI-compatible API clients.

Activity

  1. added
    feature request
    on Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions