This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+3 more
Summary
AI summaryUpdates What's New, CLI changes, and path across a mixed release.
Full changelog
What's New
tiktoken support
Token estimation now uses tiktoken when installed, replacing the char/4 heuristic. Install with pip install tokentoll[tiktoken].
Project config file (.tokentoll.yml)
Projects can add a .tokentoll.yml to configure default models for dynamic call sites:
default_model: gpt-4o
calls_per_month: 5000
overrides:
- path: src/agents/
default_model: claude-sonnet-4-20250514
- path: src/embeddings/
default_model: text-embedding-3-small
When tokentoll cannot statically resolve a model name, it uses the configured default instead of showing <dynamic> | N/A. Output shows gpt-4o (default) to distinguish from resolved models.
This makes tokentoll useful for router/proxy projects where model names are always determined at runtime.
CLI changes
- New
--configflag onscananddiffto specify a config file path --calls-per-monthnow defaults to config value when not explicitly set
71 tests, all passing.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Tokentoll
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]