Short answer: You can count tokens in Anthropic by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Anthropic Count Tokens action to a workflow, map its 2 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Model model | options | Required | Model. Options: Claude Opus 4, Claude Sonnet 4, Claude Haiku 3.5 |
Message Content content | string | Required | Message Content. e.g. "The text to count tokens for" |
{"model": "{{trigger.model}}","content": "The text to count tokens for"}
{"input_tokens": 42}
Use these fields in downstream nodes for routing, logging, or error handling.
Any of these apps can fire this action as part of a workflow.