Wczytywanie szablonu…
⚡ Uruchom przez API

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

Ceny: Wejście: 198 kred. za 1 mln tokenów (≈ $0.99); wyjście: 633.6 kred. za 1 mln tokenów (≈ $3.17).

Rozmowa
✦

W czym mogę dziś pomóc?

Ta wersja demonstracyjna nie obejmuje wszystkich funkcji pamięci aplikacji. Aby skorzystać z pełnej wersji, użyj aplikacji lub CLI.

Przeglądaj wszystkie modele →
≡
README
Kompletny przewodnik po korzystaniu z GLM-5

GLM-5 API

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

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

FAQ

What model id do I send?⌄

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

Cennik
Wejście198 kredytów 1M tokens≈ $0.99
Wejście z pamięci podręcznej39.6 kredytów 1M tokens≈ $0.20
Wyjście633.6 kredytów 1M tokens≈ $3.17

Opłata jest naliczana za token. Wejście i wyjście mają osobne stawki, a tokeny rozumowania są rozliczane jako wyjście. W Playground obowiązuje ten sam sposób naliczania.

Przeczytaj dokumentację API →AI Agents · Claude Code / Cursor / Trae →
Szybki start
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","messages":[{"role":"user","content":"Hello"}]}'