An embedding call is priced on input tokens alone, so comparing embedding models is one number per model: below are the 7 embedding ids on this catalog, our rate per million input tokens beside the developer's list rate, with each model's context window where the catalog publishes it. The figures render from /v1/catalog on the day you read this, so the table is a live read rather than a quote from the day of writing.
What the price covers
A request to POST /v1/embeddings sends a string, or an array of strings, under input, names a model, and receives one vector per string. There is no output-token price because the vector is not text: the catalog rows for these ids carry pricing.output as a zero or as a copy of the input rate, and in either case nothing is billed on the output side. There is no cached-input rate either, since an embedding request has no prefix to reuse.
So the cost of embedding a corpus is the token count of the corpus multiplied by one rate. A million tokens is roughly 750,000 English words, or a few thousand typical documentation pages, and the table gives the price of exactly that unit.
The route itself is OpenAI's Embeddings request, passed through to the model, and it takes the OpenAI SDK's client.embeddings.create unchanged once the base URL points at https://api.uplinkswitch.com/v1. The response is OpenAI's embedding list as the model's route returns it, and the request id in the response headers looks the call up afterwards with its token count and charge.
The table
| Model | id | Developer | Our price / 1M input tokens | Developer's list / 1M | Context window (tokens) |
|---|---|---|---|---|---|
| BGE Base EN v1.5 | bge-base-en-v1.5 | BAAI | $0.1665 | — | 512 |
| BGE Small EN v1.5 | bge-small-en-v1.5 | BAAI | $0.0505 | — | 512 |
| BGE-M3 | bge-m3 | BAAI | $0.0295 | — | 60K |
| Gemini Embedding 001 | gemini-embedding-001 | $0.15 | $0.15 | 2K | |
| Text Embedding 3 Large | text-embedding-3-large | OpenAI | $0.160721 | $0.13 | 8K |
| Text Embedding Ada 002 | text-embedding-ada-002 | OpenAI | $0.10 | $0.10 | 8K |
| Qwen3 Embedding 0.6B | qwen3-embedding-0.6b | Qwen | $0.0295 | — | 8K |
Developer's list is the rate on the developer's own pricing page as the catalog records it in list_pricing.input; where no list price is published the cell stays blank for that id, which is the case for the BAAI and Qwen open-weight models, where the price is set by the hosting route rather than by a developer's price list. Context window is the longest input one request can embed, in tokens; a document longer than that must be chunked before it is sent. Embedding dimensions are not a catalog field on the reading date, so they are not printed here; each id's model page carries what the developer publishes.
Every id in the table is confirmed on the live catalog with availability ok on the reading date; the ids are, in catalog order, bge-base-en-v1.5, bge-m3, bge-small-en-v1.5, gemini-embedding-001, qwen3-embedding-0.6b, text-embedding-3-large, text-embedding-3-small and text-embedding-ada-002.
Reading the table by use case
Long documents in one call. bge-m3 has the widest context window in the table at 60K tokens, which is more than the OpenAI rows by a wide margin, so a long article or a transcript can be embedded as a whole rather than in slices. It is priced at $0.0295 per million input tokens, and it is multilingual by design, which matters for a corpus that mixes languages.
Small, fast, English-only. bge-small-en-v1.5 and bge-base-en-v1.5 both have a 512-token window, which suits sentence-level and short-passage retrieval rather than whole documents. Their rates are $0.0505 and $0.1665 per million input tokens.
An open model with a mid-sized window. qwen3-embedding-0.6b takes 8K tokens per request at $0.0295 per million.
Google's embedding model. gemini-embedding-001 is priced at $0.15 per million, beside Google's list rate of $0.15, with a 2K-token window.
Staying in OpenAI's vector space. If your index was built with text-embedding-3-small, text-embedding-3-large or text-embedding-ada-002, new queries must be embedded with the same model or the vectors do not line up. Those three ids are on the catalog under their OpenAI names and take the same request shape, so the base URL is the only change. Their rows read $0.436346 against OpenAI's list $0.02, $0.160721 against $0.13, and $0.10 against $0.10; compare the two columns per row before assuming either direction, because on the reading date they did not all point the same way.
What a corpus costs
Ten million tokens is a reasonable size for a mid-sized documentation set or a year of support tickets. At each model's rate:
| Model | 10,000,000 input tokens, our rate | The same at the developer's list |
|---|---|---|
bge-m3 | $0.295 | — |
qwen3-embedding-0.6b | $0.295 | — |
bge-small-en-v1.5 | $0.505 | — |
gemini-embedding-001 | $1.50 | $1.50 |
text-embedding-3-small | $4.36 | $0.20 |
text-embedding-3-large | $1.61 | $1.30 |
text-embedding-ada-002 | $1.00 | $1.00 |
Query traffic is usually the smaller side of an embedding bill: a search query is a few dozen tokens, so even a busy day of queries is a small fraction of the one-off cost of indexing the corpus. Re-indexing after a model change is the expensive event, which is one more reason the vector-space question above matters.
The request
The call is the OpenAI SDK's own; only the base URL and the key are yours.
from openai import OpenAI
client = OpenAI(base_url="https://api.uplinkswitch.com/v1", api_key="sk-uplink-live-...")
r = client.embeddings.create(
model="bge-m3",
input=["How do I rotate an API key?", "Where is the usage log?"],
)
print(len(r.data), len(r.data[0].embedding))
print(r.usage)Or with curl:
curl https://api.uplinkswitch.com/v1/embeddings \
-H "Authorization: Bearer $UPLINKSWITCH_API_KEY" \
-H "content-type: application/json" \
-d '{"model": "text-embedding-3-small", "input": "one short string"}'The body's usage carries the token count the call was billed on. An exact repeat of the whole request can be answered from the response cache described on /features/caching, which lists embeddings among the routes it covers; that is a separate, opt-in feature and not part of the per-token price above.
Where the embedding ids are listed
The embedding ids are not on GET /v1/models. That route answers with the chat models a key can call in the caller's SDK shape, and the OpenAPI document names GET /v1/catalog as the place where model ids are enumerated. The catalog needs no key, is served to any origin and is cached for five minutes; each embedding id appears there with type set to embedding and /v1/embeddings in its endpoints. Filter on either field and you have the table above as JSON. Rerank, moderation and transcription models are listed the same way with their own type values, per /features/endpoints.
Batch files accepted on POST /v1/files may contain lines that target /v1/embeddings, so a corpus that can wait can be embedded as a batch at the catalog rate less the batch discount; the OpenAPI document's batches route has the details. The full chat price list is on the price index, and the cost calculator prices any id against your own token counts.