pip)Clone the repository:
git clone https://github.com/aanshshah/llm_token_analytics_lib.git
cd llm_token_analytics_libInstall the library and dependencies:
pip install -e .(Optional) Install provider dependencies for data collection:
pip install llm-token-analytics[providers]Set up your environment variables for API keys (if applicable):
export OPENAI_API_KEY="your-key"
export ANTHROPIC_API_KEY="your-key"
export GOOGLE_CLOUD_PROJECT="your-project"To verify the installation, run the basic simulation example:
python examples/01_basic_simulation.py