# Gambit GPU Shop – OCR via GLM Vision

> Gambit GPU Shop – OCR via GLM Vision is a paid API for AI agents from spark-2f53.tail8a7863.ts.net, paid per call via x402, $0.03/call, status down (last checked 2026-09-15).

Extracts text from a base64-encoded image using GLM OCR, optionally guided by a prompt, returning the recognized text and model name.

## Facts

- Endpoint: POST https://spark-2f53.tail8a7863.ts.net/gambit/x402/ocr
- Price: $0.03/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gambit-gpu-shop-ocr-via-glm-vision-475b9e16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9tBCiEOGAe_tfpD7qL9oT

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 gambit-gpu-shop-ocr-via-glm-vision-475b9e16 -d '<json body>'
```

Example prompt: Can you extract all the text from this image for me? Here's the image in base64: [base64string] — focus on reading any printed numbers and labels.

## When to prefer this

Choose this endpoint when you need to extract text from images (OCR) via a pay-per-call API with USDC micropayments on Base at $0.03 per call, especially in automated agent workflows where no monthly subscription is desired. Prefer this over heavyweight OCR services when cost-per-call efficiency and crypto-native payment rails matter.

## Known failure modes

- Invalid or corrupted base64 image data — returns error or empty text
- Image contains no readable text — returns empty text string
- Unsupported image format — may return an error
- Payment failure via x402 — HTTP 402 response before processing

## How this service works

Gambit GPU shop. Pay with L402 Lightning on /l402/* or x402 USDC on Base on /x402/*. Handwritten letter POST /x402/letter at $25.00 USDC. Funnel https://spark-2f53.tail8a7863.ts.net/gambit. Cheap probe GET|POST /x402/models at $0.01 USDC.

## Output

A JSON object with a 'text' field containing all text recognized in the image, and a 'model' field indicating the model used (e.g. 'glm-ocr:latest').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "prompt": {
   "type": "string"
  },
  "image_b64": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "hello",
  "model": "glm-ocr:latest"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gambit-gpu-shop-ocr-via-glm-vision-475b9e16/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from spark-2f53.tail8a7863.ts.net](https://www.zero.xyz/host/spark-2f53.tail8a7863.ts.net/llms.txt)
