LiteLLM Embeddings API

The Embeddings API from LiteLLM — 1 operation(s) for embeddings.

OpenAPI Specification

litellm-embeddings-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: LiteLLM Proxy Assistants Embeddings API
  description: Minimal OpenAPI 3.1 specification for the LiteLLM proxy server, covering chat completions, completions, embeddings, audio, images, moderations, fine-tuning, batches, assistants, vector stores, messages, OCR, rerank, and RAG endpoints.
  version: 1.0.0
servers:
- url: http://localhost:4000
  description: LiteLLM proxy server
tags:
- name: Embeddings
paths:
  /embeddings:
    post:
      operationId: createEmbedding
      summary: Create an embedding vector
      responses:
        '200':
          description: Embedding result
        default:
          description: Error response
      tags:
      - Embeddings
x-generated-from: https://docs.litellm.ai/docs/completion
x-generated-by: claude-crawl-2026-05-08