New Tool Radar

AI Concepts

How to Compare text-embedding-3-small and text-embedding-3-large on Cost

Compare OpenAI text-embedding-3-small and text-embedding-3-large on quality and cost, so you pay for large only when it earns it.

Schematic illustration with three step boxes: embed the same set twice, compare recall, and compare the bill.

OpenAI text-embedding-3-small produces 1,536 dimensions and text-embedding-3-large produces 3,072, both with an 8,191-token input limit, and large supports Matryoshka truncation to shorter dimensions. Small is the good default and large is the higher-quality option, but the quality gap on your data may be small while the price and storage gap is not.

Before you start

Access to the OpenAI embeddings API or a local record of both models’ outputs, and a test question set with known answer chunks.

Embed the same chunks with both models

Embed your chunk set once with small and once with large, keeping the chunking identical. Store the two indexes separately so the comparison is clean.

Note the dimensions: large stores twice as many numbers per chunk, so the index is roughly twice the size before any truncation.

Compare recall on your questions

Run the same 20 test questions against both indexes and record recall at 5 for each. If large wins by one or two questions, that is a small win, not a reason to switch.

Check the wins by question type: large may win only on the hard paraphrases, which tells you where it helps.

Compare the bill, not just the scores

Count the tokens embedded and the storage used for each model, then price both from the OpenAI pricing page. A model that costs twice as much for the same recall is not an upgrade.

Try large truncated to 1,536 dimensions as a third option: it keeps much of large’s quality at small’s storage size.

Practice check: fictional Maple Corner docs, 20 questions, 4,000 chunks

The table below is fictional practice material, worked out by hand from the stated recall and size figures. It is the expected result for the practice set, not a run of any embedding model.

Model Recall at 5 Index size Verdict
text-embedding-3-small 17 of 20 24 MB Best value
text-embedding-3-large 18 of 20 48 MB One more hit, twice the size
large truncated to 1536 18 of 20 24 MB Same recall, same size as small

Large truncated to 1,536 dimensions matches full large at 18 of 20 with the same index size as small. It is the winner here: the quality of large without the storage cost.

Expected result. UNTESTED: the recall and size figures in the practice table are worked out by hand, not measured by running embedding models. Embed your own chunks with both models, compare recall at 5, and price both before you switch.

Limits

  • Prices change: check the current OpenAI pricing page instead of trusting a figure from a guide.
  • Truncation keeps the first dimensions only; it works because Matryoshka training orders dimensions by importance.

Sources

See all