AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
Hugging Face

GLM-5 API

Hugging Face
About

Build advanced reasoning agents with GLM-5, a specialized AI model optimized for complex logic and chain-of-thought tasks. This model delivers cost-effective pricing at $1.00/1M input and $3.20/1M output tokens, native tool calling support, open weights architecture. Access GLM-5 via the Hugging Face API with up to 131K output tokens.

Capabilities

Input Modalities

text

Output Modalities

text
Reasoning
Yes
Structured Output
No
Tool Use
Yes
WeightsOpen
Temperature
Adjustable
Attachment
Not Supported
Limits
Context Window
203K

Tokens

Input Limit
203K

Tokens

Max Output
131K

Tokens

Pricing

Standard (per 1M tokens)

Input
$1.00
Output
$3.20

Caching (per 1M tokens)

Read
$0.20
Frequently Asked Questions

GLM-5 by Hugging Face costs $1.00 per 1M input tokens and $3.20 per 1M output tokens. Cached reads cost $0.20 per 1M tokens.

Model Details
ID
zai-org/GLM-5
Provider
Hugging Face
Family
glm
Release Date
Feb 11, 2026
Knowledge Cutoff
N/A
API Integration
NPM Package
@ai-sdk/openai-compatible
Environment Variables
HF_TOKEN
API Base URL
https://router.huggingface.co/v1
Documentation