NewHow we catch a seller listing the wrong model, and refund you if one does.
Z.ai logo

How do I use Z.ai: GLM 5.3 FlashX Legal in Cursor?

z-ai/glm-5.3-flashx-legal

In Cursor Settings → Models, paste your MartLLM key into the OpenAI API Key field, turn on the OpenAI base URL override and enter https://api.martllm.com/v1, turn on Use API Key, then add z-ai/glm-5.3-flashx-legal as a custom model and select it in the chat model picker. This is for chat in Cursor: Tab completion keeps using the models Cursor provides.

OpenAI API Key
ull_your_key
OpenAI base URL override
https://api.martllm.com/v1
Custom model
z-ai/glm-5.3-flashx-legal

Cursor calls: OpenAI chat completions https://api.martllm.com/v1/chat/completions · Full Cursor guide

Replace ull_your_key with your MartLLM API key. One key works in every tool and for every model.

By API, Z.ai: GLM 5.3 FlashX Legal answers on three addresses with the same MartLLM key and the model id z-ai/glm-5.3-flashx-legal: OpenAI chat completions at https://api.martllm.com/v1/chat/completions, the OpenAI Responses API at https://api.martllm.com/v1/responses and the Anthropic Messages API at https://api.martllm.com/v1/messages.

How much does the Z.ai: GLM 5.3 FlashX Legal API cost?

On November 20, 2026, Z.ai: GLM 5.3 FlashX Legal costs $0.185 per million input tokens and $0.625 per million output tokens through MartLLM, 50% below its list price of $0.37 and $1.25. 24 sellers on the market can serve it. It reads up to 1,048,576 tokens of context. Every request is listed with its cost in the Activity log. MartLLM adds no fee to these prices, and a request that fails is not billed.

Prices as of 11:00 UTC.

Z.ai: GLM 5.3 FlashX Legal in other tools

Other models in Cursor