Learn more about tracking generation results.
How toLog your application
Track token usage and costs
Learn how to efficiently track token usage and associated costs in your LLM application using Maxim's logging capabilities.
Code examples by language
Log token usage by including the usage object in your generation result:
Custom pricing
Need different pricing for your models? Read more on custom pricing.