Memuatkan templat…
⚡ Jalankan melalui API

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

Harga: Input 277.2 kredit / 1 juta token (≈ $1.39), output 871.2 kredit / 1 juta token (≈ $4.36).

Perbualan
✦

Apa yang boleh saya bantu hari ini?

Halaman demo ini tidak menyediakan semua ciri ingatan aplikasi. Untuk pengalaman penuh, gunakan aplikasi atau CLI.

Lihat semua model →
≡
README
Panduan lengkap menggunakan GLM-5.1

GLM-5.1 API

Call GLM-5.1 on ModelFold with model id glm-5-1.

What this model is for

Context window

204,800 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 277.2 credits per 1M tokens (about $1.386) 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-1 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.

Jadual harga
Input277.2 kredit setiap 1 juta token≈ $1.39
Input dalam cache51.48 kredit setiap 1 juta token≈ $0.26
Output871.2 kredit setiap 1 juta token≈ $4.36

Caj dikira bagi setiap token. Input dan output mempunyai kadar berasingan, dan token penaakulan dikira sebagai output. Playground menggunakan kadar yang sama.

Baca dokumentasi API →AI Agents · Claude Code / Cursor / Trae →
Panduan ringkas
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-1","messages":[{"role":"user","content":"Hello"}]}'