by Z.aiReleased Sep 30, 2025
z-ai/glm-4.6Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex...
| Billed for | You pay |
|---|---|
| Input tokens | $0.52 / 1M |
| Output tokens | $2.10 / 1M |
| Cached input, read | $0.096 / 1M |
import OpenAI from "openai";const ai = new OpenAI({ baseURL: "https://relayfor.si/api/v1", apiKey: process.env.RELAYFOR_ROUTER_KEY,});const reply = await ai.chat.completions.create({ model: "z-ai/glm-4.6", messages: [{ role: "user", content: "Welcome the 1,000th holder in one line." }],});$0.52 per million input tokens and $2.10 per million output tokens, paid from the token's AI credit. A call of 2,000 tokens in and 500 out costs about $0.0021.
Make a router key for one of your tokens on the dashboard, point any OpenAI or Anthropic SDK at https://relayfor.si/api/v1 and send the model id z-ai/glm-4.6. The token's AI credit pays for each call.
Up to 204,800 tokens of context, and up to 16,384 tokens in one answer.
No. The RFS Router passes each call through and keeps only its token counts and cost, for the token's usage page.
| Provider | Answered, 24 h |
|---|---|
| Venicefp4 | 99.9% |
| DeepInfrafp4 | 99.8% |
| Novitabf16 | 99% |
| Z.AIfp4 | 98.8% |