Z.ai

Z.ai's GLM — MIT-licensed MoE LLMs from 128K to 200K context, top open-weight SWE-bench scores, via one RunAPI key.

1
MODELS
LLM
MODALITIES
Get API Key

What you get through RunAPI

Full Model Access

Browse every model currently listed for this provider in the RunAPI catalog.

Transparent Pricing

Review each model's published RunAPI price before sending a request.

No Account Required

Use your RunAPI key without creating a separate provider account.

Unified Billing

Keep this provider and other supported models on one RunAPI balance.

HOW IT WORKS

Call Z.ai models in 3 steps

  1. Get Your Key

    Sign up for free and create a RunAPI key — no Z.ai account needed.

  2. Send a Request

    POST to /v1/chat/completions with any Z.ai model slug.

  3. Get Results

    Stream the response or receive a webhook when the task completes.

MODELS

Z.ai Models on RunAPI

Text

GLM

Z.ai GLM API access via RunAPI — MIT-licensed MoE models with up to 200K context, leading open-weight coding benchmarks.

$0.10 / 1M tokens View →

Why use Z.ai via RunAPI

Lower Cost

Compare Z.ai variants and start with transparent per-call pricing for the model you need.

No Account Needed

Use your RunAPI API key for managed Z.ai access without a separate provider account or credential.

Unified Billing

Keep Z.ai and every other supported model on one RunAPI balance and monthly USD invoice.

RunAPI vs Direct Z.ai

Feature Direct Z.ai Via RunAPI
Account Required Z.ai account + billing RunAPI account only
API Format Z.ai SDK Same Z.ai SDK (compatible)
Pricing Provider-published rates Published per-model RunAPI pricing
Other Models Z.ai only 244+ models, all providers
Billing Per-provider invoices One unified credit balance
Support Provider-specific support RunAPI support
Playground

Try Z.ai Models

Estimated: Input $0.41 / 1M tokens | Output $1.61 / 1M tokens

Sign in to generate with RunAPI.

Sign in to generate

Sign in to start generating with your available language models.

Response will appear here

QUICKSTART

Call Z.ai Models via RunAPI

Python
from openai import OpenAI

client = OpenAI(
    base_url="https://runapi.ai/v1",
    api_key="your-runapi-key"
)

response = client.chat.completions.create(
    model="glm-4.5",
    messages=[{"role": "user", "content": "Read this multi-file repository, find the failing integration test, and propose a patch with an explanation of the root cause."}]
)

What teams build with Z.ai models

Conversational AI

Build chatbots and assistants with Z.ai models.

Content Generation

Generate marketing copy, code, and creative writing at scale.

Image Creation

Create product shots, illustrations, and design assets with Z.ai models.

Data Analysis

Extract insights from documents, spreadsheets, and structured data.

Provider questions

Do I need a Z.ai account?

No. Your RunAPI API key is enough to access the Z.ai models listed in the catalog.

Which Z.ai models are available?

The model cards above reflect the Z.ai models currently available through RunAPI.

How does billing work?

Usage is charged to your RunAPI balance using the price shown for the selected model.

Can I switch to another model?

Yes. Choose another supported model and use its model ID in the same RunAPI workflow.

Where can I find request details?

Open a model page to review its current endpoints, parameters, pricing, and examples.

Start building on one key.

Building with a team?

We're here to help with enterprise setup, integrations, and technical questions.

Contact Us