Skip to main content
Glama

llm-token-tracker

get_current_session

Retrieve current token usage statistics including remaining tokens, usage breakdown, and cost calculations for API session monitoring.

Instructions

Get current session usage with intuitive format (remaining, used, input/output tokens, cost)

Input Schema

NameRequiredDescriptionDefault
total_budgetNoTotal token budget (optional)
user_idNoUser ID (defaults to current-session)current-session

Input Schema (JSON Schema)

{ "properties": { "total_budget": { "default": 190000, "description": "Total token budget (optional)", "type": "number" }, "user_id": { "default": "current-session", "description": "User ID (defaults to current-session)", "type": "string" } }, "type": "object" }

Other Tools from llm-token-tracker

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/wn01011/llm-token-tracker'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server