← Docs/Usage & Billing

Usage & Billing

Billing Rules

UnionToken charges based on actual Token consumption — input and output are billed separately:

Total Cost = (Input Tokens × Input Rate + Output Tokens × Output Rate) / 1000

View Usage

Check detailed usage records and cost statistics in the Merchant Console.

Usage API

GET https://api.uniontoken.ai/console/usage?page=1&size=20
GET https://api.uniontoken.ai/console/usage/summary
GET https://api.uniontoken.ai/console/usage/by-model

Cost Control Tips

  • Use smart routing to let the platform automatically select the best model
  • Choose the right model for each task
  • Set usage alerts to detect abnormal consumption
  • Use embedding models for retrieval