You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The competition is THICC, but Chonkie is one slim and quicc hippo! π¦β¨
Ever wondered how much CHONKier other text splitting libraries are? Well, wonder no more! We've put Chonkie up against some of the most popular RAG libraries out there, and the results are... well, let's just say Moto Moto might need to revise his famous quote!
"I may be a hippo, but I'm still light and fast!" π¦β¨ -Chonkie the hippo
β‘ Speed Benchmarks
ZOOOOOM! Watch Chonkie run! πββοΈπ¨
Speed Benefits
Faster Processing: Chonkie leads in all chunking methods!
Production Ready: Optimized for real-world usage
Consistent Performance: Fast across all chunking types
Scale Friendly: Process more text in less time
100K Wikipedia Articles
The following benchmarks were run on 100,000 Wikipedia articles from the
chonkie-ai/wikipedia-100k dataset
All tests were run on a Google Colab A100 instance.
Token Chunking
Library
Time
MB/s
Speed Factor
π¦ Chonkie
58 sec
4.82 MB/s
1x
π LangChain
1 min 10 sec
4 MB/s
1.21x slower
π LlamaIndex
50 min
0.09 MB/s
51.7x slower
Sentence Chunking
Library
Time
MB/s
Speed Factor
π¦ Chonkie
59 sec
4.74 MB/s
1x
π LlamaIndex
3 min 59 sec
1.71 MB/s
4.05x slower
π LangChain
N/A
N/A
Chunker Doesn't exist
Recursive Chunking
Library
Time
MB/s
Speed Factor
π¦ Chonkie
1 min 19 sec
3.54 MB/s
1x
π LangChain
2 min 45 sec
1.7 MB/s
2.09x slower
π LlamaIndex
N/A
N/A
Chunker Doesn't exist
Semantic Chunking
Tested with sentence-transformers/all-minilm-l6-v2 model unless specified otherwise.
Library
Time
MB/s
Speed Factor
π¦ Chonkie (with default settings)
13 min 59 sec
0.33 MB/s
1x
π¦ Chonkie
1 hour 8 min min 53 sec
0.067 MB/s
4.92x slower
π LangChain
1 hour 13 sec
0.077 MB/s
4.35x slower
π LlamaIndex
1 hour 24 min 15 sec
0.055 MB/s
6.07x slower
500K Wikipedia Articles
The following benchmarks were run on 500,000 Wikipedia articles from the
chonkie-ai/wikipedia-500k dataset
All tests were run on a c3-highmem-4 VM from Google Cloud with 32 GB RAM and a 200 GB SSD Persistent Disk attachment.
Token Chunking
Library
Time
MB/s
Speed Factor
π¦ Chonkie
2 min 17 sec
8.54 MB/s
1x
π LangChain
2 min 42 sec
7.22 MBs/
1.18x slower
π LlamaIndex
50 min
0.39 MB/s
21.9x slower
Sentence Chunking
Library
Time
MB/s
Speed Factor
π¦ Chonkie
7 min 16 sec
2.6 MB/s
1x
π LlamaIndex
10 min 55 sec
1.78 MB/s
1.5x slower
π LangChain
N/A
N/A
Doesn't exist
Recursive Chunking
Library
Time
MB/s
Speed Factor
π¦ Chonkie
3 min 42 sec
5.27 MB/s
1x
π LangChain
7 min 36 sec
2.56 MB/s
2.05x slower
π LlamaIndex
N/A
N/A
Doesn't exist
Paul Graham Essays Dataset
The following benchmarks were run on the Paul Graham Essays dataset using the GPT-2 tokenizer.
Token Chunking
Library
Time (ms)
Speed Factor
π¦ Chonkie
8.18
1x
π LangChain
8.68
1.06x slower
π LlamaIndex
272
33.25x slower
Sentence Chunking
Library
Time (ms)
Speed Factor
π¦ Chonkie
52.6
1x
π LlamaIndex
91.2
1.73x slower
π LangChain
N/A
Doesn't exist
Semantic Chunking
Library
Time
Speed Factor
π¦ Chonkie
482ms
1x
π LangChain
899ms
1.86x slower
π LlamaIndex
1.2s
2.49x slower
π Size Comparison (Package Size)
Size Benefits
Faster Installation: Less to download = faster to get started
Lower Memory Footprint: Lighter package = less RAM usage
Cleaner Dependencies: Only install what you actually need
CI/CD Friendly: Faster builds and deployments
Default Installation (Basic Chunking)
Library
Size
Chonk Factor
π¦ Chonkie
15 MiB
1x
π LangChain
80 MiB
~5.3x CHONKier
π LlamaIndex
171 MiB
~11.4x CHONKier
With Semantic Features
Library
Size
Chonk Factor
π¦ Chonkie
62 MiB
1x
π LangChain
625 MiB
~10x CHONKier
π LlamaIndex
678 MiB
~11x CHONKier
Note: All measurements were taken using Python 3.8+ on a clean virtual environment. Your actual mileage may vary slightly depending on your specific setup and dependencies.