Skip to content
Discord

Embeddings

List Embedding Models
client.models.embeddings.list(RequestOptionsoptions?): EmbeddingListResponse { display_name, embedding_dim, embedding_endpoint_type, 12 more }
GET/v1/models/embedding
ModelsExpand Collapse
EmbeddingListResponse = Array<EmbeddingModel { display_name, embedding_dim, embedding_endpoint_type, 12 more } >
display_name: string

Display name for the model shown in UI

embedding_dim: number

The dimension of the embedding

Deprecatedembedding_endpoint_type: "openai" | "anthropic" | "bedrock" | 16 more

Deprecated: Use ‘provider_type’ field instead. The endpoint type for the embedding model.

One of the following:
"openai"
"anthropic"
"bedrock"
"google_ai"
"google_vertex"
"azure"
"groq"
"ollama"
"webui"
"webui-legacy"
"lmstudio"
"lmstudio-legacy"
"llamacpp"
"koboldcpp"
"vllm"
"hugging-face"
"mistral"
"together"
"pinecone"
Deprecatedembedding_model: string

Deprecated: Use ‘name’ field instead. Embedding model name.

name: string

The actual model name used by the provider

provider_name: string

The name of the provider

provider_type: ProviderType

The type of the provider

One of the following:
"anthropic"
"azure"
"baseten"
"bedrock"
"cerebras"
"chatgpt_oauth"
"deepseek"
"fireworks"
"google_ai"
"google_vertex"
"groq"
"hugging-face"
"letta"
"lmstudio_openai"
"minimax"
"moonshot"
"moonshot_coding"
"mistral"
"ollama"
"openai"
"together"
"vllm"
"sglang"
"openrouter"
"xai"
"zai"
"zai_coding"
Deprecatedazure_deployment?: string | null

Deprecated: The Azure deployment for the model.

Deprecatedazure_endpoint?: string | null

Deprecated: The Azure endpoint for the model.

Deprecatedazure_version?: string | null

Deprecated: The Azure version for the model.

Deprecatedbatch_size?: number

Deprecated: The maximum batch size for processing embeddings.

Deprecatedembedding_chunk_size?: number | null

Deprecated: The chunk size of the embedding.

Deprecatedembedding_endpoint?: string | null

Deprecated: The endpoint for the model.

handle?: string | null

The handle for this config, in the format provider/model-name.

model_type?: "embedding"

Type of model (llm or embedding)