Models / Zhipu AI

Model vendor

Zhipu AI

Zhipu AI (Z.ai) builds the GLM family — open-weight generalists, vision models and rerankers.

13Models routed
−30%Average vs list price
1Channels serving Zhipu AI

Zhipu AI models on MirAPI

ModelTypeContextInputOutputCache r / wOff listChannels
GLM 5V TurboText203K$1.20$4.00 / soon
GLM 5 TurboText203K$1.20$4.00 / soon
GLM 4.7 FlashText203K$0.06$0.40 / soon
GLM 4.6VText131K$0.30$0.90 / soon
GLM 4.6Text205K$0.50$2.00 / soon
GLM 4.5VText66K$0.60$1.80 / soon
GLM 4.5Text131K$0.60$2.20 / soon
GLM 4.5 AirText131K$0.13$0.85 / soon
Browse the full catalogue
Migration

A drop-in replacement for the OpenAI API

We speak the OpenAI wire format: official SDKs, LangChain, agent frameworks and your own wrapper all work as-is. Change the base URL and write model IDs the catalogue way: glm-5.2 becomes z-ai/glm-5.2.

Endpoints
/v1/chat/completionsChat & tool calls
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.chat.completions.create(
    model="z-ai/glm-5.2",
    messages=[{"role": "user", "content": "Hello"}],
)

One key covers Zhipu AI and 10 more vendors.

1M free tokens to start. No card required.