Skip to content

embeddings: Unknown Model on global api.z.ai endpoint #67

@sourman

Description

@sourman

Issue

Embeddings are not available on Z.Ai global endpoint (api.z.ai).

What we tried

Tested embeddings with model names from SDK docs on multiple endpoints:

Endpoints tested:

  • https://api.z.ai/api/paas/v4/embeddings
  • https://api.z.ai/api/coding/paas/v4/embeddings
  • https://api.z.ai/embeddings
  • https://api.z.ai/api/embeddings

Models attempted: embedding-2, embedding-3, glm-embedding, text-embedding-3

Outcome: All return "Unknown Model" (code 1211) or 404.

Working

Chat API ✅ on /coding/paas/v4 endpoint:

  • glm-5
  • glm-4.5
  • glm-4.6

GET /models on coding endpoint returns only chat models (no embeddings listed).

Questions

  1. Are embeddings planned for the global Z.Ai endpoint?
  2. If available, what are the correct model names and endpoint path?

@wellenzheng

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions