Overview
The/api/v1/embedding-models endpoint provides a comprehensive list of available embedding models with detailed information including dimensions, pricing, and features. This endpoint returns all embedding models in OpenAI-compatible format.
Authentication
Authentication is optional but may enable user-specific features:| Header | Format | Required | Description |
|---|---|---|---|
Authorization | Bearer {api_key} | Optional | API key for authenticated access |
x-api-key | {api_key} | Optional | Alternative API key header |
Response Format
Returns a list of all available embedding models with comprehensive details:Field Descriptions
| Field | Type | Description |
|---|---|---|
id | string | Unique model identifier to use in embedding requests |
object | string | Always “model” for OpenAI compatibility |
created | number | Unix timestamp of response creation |
owned_by | string | Model provider (openai, baai, jina, etc.) |
name | string | Human-readable model name |
description | string | Detailed model description and use cases |
dimensions | number | Default embedding vector dimensions |
supports_dimensions | boolean | Whether model supports dimension reduction |
max_tokens | number | Maximum input tokens supported |
pricing | object | Pricing information object |
Pricing Object Structure
| Field | Type | Description |
|---|---|---|
per_million_tokens | number | Cost per million tokens in USD |
currency | string | Always “USD” |
Model Categories
OpenAI Models
High-quality embeddings with dimension reduction support:text-embedding-3-small- Balance of cost and performancetext-embedding-3-large- Maximum accuracytext-embedding-ada-002- Legacy model
Multilingual Models
Support for multiple languages:BAAI/bge-m3- Excellent multilingual supportjina-clip-v1- Multimodal CLIP embeddings
Language-Specific Models
Optimized for specific languages:- English:
BAAI/bge-large-en-v1.5,jina-embeddings-v2-base-en - Chinese:
BAAI/bge-large-zh-v1.5,jina-embeddings-v2-base-zh,zhipu-embedding-2 - German:
jina-embeddings-v2-base-de - Spanish:
jina-embeddings-v2-base-es
Specialized Models
Domain-specific embeddings:jina-embeddings-v2-base-code- Optimized for codeBaichuan-Text-Embedding- General purposeQwen/Qwen3-Embedding-0.6B- Efficient with dimension reduction
Usage Examples
Basic Request
With Authentication
Python Example
JavaScript Example
Model Selection Guide
| Use Case | Recommended Models | Rationale |
|---|---|---|
| General English text | text-embedding-3-small | Best price/performance ratio |
| Maximum accuracy | text-embedding-3-large | Highest quality embeddings |
| Multilingual content | BAAI/bge-m3 | Excellent cross-language performance |
| Code embeddings | jina-embeddings-v2-base-code | Specialized for programming languages |
| Budget-conscious | BAAI/bge-large-en-v1.5 | $0.01/1M tokens |
| Chinese content | BAAI/bge-large-zh-v1.5 | Optimized for Chinese |
| Fast similarity search | Models with supports_dimensions: true | Can reduce dimensions for speed |
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.