- OpenAI
- Embeddings
Text-embedding-3-small API: pricing, capabilities and setup
pay as you go · no subscription · key right after sign-up
How much Text-embedding-3-small costs
- Input$0.03per 1M tokens
Cost calculator
500 M tokens
- With llmbox
- $15.00
Setup in three steps
- 01Get a key
Sign up and create an API key in the dashboard.
Get a key → - 02Set the base URL
In any OpenAI-compatible client, point the API address to:
- 03Pass the model id
Put this identifier in the model field:
import os
from openai import OpenAI
client = OpenAI(
base_url="https://llmbox.cc/v1",
api_key=os.environ["LLMBOX_API_KEY"],
)
resp = client.embeddings.create(
model="openai/text-embedding-3-small",
input="Embeddings help search texts by meaning",
)
print(len(resp.data[0].embedding))Use in
Text-embedding-3-small vs neighbours
| Model | Price |
|---|---|
| Text-embedding-3-small | $0.03 / 1M |
| openai/text-embedding-3-large | $0.24 / 1M |
Other OpenAI models
Articles about the model

Embeddings: POST /v1/embeddings
The llmbox API now has a POST /v1/embeddings endpoint: text vectors for search, RAG and clustering in the OpenAI format, with two text-embedding-3 models.

Customer support automation: a RAG bot for your knowledge base
Build a support bot for your knowledge base: chunk articles, retrieve relevant passages with embeddings, cite sources, and hand off unanswered questions.