BlockRun
Get started
Back to Pricing

GLM-5 Turbo

zai/glm-5-turbo

zai

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

Input$1.20 / 1M tokens
Output$4.00 / 1M tokens
Context200K tokens
Max Output128K tokens

5% markup on official zai API prices.

Payment

Network
Base
Currency
USDC
Protocol
x402

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: