via “tiktoken-based token counting and metrics”
📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, and more.
Unique: Integrates tiktoken for OpenAI-compatible token counting with per-file granularity, providing both aggregate and itemized token statistics. Enables cost estimation by tracking compression ratios and token consumption across different output formats, allowing users to optimize packaging parameters for budget constraints.
vs others: More accurate than character-count-based estimates because it uses actual tokenization logic via tiktoken, and provides per-file breakdown enabling targeted optimization of high-token-consumption files.