Endpoint coverage
Exposes 1 public endpoint(s): embedding.
Efficient text vectors for production semantic search
# Base URL
https://runapi.ai
# Endpoints
POST /v1/embeddings
curl https://runapi.ai/v1/embeddings \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "text-embedding-3-small",
"input": [
"Embed these support articles and a customer query so I can rank the closest matches."
],
"encoding_format": "float"
}'
from openai import OpenAI
client = OpenAI(
base_url="https://runapi.ai/v1",
api_key="your-runapi-key"
)
response = client.chat.completions.create(
model="text-embedding-3-small",
messages=[{"role": "user", "content": "Embed these support articles and a customer query so I can rank the closest matches."}]
)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://runapi.ai/v1",
apiKey: "your-runapi-key"
});
const response = await client.chat.completions.create({
model: "text-embedding-3-small",
messages: [{ role: "user", content: "Embed these support articles and a customer query so I can rank the closest matches." }]
});
3 versions available
Pick any model and generate in seconds.
No models are available right now.
| Provider | OpenAI |
| Model ID | text-embedding-3-small |
| Modality | Text |
| Task types | Synchronous |
| API endpoint | /v1/embeddings |
| Billing unit | 1K tokens |
| Catalog status | Operational |
Sign up for free and create an API key for text-embedding-3-small from the dashboard.
POST to /v1/embeddings with the text-embedding-3-small model slug and your parameters.
Read the completed text-embedding-3-small response directly from the endpoint.
Exposes 1 public endpoint(s): embedding.
Metered by 1K tokens with no subscription requirement.
No request parameters are published for this endpoint.
Index documents, FAQs, or product catalogs as vectors and retrieve the most relevant results by meaning instead of keyword match.
Embed knowledge-base chunks and feed the closest matches into an LLM prompt for grounded, citation-backed answers.
Group support tickets, survey responses, or user feedback by semantic similarity without manual labeling.
Pass the model ID shown in the quickstart.
Per-key rate limits scale with your usage tier. The pricing page shows current limits. If you need higher throughput, contact support to discuss tier upgrades.
Yes. Variant is a parameter in the request. Switch by changing the model ID — no code changes, no re-authentication, no separate billing setup. All variants share the same API key and request shape.
Where streaming is available, RunAPI streams end-to-end. LLM models support token-level streaming. Media models use async task polling or webhook callbacks for result delivery.
Open an issue on the public GitHub repo or email support at [email protected]. Include the task ID and model ID so the team can investigate the specific generation.
No. Your RunAPI API key is enough to access this variant and every other model in the catalog. You do not need accounts with the underlying provider.
text-embedding-3-small outputs 1,536 dimensions by default. It supports Matryoshka embeddings, so you can request 256, 512, or 1,024 dimensions to reduce storage cost while retaining most of the retrieval quality.
text-embedding-3-large has 3,072 dimensions and scores about 2 points higher on the MTEB benchmark, but costs roughly 6.5 times more per million tokens. For most semantic search and RAG use cases, text-embedding-3-small delivers comparable quality at a fraction of the cost.
RunAPI charges per embedding call with no subscription or minimum spend. Check the pricing grid on this page for the current per-call rate. Failed requests are never charged.
Yes. Send multiple texts in a single API call to reduce overhead. RunAPI processes batch embedding requests and returns all vectors in one response, which is more efficient for indexing large document collections.
We're here to help with enterprise setup, integrations, and technical questions.
Contact Us