∑
DevFormula
AI Tokens & Cloud ComputeVerified 2026-10-21

OpenAI text-embedding-3-small Cost Calculator

Simulate vector database indexing and search query embedding costs at $0.02 per 1,000,000 tokens.

Parameters & Config

Pre-configured official API pricing for this specific model tier

tokens
tokens
10tokens128,000tokens

Prompt payload size including system prompt, user prompt, and chat history

tokens
tokens
10tokens16,000tokens

Generated output tokens returned by the model

calls/day
calls/day
10calls/day10,000,000calls/day

Total API requests processed per day across all users

$
$
0.001$100$

Cost per 1,000,000 incoming prompt tokens

$
$
0.001$200$

Cost per 1,000,000 generated completion tokens

Projected Monthly BillLIVE ESTIMATE
$15.00

Estimated 30-day cloud billing based on current traffic and model selection

Daily Burn RateLIVE ESTIMATE
$0.50

Average daily API infrastructure expenditure incurred

Key Metrics & Sub-Totals

3 items
Monthly Total TokensTotal prompt and completion tokens processed over 30 days
750,000,000 tokens
Monthly Input Cost ShareCost attributable to incoming prompt and context window tokens
$15.00
Monthly Output Cost ShareCost attributable to autoregressive generation tokens
$0.00

Calculation Summary & Unit Breakdown

MetricCalculated ValueNotes / Logic
Active Model ConfigurationCustom Configured Model-
Daily Request Volume50,000queries/day
Tokens per Request500Prompt: 500 / Output: 0
Daily Token Burn25,000,000tokens/day
Monthly Total Tokens750,000,00030-day projection
Daily Average Infrastructure Cost$0.50USD
Monthly Prompt (Input) Token Cost$15.00USD
Monthly Completion (Output) Token Cost$0.00USD
Total Projected Monthly Cloud Bill$15.00USD

Overview & Methodology

OpenAI text-embedding-3-small provides high-efficiency vector representations (1536 dimensions) for semantic search and Retrieval-Augmented Generation (RAG) at just $0.02 per 1,000,000 tokens.

Mathematical Formulation

Embedding Cost = (Total Document Tokens / 1,000,000) × $0.02.

Optimization Best Practices

1

Use dimension reduction (shortening embeddings down to 512 dimensions) to cut vector database RAM storage by 66% with negligible accuracy loss.

2

Pre-chunk documents into 500–800 token sections with 10% overlap for optimal retrieval relevance.

3

Store pre-computed vectors in Pinecone, Qdrant, or pgvector to avoid re-embedding unchanged documents.

Frequently Asked Questions

Q.How much does it cost to embed 10 million tokens with text-embedding-3-small?
A.

Embedding 10,000,000 tokens costs exactly $0.20 (20 cents).

Q.Does embedding have separate output token costs?
A.

No. Embedding models return fixed numerical vector arrays; you are billed strictly for incoming input tokens at $0.02/1M.

Q.What is the maximum token input for text-embedding-3-small?
A.

A single input string can contain up to 8,191 tokens.