← All playgrounds
Text embedding model

Text Embedding 3 Small API

OpenAI small, low-cost text embeddings for search and retrieval, with a vector length you choose.

Text Embedding 3 Small is a text embedding model from OpenAI, available on OttoPort's OpenAI-compatible API as the model ID text-embedding-3-small at $0.022 per 1M input tokens as of 2026-10-14.

Provider

OpenAI

Price

$0.022 per 1M input tokens

Model ID

text-embedding-3-small

Type

text embedding model

Semantic searchRetrieval (RAG)Clustering and dedup
Pricing

Text Embedding 3 Small API pricing

What OttoPort bills for Text Embedding 3 Small, and what that works out to per unit. Rates are read from the same catalog the gateway meters against, and were current on 2026-10-14.

Per 1M tokens$0.022input text; the vectors are not billed
10,000 passages$0.11of about 500 tokens each, embedded once
Tokens per $145,454,545

No subscription and no minimum — OttoPort bills prepaid credits against usage. See the full rate card.

Quickstart

Call Text Embedding 3 Small in three lines

Send "model": "text-embedding-3-small" to POST https://ottoport.ai/api/v1/embeddings with an OttoPort key. No OpenAI account, no waitlist, no separate SDK.

curl https://ottoport.ai/api/v1/embeddings \
  -H "Authorization: Bearer $OTTOPORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "text-embedding-3-small",
    "input": ["How do refunds work?", "Refunds are issued within 5 days."],
    "dimensions": 1024
  }'

Before you start

  1. 1. Create a key at /api-keys.
  2. 2. Top up credits — the smallest pack is $25.
  3. 3. Paste the request. It returns on the same request.

Full reference at /docs, or drive it from an agent with the MCP server and CLI.

Reference

Request parameters

The body POST https://ottoport.ai/api/v1/embeddings accepts for Text Embedding 3 Small.

FieldTypeRequiredNotes
modelstringYesAlways text-embedding-3-small for Text Embedding 3 Small.
inputstring | arrayYesOne text, or an array of up to 256, each non-empty; 600,000 characters in all. One vector comes back per text, in order. Input tokens are the billed unit.
dimensionsintegerNoVector length, up to 1536; default 1536. Shorter vectors are cheaper to store and search.
encoding_formatstringNo`float` (default) or `base64`, little-endian float32.
Comparison

Text Embedding 3 Small direct vs through OttoPort

Text Embedding 3 Small is the same model either way — what changes is how many accounts, keys, and integrations you carry to reach it.

OpenAI directVia OttoPort
Accounts and keysAn OpenAI account, plus one more for every other model you addOne OttoPort account and one key for the whole catalog
Request shapeOpenAI's own SDK and response formatOpenAI-compatible — point baseURL at OttoPort and change the model string
Switching modelsA new integration per providerReplace text-embedding-3-small with any other model ID in the catalog
BillingA separate invoice and contract per providerPrepaid credits, no subscription, one usage ledger
Provider outagesYour call failsConfigured backup routes are tried in order on provider failure
01

Embed queries and documents with the same model.

02

Batch up to 256 texts in one request.

03

Pick `dimensions` once and keep it.

FAQ

Text Embedding 3 Small API questions

Cost, keys, and model IDs for Text Embedding 3 Small on OttoPort.

How much does the Text Embedding 3 Small API cost?

On OttoPort, Text Embedding 3 Small costs $0.022 per 1M input tokens as of 2026-10-14. For scale, 10,000 passages: $0.11. Billing is prepaid usage with no subscription and no minimum, and the current rate is always published at ottoport.ai/pricing.

How do I get a Text Embedding 3 Small API key?

You do not need an OpenAI key. Create an OttoPort account, generate a key at ottoport.ai/api-keys, and send it as "Authorization: Bearer <key>" to POST https://ottoport.ai/api/v1/embeddings with "model": "text-embedding-3-small". The same key reaches every other model in the catalog.

What is the model ID for Text Embedding 3 Small?

The OttoPort model ID for Text Embedding 3 Small is text-embedding-3-small. Pass it as the model field on POST https://ottoport.ai/api/v1/embeddings, or list it programmatically from GET https://ottoport.ai/api/v1/models.

Can I call Text Embedding 3 Small with the OpenAI SDK?

Yes. Set the OpenAI SDK's base URL to https://ottoport.ai/api/v1, use an OttoPort API key, and pass text-embedding-3-small as the model. Embeddings follow the OpenAI embeddings shape, so existing code works after changing two lines.

How many dimensions does Text Embedding 3 Small return?

1,536 by default. Send dimensions to get a shorter vector, up to 1,536; it is billed the same, by input tokens. Embed every text you compare with the same model and the same dimensions.

Do I need an OpenAI account to use Text Embedding 3 Small?

No. OttoPort connects to OpenAI on your behalf, so one OttoPort account covers Text Embedding 3 Small and every other model in the catalog — no per-provider contracts, keys, or invoices.

Alternatives

Other text embedding models on the same API

Same endpoint, same key — swapping model is a one-string change from text-embedding-3-small.

Browse the full catalog — every model with its provider and per-unit price.