OpenAI
text-embedding-3-small
openai/text-embedding-3-small
Price per million tokens
- Input
- $0.025
- 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
| Workload | Input | Output | Cost | Per 1,000 calls |
|---|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0000 | $0.03 |
| Long document summary | 50,000 | 2,000 | $0.0013 | $1.27 |
| Agent step with tools | 20,000 | 1,500 | $0.0005 | $0.51 |
| 1M in, 1M out | 1,000,000 | 1,000,000 | $0.0253 | $25.32 |
Calling it
const res = await client.chat.completions.create({ model: "openai/text-embedding-3-small", messages: [{ role: "user", content: "Hello" }], });