Şablon yükleniyor…
⚡ API ile çalıştır

Text chat, coding, structured extraction, and tool calling.

Fiyat: Girdi: 1 milyon token başına 1.68 kredi (≈ $0.01); çıktı: 1 milyon token başına 871.2 kredi (≈ $4.36).

Sohbet
✦

Bugün size nasıl yardımcı olabilirim?

Bu demo sayfasında istemcinin tüm bellek özellikleri yoktur. Tam deneyim için istemciyi veya CLI aracını kullanın.

Tüm modellere göz at →
≡
README
GLM-5.2 kullanım kılavuzu

GLM-5.2 API

Call GLM-5.2 on ModelFold with model id glm-5-2.

What this model is for

Context window

1,048,576 tokens of context for longer conversations, document analysis, and code.

Text and coding

Text input and output for conversation, coding, summaries, and information extraction. This model does not accept images.

Reasoning and tools

Supports reasoning and function calling. Pass tools and tool_choice; your application executes the requested tools.

Pricing

Billing follows token usage. At current prices, input is 1.68 credits per 1M tokens (about $0.008) and output is 871.2 credits per 1M tokens (about $4.356). Final charges follow actual token usage. Failed calls are not charged.

FAQ

What model id do I send?⌄

Send model glm-5-2 to POST https://modelfold.ai/v1/chat/completions with Authorization: Bearer YOUR_API_KEY and an OpenAI-style messages array. stream: true returns server-sent events.

Does it support tools?⌄

Yes. Pass tools and tool_choice as in OpenAI Chat Completions. The model returns tool arguments; your application runs the tool and sends back its result.

Ücret tarifesi
Girdi1.68 kredi 1M tokens≈ $0.01
Önbelleğe alınmış girdi1.44 kredi 1M tokens≈ $0.01
Çıktı871.2 kredi 1M tokens≈ $4.36

Ücret token başına hesaplanır: girdi ve çıktı ayrı fiyatlandırılır; akıl yürütme tokenları çıktı sayılır. Playground da aynı şekilde ücretlendirir.

API belgelerini oku →AI Agents · Claude Code / Cursor / Trae →
Hızlı başlangıç
POST/v1/chat/completions
curl https://modelfold.ai/v1/chat/completions \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-5-2","messages":[{"role":"user","content":"Hello"}]}'