Embeddings
FastRouter API Key. Get yours at https://fastrouter.ai
Format: Authorization: Bearer YOUR_API_KEY
The fully qualified model slug. Choose from supported models (openai/text-embedding-3-small, openai/text-embedding-3-large, openai/text-embedding-ada-002, google/gemini-embedding-001, deepinfra/intfloat-e5-base-v2)
openai/text-embedding-3-largePossible values: The input text or list of text items to embed. Can be a single string or array of strings for batch processing.
Single text string to embed
Array of text strings to embed (batch processing)
Optional: Requested embedding size/dimensions. Supported only in text-embedding-3 series and newer models. Allows you to reduce embedding size for efficiency.
256Format for the embedding vector. 'float' returns array of numbers, 'base64' returns base64-encoded string.
floatPossible values: Optional: A unique identifier representing your end-user, for monitoring and abuse detection.
Embeddings created successfully
Bad Request - Invalid parameters or model
Invalid Credentials - Your API key is invalid, disabled, or your OAuth session has expired. Check your credentials.
Rate Limited - You have exceeded your request limits (TPM/RPM). Slow down or increase your limits.
Internal Server Error
Last updated
