# imgnAI Katana GLM-52 Text Completion

> imgnAI Katana GLM-52 Text Completion is a paid API for AI agents from kat.imgnai.com, paid per call via x402, $0.052/call, status unknown (last checked 2026-10-19).

Runs a chat completion request against the GLM-52 language model via the imgnAI Katana pay-per-call AI gateway

## Facts

- Endpoint: POST https://kat.imgnai.com/v1/text/glm-52?utm_source=zero.xyz
- Price: $0.052/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Success rate: 0% of calls made through Zero
- Rating: 1.3 / 5 from 1 review
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/imgnai-katana-glm-52-text-completion-49568553
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eIcwbsvC3nwY8LX9G2tb3

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability imgnai-katana-glm-52-text-completion-49568553 -d '<json body>'
```

Example prompt: Ask GLM-52 on the Katana gateway to answer the following using these messages: system says 'You are a helpful assistant' and user says 'Explain quantum entanglement in two sentences', with temperature 0.7 and a max of 300 tokens.

## When to prefer this

Choose this endpoint when you need low-cost, pay-per-call LLM text completions without a subscription, specifically want to use the GLM-52 model on the imgnAI Katana platform, or require OpenAI-compatible chat completion responses with crypto micropayment billing via x402.

## Known failure modes

- Missing required 'messages' field returns a 400 validation error
- Insufficient USDC balance or failed x402 payment results in 402 Payment Required
- Malformed messages array causes a 422 unprocessable entity error
- Exceeding model context window returns an error about token limits
- Streaming not supported or misconfigured may result in connection errors
- Model unavailability returns a 503 service unavailable response

## How this service works

Pay-per-call AI gateway: Frontier/SOTA LLM, Image, and Video models - and proprietary low-cost imgnAI models. Includes GPT 5.5, Opus 4.8, GPT Image 2, Nano Banana 2, Seedance 2.0, Happy Horse, and Google Omni. Fully compatible with OpenAPI, HermesOS, and OpenClaw.

## Output

Returns an OpenAI-compatible chat completion object with an array of choices containing the model's generated message, plus a usage object showing prompt and completion token counts and an object type string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "messages"
 ],
 "properties": {
  "messages": {
   "type": "array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/imgnai-katana-glm-52-text-completion-49568553/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kat.imgnai.com](https://www.zero.xyz/host/kat.imgnai.com/llms.txt)
