LiteLLMModels

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.

By OpenAIModel ID text-embedding-3-smallPrices updated Checked
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.

ProviderModel name in LiteLLMInputOutputBatch inBatch outContext
OpenAItext-embedding-3-small$0.02$0$0.01$08K
Azure OpenAIazure/text-embedding-3-small$0.02$0––8K
GitHub Copilotgithub_copilot/text-embedding-3-small––––8K
Vercel AI Gatewayvercel_ai_gateway/openai/text-embedding-3-small$0.02$0–––
Azure OpenAIeuazure/eu/text-embedding-3-small$0.022––––
Azure OpenAIus-govazure/us-gov/text-embedding-3-small$0.025$0––8K
Azure OpenAIusazure/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.

Python SDK
from litellm import embedding

response = embedding(
    model="text-embedding-3-small",
    input=["hello world"],
)
Proxy config.yaml
model_list:
  - model_name: text-embedding-3-small
    litellm_params:
      model: text-embedding-3-small
      api_key: os.environ/OPENAI_API_KEY
Call the proxy
curl 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:

LiteLLM docs: OpenAI, Azure OpenAI, GitHub Copilot, Vercel AI Gateway.

Provider pages: OpenAI, Azure OpenAI, GitHub Copilot, Vercel AI Gateway.