Create Embeddings
Embeddings & Rerank
Create Embeddings
Convert text into vector representations
POST
Create Embeddings
Documentation Index
Fetch the complete documentation index at: https://docs.crazyrouter.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Convert input text into high-dimensional vectors for use in semantic search, clustering, recommendations, and more. Fully compatible with the OpenAI Embeddings API format.Supported Models
| Model | Dimensions | Description |
|---|---|---|
text-embedding-3-large | 3072 | High accuracy, recommended for production |
text-embedding-3-small | 1536 | Cost-effective |
text-embedding-ada-002 | 1536 | Classic model |
Request Parameters
Embedding model name, e.g.
text-embedding-3-largeText to embed. Supports a single string or an array of strings
Return format:
float or base64Output vector dimensions (only supported by
text-embedding-3-* models)Response Format
Code Examples
Batch requests support up to 2048 texts per call. Each text should not exceed 8191 tokens.