GET /v1/embedding-models

Changed on

List all available embedding models with detailed information

Request

  • Base URL
    https://api.nano-gpt.com/api
  • URL
    https://api.nano-gpt.com/api/v1/embedding-models
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Response

List of available embedding models

objectstring required

Always 'list'

Example response

{
  "object": "list",
  "data": [
    {
      "id": "text-embedding-3-small",
      "object": "model",
      "created": 1754480583,
      "owned_by": "openai",
      "name": "Text Embedding 3 Small",
      "description": "Most cost-effective OpenAI embedding model with dimension reduction support",
      "dimensions": 1536,
      "supports_dimensions": true,
      "max_tokens": 8191,
      "pricing": {
        "per_million_tokens": 0.02,
        "currency": "USD"
      }
    }
  ]
}

Changes