Tok - 토큰 추정기
초마이크로초 토큰 추정 도구는 100+ AI 모델을 지원합니다. MB 규모의 프롬프트를 최소한의 종속성으로 처리하고 모델 간 호환성을 위한 평균화 공식이 포함되어 있습니다.
2025•AI 혁신•Published
핵심 기능
- ✓Multi-provider support: 'OpenAI, Anthropic, OpenRouter, Llama models'
- ✓Enterprise features: Per-million token pricing with separate prompt/completion rates
- ✓Lightweight design: Minimal dependencies for maximum performance
영향
- **Sub-microsecond performance** for instant token estimation
- **100+ model support** through averaging formula approach
- **MB-scale prompt handling** with minimal dependencies
- **20MB size reduction** by removing TIC token dependency
- **Developer Efficiency**: Instant cost visibility prevents budget overruns
- **Enterprise Ready**: Supports programmatic budget management
- **Global Adoption**: Used worldwide via npm registry
- **Performance Optimization**: Trade-off of precision for significant performance gains
기술 스택
코어 스택
TypeScriptJavaScriptNode.js
- TypeScript/JavaScript
- Node.js 18.0.0+
- Plugin-based provider system
- Averaging formula for token estimation
태그
AI토큰-추정비용-최적화LLM-비용초마이크로초다중-공급자경량OpenAIAnthropicClaudeGPT-4개발자-도구npm-패키지