by Z.aiReleased Jan 19, 2026
z-ai/glm-4.7-flashAs a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency. It is further optimized for agentic coding use cases, strengthening coding capabilities, long-horizon task planning,...
| Billed for | You pay |
|---|---|
| Input tokens | $0.073 / 1M |
| Output tokens | $0.48 / 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.7-flash", messages: [{ role: "user", content: "Welcome the 1,000th holder in one line." }],});$0.073 per million input tokens and $0.48 per million output tokens, paid from the token's AI credit. A call of 2,000 tokens in and 500 out costs about $0.0004.
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.7-flash. The token's AI credit pays for each call.
Up to 200,000 tokens of context, and up to 117,964 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 |
|---|---|
| Cloudflare | 99.1% |
| Venicefp8 | 97.7% |
| Novitabf16 | Unavailable now |