Glossary / Agents and tooling
Chunking
Chunking splits documents into pieces before embedding, and the chunk size decides how much text each retrieval returns.
Definition
Chunking splits documents into pieces before embedding, and the chunk size decides how much text each retrieval returns.
What it changes in your bill
Chunk size silently sets prompt cost: 1,000-token chunks mean every retrieval adds 1,000 input tokens, five retrievals hit 5,000. Smaller chunks with overlap usually cost less for the same answer quality.
How to check it yourself
Measure average retrieved tokens per answer, then halve chunk size and compare answer quality.
Rule of thumb: compare providers on cost per completed task, not on the headline price per million tokens.
Related terms
Try it on Tapix AI
100+ models behind one OpenAI-compatible endpoint. Prepaid from $1, no monthly minimum, live prices per model.
Get a key and run one real call See live prices