Skip to tool

Embedding Cost Calculator

Calculate embedding API costs for your text.

Output will appear here…

How to Use This Tool

  1. Fill in Text, and Model. Each control is labeled; you do not need to paste a JSON blob.
  2. Click "Run" to run the tool in your browser.
  3. Read the result below the form and copy it if you need it in another app.

Learn More About Embedding Cost Calculator

About Embedding Cost Calculator

Estimate embedding API costs for text across multiple providers.

About

Estimate embedding API costs for text across multiple providers.
Estimate embedding API costs for text across multiple providers.
Runs in browser
Yes
No signup required
Yes

Examples

Small model

Small model
Input
{
  "text": "Hello world",
  "model": "text-embedding-3-small"
}
Output
Model: text-embedding-3-small
Tokens: 2
Cost per 1K tokens: $0.00002
Embedding cost: $0.000000
Cost per 1M tokens: $0.0000

Large model

Large model
Input
{
  "text": "This is a longer document that will be embedded using the large model with more dimensions.",
  "model": "text-embedding-3-large"
}
Output
Model: text-embedding-3-large
Tokens: 17
Cost per 1K tokens: $0.00013
Embedding cost: $0.000002
Cost per 1M tokens: $0.0022

Ada

Ada
Input
{
  "text": "Test",
  "model": "text-embedding-ada-002"
}
Output
Model: text-embedding-ada-002
Tokens: 1
Cost per 1K tokens: $0.00010
Embedding cost: $0.000000
Cost per 1M tokens: $0.0001

Use Cases

  • Check embedding cost calculator values while you draft a page, spreadsheet, or config.
  • Fill Text, Model and compare the result to a second source.
  • Keep sensitive inputs on-device — this page runs the calculation in the browser.

Frequently Asked Questions

Related tools: