Build
Connect & operate
Design & teams
Start hereScope a build in one callBring a spec, a wireframe, or a paragraph. You leave with an architecture, a timeline, and a number.Book a scoping call
AI software
LLM & data systems
Vibe coding
Ready to ship?Put AI where the work isAgents, RAG, and private LLMs wired into the systems your team already uses — not a chatbot bolted to a homepage.Discuss an AI project
Domain firstWe learn your workflow before we model itRegulated, operational, or high-volume — the constraints belong in the schema, not in a training doc.Talk about your domain
Plan smarterEstimate before you commitCost ranges, scope templates, and the questions we ask in discovery — free, no form.Open the cost calculator
Real conversationsTalk with a technical leadNo SDR, no discovery gauntlet. The person on the call is the one who scopes the build.Book a call
RAG Frameworks · feyninc

chonkie

Chonkie is a Python library for splitting documents into optimized text chunks for RAG (retrieval-augmented generation) systems. It provides multiple chunking strategies (token-based, semantic, code-aware, etc.) with minimal dependencies and supports 56 languages out of the box.

Source: GitHub — github.com/feyninc/chonkie
4.4k
GitHub stars
310
Forks
Python
Primary language
MIT
License (OSI-approved)

Key facts

Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.

FieldValue
Repositoryfeyninc/chonkie
Ownerfeyninc
Primary languagePython
LicenseMIT — OSI-approved
Stars4.4k
Forks310
Open issues37
Latest releasev1.7.0 (2026-07-07)
Last updated2026-07-07
Sourcehttps://github.com/feyninc/chonkie

What chonkie is

Chonkie offers a modular chunking architecture with 9+ pluggable chunkers, including SIMD-accelerated FastChunker (100+ GB/s), semantic similarity-based splitting, and LLM-powered AgenticChunker. It ships with a REST API, async support, and 45+ integrations (tokenizers, embedding providers, vector DBs, LLMs).

Quickstart

Get the chonkie source

Clone the repository and explore it locally.

terminalbash
git clone https://github.com/feyninc/chonkie.gitcd chonkie# follow the project's README for install & configuration

Need it deployed, integrated, or customized instead? DEV.co ships production installs.

Best use cases

Multi-strategy RAG pipelines

Chain multiple chunking and refinement steps (recursive → semantic → overlap refinement) in a single pipeline for semantically coherent document ingestion at scale.

Lightweight document processing

Projects needing fast, low-overhead chunking without bulky ML dependencies; 505 KB base package with opt-in heavy dependencies via extra installs.

Code-specific chunking

Preserve code structure and semantics when splitting repositories or code documentation using CodeChunker, suitable for code-aware RAG systems.

Implementation considerations

  • Choose chunkers based on trade-offs: FastChunker for speed, RecursiveChunker for semantic coherence, SemanticChunker for similarity-based splits (requires embedding model).
  • Plan memory footprint for embeddings; SemanticChunker, LateChunker, and NeuralChunker load models; use `chonkie[semantic]` or `chonkie[all]` only when needed.
  • Async pipelines available; use `pipe.arun()` for high-throughput scenarios to avoid blocking on embedding or LLM calls.
  • REST API requires additional dependencies (`chonkie[api,semantic,code,catsu]`) and runs on Uvicorn; plan for container deployment if scaling horizontally.
  • Test chunking quality on domain-specific data early; different recipes (e.g., `markdown`, `code`) affect split behavior significantly.

When to avoid it — and what to weigh

  • Monolithic vendor lock-in required — If your organization mandates a single integrated platform (e.g., LangChain, LlamaIndex) with built-in guardrails, Chonkie is a component, not an end-to-end stack.
  • Production hardening needed without review — Recent release history (created 2025-03) and v1.7.0 status suggest active development; production use requires vetting error handling, rate limits, and edge cases.
  • Non-Python environments — Python-only library; non-Python backends or polyglot deployments require wrapping via REST API or rebuilding chunking logic.
  • Deterministic chunking guarantees critical — Semantic and neural chunkers introduce variance across runs; if byte-for-byte reproducibility is non-negotiable, stick to token or fast chunkers only.

License & commercial use

MIT License (OSI permissive). Allows commercial use, modification, and redistribution with attribution and no liability.

MIT is a permissive OSI license suitable for commercial deployment. Ensure your use case aligns with any commercial terms of integrated services (e.g., paid embedding APIs, LLM providers) and review upstream dependency licenses if using `chonkie[all]`.

DEV.co evaluation signals

Editorial assessment — not user reviews. Directional, with an explicit confidence level.

SignalAssessment
MaintenanceActive
DocumentationStrong
License clarityClear
Deployment complexityModerate
DEV.co fitGood
Assessment confidenceHigh
Security considerations

No explicit security audit mentioned in data. Review: (1) input sanitization for text chunking (injection risks if user-supplied prompts feed into LLM-based chunkers like SlumberChunker); (2) API authentication if REST server exposed; (3) dependency supply-chain risk from 45+ integrations—pin versions in production. Upstream LLM/embedding provider tokens require secure storage.

Alternatives to consider

LangChain's text-splitter

Broader ecosystem integration (agents, retrievers, memory) but heavier dependency footprint and less specialized chunking strategies.

LlamaIndex's node/chunk abstractions

Tighter RAG workflow coupling but opinionated pipeline design; Chonkie offers more granular control and modularity.

Semantic Kernel's text chunking

Enterprise-grade .NET/C# support, but Chonkie is Python-native and lighter-weight for chunking-specific workloads.

Software development agency

Build on chonkie with DEV.co software developers

Start with Chonkie's lightweight, modular chunking. Evaluate against your use case, test on production data, and integrate via pip or REST API. Contact Devco to architect a scalable ingestion pipeline.

Talk to DEV.co

Related open-source tools

Surfaced by semantic similarity across the DEV.co open-source index.

Related on DEV.co

Explore the category and the services that help you build with it.

chonkie FAQ

Do I need to install all dependencies upfront?
No. Chonkie follows 'minimum installs'; base install is 505 KB. Use `chonkie[semantic]`, `chonkie[code]`, etc., only for those chunkers; avoid `chonkie[all]` in production.
Can I run Chonkie without embeddings or LLMs?
Yes. TokenChunker, FastChunker, SentenceChunker, and RecursiveChunker work standalone. SemanticChunker, LateChunker, NeuralChunker, and SlumberChunker require models.
Is the REST API production-ready?
Unknown. API is documented and includes pipeline persistence (SQLite), but production readiness (auth, rate-limiting, observability) requires review based on v1.7.0 feature set.
How does Chonkie compare to DIY chunking?
Chonkie offers battle-tested implementations, multilingual support (56 languages), async, and integrations. DIY works if your chunking logic is simple and stable; Chonkie scales to complex pipelines.

From evaluation to production software

Open-source adoption creates integration work. DEV.co supplies the software development services that close the gap between chonkie and a running rag frameworks system your team can operate.

Ready to optimize your RAG pipeline?

Start with Chonkie's lightweight, modular chunking. Evaluate against your use case, test on production data, and integrate via pip or REST API. Contact Devco to architect a scalable ingestion pipeline.