Skip to content

嵌入分块规划器

为RAG规划文档分块——计算含重叠的块数、向量数量,以及各模型的嵌入成本。

AI & Agents
cosmodev ~/tools/embedding-chunk-planner-
Sample — a 10,000-token document (~40 pages) at these settings:
23 chunks · 11,408 tokens embedded (1,408 overlap overhead)
23 vectors · $0.000228 with text-embedding-3-small

Prices flow from the shared model table (USD per 1M input tokens). All math runs 100% client-side.