Завантажуємо шаблон…
✦

glm-4-7

⚡ Запустити через API

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

Тарифи: Вхід: 118.8 кредитів за 1 млн токенів (≈ $0.59); вихід: 435.6 кредитів за 1 млн токенів (≈ $2.18).

Розмова
✦

Чим можу допомогти сьогодні?

На цій демонстраційній сторінці доступні не всі можливості пам’яті застосунку. Щоб скористатися ними повністю, відкрийте застосунок або CLI.

Переглянути всі моделі →
≡
README
Повний посібник із використання GLM-4.7

GLM-4.7 API

Call GLM-4.7 on ModelFold with model id glm-4-7.

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 118.8 credits per 1M tokens (about $0.594) and output is 435.6 credits per 1M tokens (about $2.178). Final charges follow actual token usage. Failed calls are not charged.

FAQ

What model id do I send?⌄

Send model glm-4-7 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.

Таблиця тарифів
Вхід118.8 кредити за 1 млн токенів≈ $0.59
Кешований вхід21.78 кредити за 1 млн токенів≈ $0.11
Вихід435.6 кредити за 1 млн токенів≈ $2.18

Оплата за токен. Для вхідних і вихідних токенів діють окремі тарифи, а токени міркування оплачуються як вихідні. У Playground діють ті самі правила.

Читати документацію API →AI Agents · Claude Code / Cursor / Trae →
Швидкий старт
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-4-7","messages":[{"role":"user","content":"Hello"}]}'