OpenAI
Text Embedding 3 Small
Text Embedding 3 Small is OpenAI's efficient embedding model: 1536-dimension vectors for search, retrieval and clustering at a very low price per token.
Our price
input / output per 1M
Official
USD · Published rate · Updated 2026-10-12
First request
Availablecurl https://api.tokely.me/v1/embeddings \
-H "Authorization: Bearer $TOKELY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "text-embedding-3-small",
"input": "Hello!"
}'Set TOKELY_API_KEY to your dashboard key. Requests require a funded Tokely balance. Base URL: https://api.tokely.me/v1.
Capabilities & limits
- Context window
- 8,191 tokens
- Cached input price
- $0.01 per 1M tokens · Official: $0.02
- Provider
- OpenAI
- API model ID
text-embedding-3-small- Category
- Embedding
- Endpoints
POST /v1/embeddings- Tokely max output
- 4,096 tokens / request, including reasoning tokens
- Default output
- 256 tokens. Set an explicit limit for longer responses.
- Request limits
- 16 MB JSON body (including base64) · 128 messages · 32 function tools
- Rate limit
- 60 requests / minute / account, across its keys
- Supported input
- Text and function tool results
- Model modalities
- text. Tokely accepts text, inline images and PDFs where listed above; audio and video input are not enabled.
The context includes your instructions, conversation history, tool definitions and generated output. Keep the input and requested output within the model’s context window.
API reference
Authenticate with Authorization: Bearer YOUR_TOKELY_API_KEY. Use an OpenAI SDK with the Tokely base URL.
- model
- Required string:
text-embedding-3-small - messages
- An array of system, developer, user, assistant and tool messages.
- max_tokens
- Optional integer, 1–4,096. Defaults to 256.
- stream
- Streaming has not been verified for this model.
The response contains choices with message or tool_calls, finish_reason, and usage (prompt_tokens, completion_tokens, total_tokens). Streaming sends chat completion chunks.
- 400 / 415
- Invalid request, parameter, endpoint for this model, or content type.
- 401 / 403
- Invalid, revoked or restricted API key.
- 402
- Insufficient account balance or API key budget.
- 429
- Request limit reached. Retry after the indicated delay.
- 502 / 503 / 504
- Upstream failure, temporary service unavailability or request timeout.
Compare nearby prices
| Model | Input | Output | Context |
|---|---|---|---|
| Text Embedding 3 SmallOpenAI · this model | $0.01 | $0.01 | 8,191 |
| Claude Haiku 5.5Anthropic | $0.042353 | $0.211764 | 1,000,000 |
| Gemini 2.5 Flash LiteGoogle | $0.07 | $0.28 | 1,048,576 |
| GPT-4.1 NanoOpenAI | $0.07 | $0.28 | 1,047,576 |
| GPT-6 LunaOpenAI | $0.07 | $0.35 | 1,050,000 |
Frequently asked questions
How much does Text Embedding 3 Small cost?
$0.01 per million input tokens, $0.01 per million output tokens and $0.01 per million cached input tokens. Usage is charged to your Tokely balance.
Do I need a separate OpenAI account?
Use your Tokely API key and balance. A separate provider key is not required.
How do I switch to this model?
Set model to text-embedding-3-small and use /v1/embeddings. Keep your Tokely base URL and API key.
What is the context window?
8,191 tokens, including input and output. The Tokely request body and output limits listed above also apply.
More OpenAI models & prices
Compare Text Embedding 3 Small with other OpenAI versions and with the official developer rates.
All OpenAI models on Tokely · Cheap GPT API — Model Prices & Discounts · Compare AI API gateways · Estimate your token cost