gamezovladislav/Token Counter
Count tokens in files or directories for AI models (OpenAI/Anthropic)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | File or directory path to analyze (relative to workspace) | no | . |
| model | Tokenizer model identifier (use an OpenAI model like gpt-4o to avoid API calls) | no | o3 |
| pretty_output | Enable colorized output (true/false). Prefer false for artifacts/summaries. | no | false |
Outputs
| name | description |
|---|---|
| raw_output | Raw output of the token counter |
| summary_file | Path to the generated summary file |