Token Estimate
util_token_estimateEstimate token count for text using heuristics for GPT and Claude model families. Provide text and optional model hint for accurate counting.
Instructions
Estimate token count for text. Uses word/4 heuristic (GPT-family) and char/4 (Claude-family). Delx Agent Utilities are separate from the free witness protocol and may expose x402 utility pricing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to estimate tokens for | |
| model | No | Optional model hint: gpt-4, claude-3, etc. | gpt-4 |