Loading template…
✦

glm-5-3-flashx-legal

⚡ Run with API

Visual understanding, information extraction, and tool calling.

Pricing: Input 73.26 credits / 1M tokens (≈ $0.37), Output 247.5 credits / 1M tokens (≈ $1.24).

Prices updated

✦

How can I help you today?

This demo page does not include the full memory features of the client. For the complete experience, please use the client or the CLI.

≡
README
Complete guide to using GLM-5.3-FlashX-Legal

GLM-5.3-FlashX-Legal API

Call GLM-5.3-FlashX-Legal on ModelFold with model id glm-5-3-flashx-legal.

What this model is for

Context window

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

Visual understanding

Accepts text and images, returning text. Use it to understand screenshots, charts, and documents.

Reasoning and tools

Reasoning is always enabled; reasoning_effort accepts low, high, or max. Supports function calling.

Pricing

Billing follows token usage. At current prices, input is 73.26 credits per 1M tokens (about $0.366) and output is 247.5 credits per 1M tokens (about $1.238). Final charges follow actual token usage. Failed calls are not charged.

FAQ

What model id do I send?⌄

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

Rate card
Input73.26 credits 1M tokens≈ $0.37
Cached input14.85 credits 1M tokens≈ $0.07
Output247.5 credits 1M tokens≈ $1.24

Billed per token: input and output are priced separately, and thinking tokens count as output. The Playground charges exactly the same way.

Read API docs →AI Agents · Claude Code / Cursor / Trae →
Quick start
curl https://modelfold.ai/v1/chat/completions \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-5-3-flashx-legal","messages":[{"role":"user","content":"Hello"}]}'