Tools Web

Calculators

OpenAI Embeddings Cost Calculator

Estimate the OpenAI Embeddings API bill. Pick text-embedding-3-small ($0.02/1M), 3-large ($0.13), or ada-002 ($0.10), enter monthly tokens (or chars/docs), and optionally toggle Batch (~50%). Add a one-time RAG ingest plus monthly query tokens to see first-month vs ongoing cost. Cost = tokens ÷ 1M × $/1M. Estimates only; official OpenAI pricing prevails.

Math runs in your browser. Nothing is uploaded.

Corpus / monthly embed cost
—

One-time ingest cost
—

Monthly query embed cost
—

First month (ingest + corpus + query)
—

Ongoing monthly (corpus + query)
—

Estimates only; official vendor pricing prevails (2026-10-30). Cost = tokens ÷ 1M × $/1M (Batch ≈ half). Chars/docs ≈ chars ÷ 4 tokens. First month = ingest + corpus + query; ongoing = corpus + query.Official pricing: OpenAI

Voyage AI Embedding Cost Calculator · RAG Cost Calculator · Gemini Embedding Cost Calculator · OpenAI Batch API Savings Calculator

How it works

How is OpenAI embeddings cost calculated?
Cost = tokens ÷ 1M × $/1M. Example: text-embedding-3-small at $0.02/1M with 10M tokens → $0.20. With Batch half-price ($0.01/1M) → $0.10. Optional RAG: one-time ingest tokens + monthly query tokens; first month = ingest + corpus + query, ongoing = corpus + query.
What are the current embedding prices?
Official Specialized → Embedding: text-embedding-3-small $0.02/1M, text-embedding-3-large $0.13/1M, text-embedding-ada-002 $0.10/1M. Batch half rates used here: $0.01 / $0.065 / $0.05. The Specialized Batch table does not list embedding rows explicitly—Batch ≈ 50% follows the general Batch pattern.
How do I convert characters or docs to tokens?
Rough rule of thumb: tokens ≈ characters ÷ 4. Docs mode multiplies document count × average chars per doc, then ÷ 4. Replace with your tokenizer count when available.
How does this relate to the RAG calculator?
This page focuses on embedding spend (ingest + query vectors). The RAG cost calculator adds retrieval and generation LLM tokens for a full pipeline estimate.
Are results billing-grade?
No. Estimates only; official OpenAI pricing prevails.