GLM 4 9B

Zhipu Ai chat Free

API ID: thudm/glm-4-9b-0414

Input Price
Free
/1M tokens
Output Price
Free
/1M tokens

About GLM 4 9B

GLM-4-9B-0414 is a 9 billion parameter language model from the GLM-4 series developed by THUDM. Trained using the same reinforcement learning and alignment strategies as its larger 32B counterparts, GLM-4-9B-0414 achieves high performance relative to its size, making it suitable for resource-constrained deployments that still require robust language understanding and generation capabilities.

๐Ÿ†
Price Ranking
#6 lowest price among 1240 Chat models โ€” Top 20% cheapest!

Model Specifications

Context Length
32k
Max Output
โ€”
Release Date
2025-04-25
Capabilities
chat
Input Modalities
text
Output Modalities
text

Best For

  • Conversations, content writing, general assistance

Consider Alternatives For

  • Image understanding (needs vision capability)
๐ŸŽ‰

This model is completely free!

No token costs - use it without worrying about API bills.

Estimate Token Usage

Zhipu Ai Model Lineup

Compare all models from Zhipu Ai to find the best fit

Model Input Output Context Capabilities
GLM 4 9B Current Free Free 32k chat
GLM 4 32B Free Free 33k chat
GLM 4 32B Free Free 33k chat
GLM 4.1V 9B Thinking Free Free 66k chat vision reasoning
GLM Z1 Rumination 32B Free Free 32k chat reasoning
GLM Z1 Rumination 32B Free Free 32k chat reasoning

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Google Gemma 3n 4B
Input: Free
Output: Free
Context: 33k
Alibaba Qwen Qwen2.5-VL 7B Instruct
Input: Free
Output: Free
Context: 33k
ByteDance Seedream 4.5
Input: Free
Output: Free
Context: 4k
Black Forest Labs FLUX.2 Max
Input: Free
Output: Free
Context: 47k

๐Ÿš€ Quick Start

Get started with GLM 4 9B API

OpenAI-compatible SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.provider.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="thudm/glm-4-9b-0414",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)