Загрузка шаблона…
✦

glm-4-5-air

Коммерческое использованиеСемейство API Z.ai — все модели →
⚡ Запустить через API

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

Цена: Вход: 39.6 кредитов за 1 млн токенов (≈ $0.20), выход: 217.8 кредитов за 1 млн токенов (≈ $1.09).

Диалог
✦

Чем могу помочь сегодня?

В этой демонстрации доступны не все функции памяти. Для полного набора возможностей используйте клиент или CLI.

Посмотреть все модели →
≡
README
Полное руководство по GLM-4.5-Air

GLM-4.5-Air API

Call GLM-4.5-Air on ModelFold with model id glm-4-5-air.

What this model is for

Context window

131,072 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 39.6 credits per 1M tokens (about $0.198) and output is 217.8 credits per 1M tokens (about $1.089). Final charges follow actual token usage. Failed calls are not charged.

FAQ

What model id do I send?⌄

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

Тарифы
Вход39.6 кредитов 1M tokens≈ $0.20
Кэшированный вход5.94 кредитов 1M tokens≈ $0.03
Выход217.8 кредитов 1M tokens≈ $1.09

Оплата за токены. Вход и выход тарифицируются отдельно, а токены рассуждения считаются выходными. На площадке тестирования действуют те же правила.

Документация 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-5-air","messages":[{"role":"user","content":"Hello"}]}'