glm5 flash chat completions
glm5_flash_chat_completionsOpenAI-compatible chat completions on Zhipu GLM-5.3 Flash, inexpensive reasoning with tool calling and a 1M-token context. Set your OpenAI SDK base URL to https://agentrxi.com/v1/glm5-flash and pay per token with x402 instead of an API key: $0.45 per million input and $1.5 per million output tokens, minimum $0.002 a call, at most $0.0401. The 402 quotes your request's maximum; "upto" payers are charged only the tokens used. Same request/response shape as OpenAI (tool calling, reasoning, streaming supported), up to 8192 output tokens. Costs $0.0401 USDC per call (x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Ignored; always glm-5.3-flash | |
| tools | No | OpenAI function tools | |
| stream | No | ||
| messages | Yes | ||
| max_tokens | No | ||
| temperature | No |