GLM-5 Turbo
zai/glm-5-turbo
Optimized GLM-5 variant with faster inference
Code Examples
from blockrun_llm import LLMClient
client = LLMClient() # Uses BLOCKRUN_WALLET_KEY (never sent to server)
response = client.chat("zai/glm-5-turbo", "Hello!")Pricing
5% markup on official zai API prices.
Payment
Pay per request with USDC on Base. No subscription required.
Try It
Send a message to try GLM-5 Turbo
Connect your wallet to enable payments
About Z.ai GLM-5 Turbo
Optimized GLM-5 variant with faster inference. It is built by Z.ai and served through BlockRun's OpenAI-compatible API, which means you can call it without an account, an API key, or a subscription. Requests are paid for individually, in USDC, at the moment they are made.
What it costs
GLM-5 Turbo is billed per token. The underlying rates are $1.20 per million input tokens and $4.00 per million output tokens; a flat platform margin and a small per-transaction fee covering on-chain settlement are added on top, and the resulting price is quoted in the 402 before you pay. You are charged for the tokens a request actually consumes — there is no monthly commitment and no unused balance to forfeit. With a context window of 200,000 tokens and up to 128,000 tokens of output, a single call can carry a substantial working set.
Specifications
- Context window
- 200,000 tokens
- Maximum output
- 128,000 tokens
- API compatibility
- OpenAI-compatible
- Payment
- USDC via x402
- Categories
- chat, reasoning
Calling it from your code
Pass zai/glm-5-turbo as the model field. Because the endpoint mirrors the OpenAI chat completions schema, any existing OpenAI client works by changing the base URL — streaming, tool use, and multi-turn messages all behave the same way.
The first request comes back as an HTTP 402 carrying a signed price quote. Your client signs that quote with a wallet holding USDC and retries; the second request returns the completion, and the payment settles on-chain. Client libraries handle this handshake for you, so in practice it is a single call. See the documentation for request and response shapes, or browse the full catalog of 71 chat models to compare alternatives.
Related models
Every model on BlockRun is reached through the same endpoint and the same payment flow, so switching is a one-line change to the model field. These are the closest alternatives to GLM-5 Turbo:
- Z.ai GLM-5.2$1.40 in / $4.40 out per 1M
- Z.ai GLM-5.1$1.40 in / $4.40 out per 1M
- Z.ai GLM-5$0.60 in / $1.92 out per 1M
- xAI Grok Build 0.1$1.50 in / $3.00 out per 1M
- xAI Grok 4.5$2.50 in / $9.00 out per 1M
- xAI Grok 4.3$1.50 in / $4.00 out per 1M