text-similarity-davinci-001 to text-embedding-3-small
Some values not published Checked 2026-11-12.
Price per 1M tokens
| Field | Old | New | Change |
|---|---|---|---|
| Input | $200 | Not published | Not published |
| Output | Not published | Not published | Not published |
| Cached input | Not published | Not published | Not published |
| Example monthly cost | Not published | Not published | Example only |
Context and max output
| Limit | Old | New | Change |
|---|---|---|---|
| Context window | Not published | Not published | Not published |
| Max output | Not published | Not published | Not published |
Capabilities that differ
No differing capability values are published for both models.
API changes
No parameter change is listed on the official pages we checked. The sample below only swaps the model id.
Code
python before
from openai import OpenAI
client = OpenAI()
response = client.embeddings.create(
input="Your text string goes here", model="text-similarity-davinci-001"
)
python after
from openai import OpenAI
client = OpenAI()
response = client.embeddings.create(
input="Your text string goes here", model="text-embedding-3-small"
)
typescript before
import OpenAI from "openai";
const openai = new OpenAI();
const embedding = await openai.embeddings.create({
model: "text-similarity-davinci-001",
input: "Your text string goes here",
encoding_format: "float",
});
typescript after
import OpenAI from "openai";
const openai = new OpenAI();
const embedding = await openai.embeddings.create({
model: "text-embedding-3-small",
input: "Your text string goes here",
encoding_format: "float",
});
curl before
curl https://api.openai.com/v1/embeddings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{"input":"Your text string goes here","model":"text-similarity-davinci-001"}'
curl after
curl https://api.openai.com/v1/embeddings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{"input":"Your text string goes here","model":"text-embedding-3-small"}'
Checklist
- Read the shutdown date for text-similarity-davinci-001 on the linked official page.
- Point your requests at text-embedding-3-small.
- Re-check price, context, and parameters on the provider pages linked here.
- Ship the change before the published shutdown date.