analyze_tokens
Calculate token counts and API costs using model-aware tokenizers across multiple configured models.
Instructions
Count tokens using model-aware tokenizers and estimate API costs across multiple configured models.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | No | gpt-4o |