← All models

OpenAI

text-embedding-ada-002

openai/text-embedding-ada-002

Price per million tokens

Input
$0.127
Output
$0.000
Cache write
not offered
Cache read
not offered

What you pay. It is what the tokens cost us to buy plus 20%, and your usage page shows what we paid beside what you paid on every request you send.

Limits

Context window
8,191 tokens
Max output
provider default
Images
text only

What it costs to run

WorkloadInputOutputCostPer 1,000 calls
Short chat turn1,000500$0.0001$0.13
Long document summary50,0002,000$0.0063$6.33
Agent step with tools20,0001,500$0.0025$2.53
1M in, 1M out1,000,0001,000,000$0.1266$126.60

Calling it

const res = await client.chat.completions.create({
  model: "openai/text-embedding-ada-002",
  messages: [{ role: "user", content: "Hello" }],
});