The above is an estimate. For exact counts, use the API usage field or the offline Python tokenizer described in the docs.
← See: Token Usage