Zatomic API

Token Usage

Token usage and duration is returned as part of the response headers. These headers only apply to API calls where tokens are used, such as for prompt scoring or generating a heatmap.

Token Response Headers
X-Tokens-Used Number of tokens used for a given request, if applicable.
X-Tokens-Duration The time it took (in seconds) to generate or use the tokens for a given request, if applicable.