---
title: Z.ai: GLM 4.5 Air (free) API | Text Generation | ModelsLab
description: Free, efficient MoE LLM with 106B total / 12B active params, 128K context, function calling, reasoning & coding for agentic apps—runs on RTX.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/z-ai/z-ai-glm-4.5-air-free/api.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/z-ai/z-ai-glm-4.5-air-free/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-13T10:55:45.879494Z
---

Z.ai: GLM 4.5 Air (free)
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/z-ai-glm-4.5-air-free/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/z-ai/z-ai-glm-4.5-air-free.md)

z-ai-glm-4.5-air-free z-ai Closed Source Model

Z.ai: GLM 4.5 Air (free)
---

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 (free)

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

Copy model ID

PricingInput $0.00 / 1M tokens

Output $0.00 / 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-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[M8](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Mixtral-8x22B-Instruct-v0.1)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Mixtral 8X22b Instruct V0.1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Mixtral-8x22B-Instruct-v0.1)

[BQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/baidu-cobuddy-free)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Baidu Qianfan: CoBuddy (free)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/baidu-cobuddy-free)

[TH](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/tencent-hunyuan-a13b-instruct)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Tencent: Hunyuan A13B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/tencent-hunyuan-a13b-instruct)

[MM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-mistral-small-2603)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mistral: Mistral Small 4

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-mistral-small-2603)

[AJ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/ai21-jamba-large-1.7)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [AI21: Jamba Large 1.7

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/ai21-jamba-large-1.7)

[ZG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/z-ai-glm-5v-turbo)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Z.ai: GLM 5V Turbo

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/z-ai-glm-5v-turbo)

[G2](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/google-gemma-2-9b-it)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Gemma 2 9B It

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/google-gemma-2-9b-it)

[L4](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/meta-llama-Llama-4-Scout-17B-16E)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Llama 4 Scout (17Bx16E)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/meta-llama-Llama-4-Scout-17B-16E)

[![GPT-5-mini](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/0bda788d-705d-4cbd-9c9d-dcdaa12b9493.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-5-mini)[Open Ai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai)

 [GPT-5-mini

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-5-mini)

[Q3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3.5-397B-A17B)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3.5 397B A17b

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3.5-397B-A17B)

[L3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/nvidia-Llama-3.1-Nemotron-70B-Instruct-HF)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta)

 [Llama 3.1 Nemotron 70B Instruct HF

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/nvidia-Llama-3.1-Nemotron-70B-Instruct-HF)

[SL](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/sao10k-l3.1-euryale-70b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Sao10K: Llama 3.1 Euryale 70B v2.2

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/sao10k-l3.1-euryale-70b)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen-2.5-7b-instruct)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen2.5 7B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen-2.5-7b-instruct)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-14b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 14B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-14b)

[M(](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Mistral-7B-Instruct-v0.1)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Mistral (7B) Instruct v0.1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Mistral-7B-Instruct-v0.1)

[MK](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/moonshotai-kimi-k2-thinking)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [MoonshotAI: Kimi K2 Thinking

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/moonshotai-kimi-k2-thinking)

[CC](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/cohere-command-r-08-2024)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Cohere: Command R (08-2024)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/cohere-command-r-08-2024)

[QV](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-VL-8B-Instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3-VL-8B-Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-VL-8B-Instruct)

About Z.Ai: GLM 4.5 Air (Free)
---

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-freeCategoryLLM ModelsTaskText GenerationAddedFebruary 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 (Free) into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/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-free",
        "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>
```

View the [full API documentation](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/z-ai/z-ai-glm-4.5-air-free/api) for SDKs, code examples in Python, JavaScript, and more.

### 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 (Free)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/zai-glm-45-air-free) [Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Z Ai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Z.Ai: GLM 4.5 Air (Free) FAQ
---

### What is Z.Ai: GLM 4.5 Air (Free)?

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 (Free) API?

You can integrate Z.Ai: GLM 4.5 Air (Free) 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-free" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

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

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

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

Yes, ModelsLab offers a free tier that lets you try Z.Ai: GLM 4.5 Air (Free) 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-05-13*