---
title: Z.ai: GLM 4.5 Air API | Text Generation | ModelsLab
description: Efficient MoE LLM with 106B total / 12B active params, 131K context, hybrid reasoning, function calling for agentic tasks; runs on RTX 4090, 104.
url: https://modelslab.com/models/z-ai/z-ai-glm-4.5-air.md
canonical: https://modelslab.com/models/z-ai/z-ai-glm-4.5-air.md
type: product
component: Playground/LLM/Index
generated_at: 2026-06-03T20:24:43.875246Z
---

Z.ai: GLM 4.5 Air
---

 [LLMs.txt](https://modelslab.com/models/open_router/z-ai-glm-4.5-air/llms.txt) [.md](https://modelslab.com/models/z-ai/z-ai-glm-4.5-air.md)

Z.ai: GLM 4.5 Air
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Z.ai: GLM 4.5 Air

z-ai z-ai-glm-4.5-air

Copy model ID

PricingInput $0.125 / 1M tokens

Output $0.85 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[#### google\_deepmind/Gemma 3N E4B Instruct

google-gemma-3n-E4B-it

From $0.09/M tokens](https://modelslab.com/models/google_deepmind/google-gemma-3n-E4B-it)

[#### open\_router/Anthropic: Claude Opus 4.6 (Fast)

anthropic-claude-opus-4.6-fast

From $90.00/M tokens](https://modelslab.com/models/open_router/anthropic-claude-opus-4.6-fast)

[#### open\_router/Qwen: Qwen3.6 35B A3B

qwen-qwen3.6-35b-a3b

From $0.57/M tokens](https://modelslab.com/models/open_router/qwen-qwen3.6-35b-a3b)

[#### open\_router/Xiaomi: MiMo-V2-Flash

xiaomi-mimo-v2-flash

From $0.20/M tokens](https://modelslab.com/models/open_router/xiaomi-mimo-v2-flash)

[#### open\_router/ByteDance Seed: Seed-2.0-Lite

bytedance-seed-seed-2.0-lite

From $1.13/M tokens](https://modelslab.com/models/open_router/bytedance-seed-seed-2.0-lite)

[#### open\_router/OpenAI: GPT-3.5 Turbo Instruct

openai-gpt-3.5-turbo-instruct

From $1.75/M tokens](https://modelslab.com/models/open_router/openai-gpt-3.5-turbo-instruct)

[#### open\_router/MoonshotAI: Kimi K2 0711

moonshotai-kimi-k2

From $1.44/M tokens](https://modelslab.com/models/open_router/moonshotai-kimi-k2)

[#### open\_router/Google: Gemini 2.5 Flash Lite Preview 09-2025

google-gemini-2.5-flash-lite-preview-09-2025

From $0.25/M tokens](https://modelslab.com/models/open_router/google-gemini-2.5-flash-lite-preview-09-2025)

[#### open\_router/Google: Gemini 3.5 Flash

google-gemini-3.5-flash

From $5.25/M tokens](https://modelslab.com/models/open_router/google-gemini-3.5-flash)

[#### open\_router/Meta: Llama Guard 4 12B

meta-llama-llama-guard-4-12b

From $0.18/M tokens](https://modelslab.com/models/open_router/meta-llama-llama-guard-4-12b)

[#### open\_router/MoonshotAI: Kimi K2 Thinking

moonshotai-kimi-k2-thinking

From $1.55/M tokens](https://modelslab.com/models/open_router/moonshotai-kimi-k2-thinking)

[#### open\_router/Arcee AI: Trinity Large Thinking

arcee-ai-trinity-large-thinking

From $0.54/M tokens](https://modelslab.com/models/open_router/arcee-ai-trinity-large-thinking)

[#### open\_router/Google: Nano Banana (Gemini 2.5 Flash Image)

google-gemini-2.5-flash-image

From $1.40/M tokens](https://modelslab.com/models/open_router/google-gemini-2.5-flash-image)

[#### open\_router/Mistral: Mixtral 8x22B Instruct

mistralai-mixtral-8x22b-instruct

From $4.00/M tokens](https://modelslab.com/models/open_router/mistralai-mixtral-8x22b-instruct)

[#### open\_router/Morph: Morph V3 Large

morph-morph-v3-large

From $1.40/M tokens](https://modelslab.com/models/open_router/morph-morph-v3-large)

[#### together\_ai/GLM 5.1 FP4

zai-org-GLM-5.1

From $2.90/M tokens](https://modelslab.com/models/together_ai/zai-org-GLM-5.1)

[#### open\_router/Google: Gemma 3n 4B

google-gemma-3n-e4b-it

From $0.09/M tokens](https://modelslab.com/models/open_router/google-gemma-3n-e4b-it)

[#### open\_router/Qwen: Qwen3 Coder Flash

qwen-qwen3-coder-flash

From $0.58/M tokens](https://modelslab.com/models/open_router/qwen-qwen3-coder-flash)

Open Source Alternatives
---

Explore open-source models that offer similar capabilities with full transparency and flexibility

 [View all open source models](https://modelslab.com/models?feature=llm&provider=open-source-models)

[MU](https://modelslab.com/models/modelslab/uncensored-chat)[ModelsLab](https://modelslab.com/models/modelslab)

 [Modelslab: Uncensored Chat

Open Source Model](https://modelslab.com/models/modelslab/uncensored-chat)

About Z.Ai: GLM 4.5 Air
---

GLM-4.5-Air is the lightweight variant of our latest flagship model family, also purpose-built for agent-centric applications. Like GLM-4.5, it adopts the Mixture-of-Experts (MoE) architecture but with a more compact parameter...

### Technical Specifications

Model IDz-ai-glm-4.5-air

CategoryLLM Models

TaskText Generation

Price$0.4875 per million tokens

AddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Z.Ai: GLM 4.5 Air into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "z-ai-glm-4.5-air",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

Z.Ai: GLM 4.5 Air API costs $0.487500 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about Z.Ai: GLM 4.5 Air](https://modelslab.com/zai-glm-45-air) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Z Ai](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Z.Ai: GLM 4.5 Air FAQ
---

### What is Z.Ai: GLM 4.5 Air?

GLM-4.5-Air is the lightweight variant of our latest flagship model family, also purpose-built for agent-centric applications. Like GLM-4.5, it adopts the Mixture-of-Experts (MoE) architecture but with a more compact parameter...

### How do I use the Z.Ai: GLM 4.5 Air API?

You can integrate Z.Ai: GLM 4.5 Air into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "z-ai-glm-4.5-air" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Z.Ai: GLM 4.5 Air cost?

Z.Ai: GLM 4.5 Air costs $0.487500 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Z.Ai: GLM 4.5 Air model ID?

The model ID for Z.Ai: GLM 4.5 Air is "z-ai-glm-4.5-air". Use this ID in your API requests to specify this model.

### Does Z.Ai: GLM 4.5 Air have a free tier?

Yes, ModelsLab offers a free tier that lets you try Z.Ai: GLM 4.5 Air and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-06-04*