Text Embedding 3 Small API Pricing
As of October 10, 2026, Text Embedding 3 Small costs $0.02 per 1M input tokens on OpenAI. It has an 8,191-token context window.
- Input
- $0.02 / 1M tokens
- Output
- $0 / 1M tokens
- Context window
- 8,191 tokens
- Providers
- 4
- Added to LiteLLM
- January 2024
Text Embedding 3 Small pricing by provider
7 listings across 4 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Batch in | Batch out | Context |
|---|---|---|---|---|---|---|
| OpenAI | text-embedding-3-small | $0.02 | $0 | $0.01 | $0 | 8K |
| Azure OpenAI | azure/text-embedding-3-small | $0.02 | $0 | – | – | 8K |
| GitHub Copilot | github_copilot/text-embedding-3-small | – | – | – | – | 8K |
| Vercel AI Gateway | vercel_ai_gateway/openai/text-embedding-3-small | $0.02 | $0 | – | – | – |
| Azure OpenAIeu | azure/eu/text-embedding-3-small | $0.022 | – | – | – | – |
| Azure OpenAIus-gov | azure/us-gov/text-embedding-3-small | $0.025 | $0 | – | – | 8K |
| Azure OpenAIus | azure/us/text-embedding-3-small | $0.022 | – | – | – | – |
What Text Embedding 3 Small costs in practice
Embedding 10,000 documents of 500 tokens each
| OpenAI | $0.10 |
| Azure OpenAI | $0.10 |
| Vercel AI Gateway | $0.10 |
Use Text Embedding 3 Small with LiteLLM
Call Text Embedding 3 Small through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/embeddings. LiteLLM tracks the cost of every request at these prices.
from litellm import embedding
response = embedding(
model="text-embedding-3-small",
input=["hello world"],
)model_list:
- model_name: text-embedding-3-small
litellm_params:
model: text-embedding-3-small
api_key: os.environ/OPENAI_API_KEYcurl http://0.0.0.0:4000/v1/embeddings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "text-embedding-3-small",
"input": "hello world"
}'Text Embedding 3 Small FAQ
How much does Text Embedding 3 Small cost?
Text Embedding 3 Small costs $0.02 per 1M input tokens on OpenAI. Batch requests cost $0.01 per 1M input tokens and $0 per 1M output tokens.
What is the context window of Text Embedding 3 Small?
Text Embedding 3 Small has an 8,191-token context window.
Which providers offer Text Embedding 3 Small?
Text Embedding 3 Small is available from 4 providers through LiteLLM: OpenAI, Azure OpenAI, GitHub Copilot and Vercel AI Gateway.
How do I call Text Embedding 3 Small with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="text-embedding-3-small", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/embeddings from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
When did LiteLLM add Text Embedding 3 Small?
Text Embedding 3 Small was added to LiteLLM's model price file in January 2024.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
- developers.openai.com/api/docs/pricing
- learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure
- prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'
LiteLLM docs: OpenAI, Azure OpenAI, GitHub Copilot, Vercel AI Gateway.
Provider pages: OpenAI, Azure OpenAI, GitHub Copilot, Vercel AI Gateway.
