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
OpenCode Zen

GLM-5 API

OpenCode Zen
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 OpenCode Zen 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
205K

Tokens

Input Limit
205K

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 OpenCode Zen 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
glm-5
Provider
OpenCode Zen
Family
glm
Release Date
Feb 11, 2026
Knowledge Cutoff
Apr 1, 2025
API Integration
NPM Package
@ai-sdk/openai-compatible
Environment Variables
OPENCODE_API_KEY
API Base URL
https://opencode.ai/zen/v1
Documentation