Developer resource
Token metering guide
Token meters show where usage actually came from. This guide focuses on the simplest next step for a developer.
token meteringprepaid AI APIOpenAI-compatible APIAPI cost control
Why it matters
The search intent behind token metering usually comes down to control, compatibility, and predictable cost.
How to set it up
Use a scoped key, trial credits, and a narrow model list while you confirm the route works.
What to verify
After the first request, verify the log row, the token meters, and the billed amount.
FAQ
What is the first step?
Create one scoped key and keep the first test small.
Why does NexRelay fit this use case?
Because it keeps the first test visible and reversible.