Embedding storage & query calculator
Related Tools
Count tokens with o200k-style tokenization, then compare estimated LLM API cost across 30+ models. Pairs with the per-token cost calculator; all in-browser.
Enter input and output token counts; compare price across 30+ models. Deep-links from the token counter; cache- and reasoning-aware.
Side-by-side matrix: context, API $/M, capabilities; shareable ?models= links. Pairs with token counter and cost calculator.
Hub page listing every AI utility: token counter, cost calculators, RAG, caching, and programmatic model pages.
Users × requests/day × tokens with ×2/×5 stress and 12‑month projection for one reference model.
Compare per-request cost with and without prompt cache hits using published cached-input rates.
Rough planning estimate for image width/height → vision tokens.
Duration-based illustrative cost bands for speech and TTS-style workloads.
TPM and RPM headroom against illustrative dev/production tiers.
Break-even requests after a one-time fine-tune fee using your $/M assumptions.
Prompt + history size vs model context with 70% / 90% markers.
Editorial log of llm-pricing.json updates; pairs with /feed/pricing.xml.
Documents × chunks × top‑K × daily queries × output tokens — illustrative monthly LLM spend.
About Embedding storage & query calculator
Vector retrieval stacks have two different wallets: object storage or disk for the embedding matrix, and embedding API meters for ingest and query-time encoding. This page estimates raw float32 footprint (with a crude index overhead multiplier) and applies a single user-supplied dollars-per-million-tokens price to both ingest and query traffic using a very approximate "tokens ≈ vectors × dimensions / 4" heuristic. It will not match any vendor’s tokenizer; it exists so teams remember both CapEx-style storage and OpEx-style embedding calls.
Key Features
- Vector count and dimensionality
- Query volume per month
- User-editable $/M token price
- GB estimate with index overhead knob
Use Cases
- RAG cost narratives for architecture reviews
- Back-of-envelope before Pinecone/Vertex bills arrive
Pro Tips
- Add disk $/GB from your cloud console separately — we don’t guess provider storage tariffs.
Frequently Asked Questions
Why dims/4 for tokens?
It is a coarse English-text heuristic; replace with logged token counts when you have them.
