Best Practices
Follow these best practices to get the most out of Paygent.
1. Use Descriptive Names
Choose clear, descriptive names for agents and indicators that make your data easy to understand.
2. Track at the Right Granularity
Track each significant AI operation, but don’t over-track minor steps.
- ✓ Track: Each chat completion, content generation, embedding creation
- ✗ Don’t track: Token counting operations, validation checks, internal processing
3. Use Environment Variables
Never hardcode API keys. Always use environment variables.
4. Monitor Your Usage
Regularly check your Paygent dashboard to understand usage patterns, identify anomalies, and optimize costs.
