LLM Reference
Zhipu AI GLM API

Using Embedding-2 on Zhipu AI GLM API

Implementation guide · GLM Embedding · Zhipu AI

Serverless

Zhipu AI GLM API exposes Embedding-2 through model ID Embedding-2. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-07-11. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Zhipu AI GLM API and generate an API key.
  2. 2
    Use the Zhipu AI GLM API SDK or REST API to call Embedding-2 — see the documentation for request format.

Code Examples

See Zhipu AI GLM API documentation for integration details.

Pricing on Zhipu AI GLM API

Capabilities

No model capability flags are currently sourced.

About Embedding-2

Embedding-2 is Zhipu AI's second-generation text-vector model for producing reusable semantic embeddings through the public BigModel embeddings API.

Model Specs

More Models on Zhipu AI GLM API

Provider

Zhipu AI GLM API
Zhipu AI GLM API

Zhipu AI