GLM 5

Other chatreasoningtool_use Long

API ID: z-ai/glm-5-20260211

Input Price
$0.72
/1M tokens
Output Price
$2.30
/1M tokens

About GLM 5

GLM 5 is a mid-range general-purpose model from Other with ultra-long context (203k), suitable for conversations, content creation, and general AI tasks.

💰
Price Ranking
#846 lowest price among 950 Chat models

Model Specifications

Context Length
203k
Max Output
131k
Release Date
2026-02-11
Capabilities
chat reasoning tool_use
Input Modalities
text
Output Modalities
text

Best For

  • Complex reasoning, math problems, multi-step logic
  • Conversations, content writing, general assistance

Consider Alternatives For

  • Image understanding (needs vision capability)
  • Simple Q&A (cheaper models available)

💰 Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$1.01
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$31.50
/month
1000 tickets/day, ~800 tokens each
Data Analysis Pipeline
$43.80
/month
500 analyses/day, ~2k tokens each

Other Model Lineup

Compare all models from Other to find the best fit

Model Input Output Context Capabilities
GLM 5 Current Free Free 203k chat reasoning tool_use
Riverflow V2 Max Preview Free Free 8k chat vision image_gen
Riverflow V2 Standard Preview Free Free 8k chat vision image_gen
Riverflow V2 Fast Preview Free Free 8k chat vision image_gen
AFM 4.5B Free Free 66k chat
AFM 4.5B Free Free 66k chat

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

OpenAI GPT-3.5 Turbo (older v0613)
Input: $1.00
Output: $2.00
Context: 4k
OpenAI GPT Audio Mini
Input: $0.60
Output: $2.40
Context: 128k
DeepSeek R1
Input: $0.70
Output: $2.40
Context: 64k
Moonshot AI Kimi K2 0905 (exacto)
Input: $0.60
Output: $2.50
Context: 131k

🚀 Quick Start

Get started with GLM 5 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="z-ai/glm-5-20260211",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)