Skip to main content

๐Ÿงฎ Token Tracking

The Token Tracking section within the Workspace of MANTA allows administrators to configure token usage for users on each model. Token tracking helps you measure how many AI model tokens are consumed and ensures usage is within limits.

This configuration is done directly in the Admin Panel, so no additional backend setup is required.

Navigate to: Admin Panel โ†’ Settings โ†’ Models

From the models list, open a model to access its configuration and token tracking settings. Model Screenshot

Available Token Tracking Optionsโ€‹

Users can select one of the following token tracking methods:

  1. None

    • No token tracking will be performed.
    • Useful if you do not want to monitor or limit token usage for users.
  2. Hugging Face Tokenizer

    • Uses Hugging Faceโ€™s tokenizer library to count tokens.
    • Accurate for models that are compatible with Hugging Face tokenizers.
    • Recommended for models that rely on Hugging Face tokenization
  3. Tiktoken Tokenizer

    • Uses OpenAIโ€™s tiktoken library to count tokens.
    • Accurate for OpenAI models and compatible LLMs.
    • Recommended if your models are based on OpenAI tokenization standards.
note

Each user can track their token usage in the Usage section.

Usage Screenshot