# GEDX402 Chat Micro (IBM Granite 4.0)

> GEDX402 Chat Micro (IBM Granite 4.0) is a paid API for AI agents from chat.gedx402.com, paid per call via x402, $0.0035/call, status unknown (last checked 2026-09-15).

Runs a chat completion request against IBM Granite 4.0 micro model via Cloudflare Workers AI, paid per-call with USDC on-chain — no API keys required.

## Facts

- Endpoint: GET https://chat.gedx402.com/v1/chat/micro
- Price: $0.0035/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-chat-micro-ibm-granite-4-0-9518a109
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pn4ZDfqewTTLfAr9BBOD-

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 gedx402-chat-micro-ibm-granite-4-0-9518a109
```

Example prompt: Ask the Granite 4.0 micro model 'What are three concise tips for writing clean Python code?' — keep the reply under 200 tokens and pay per-call with USDC, no API key needed.

## When to prefer this

Choose this endpoint when you need a lightweight, keyless LLM chat completion paid per-call with USDC on Base, Polygon, Arbitrum, World, or Solana — ideal for agents that lack API key management infrastructure or want pay-as-you-go crypto-native AI access at sub-cent cost ($0.0035 per call).

## Known failure modes

- Insufficient USDC balance or failed on-chain payment results in HTTP 402 Payment Required
- Invalid messages array (missing role or content fields) causes a 400 Bad Request
- max_tokens exceeding 4096 triggers a validation error
- Network or Workers AI backend unavailability returns a 5xx error
- Unsupported blockchain network specified for payment causes payment rejection

## How this service works

Compact chat on Granite 4.0 H Micro (@cf/ibm-granite/granite-4.0-h-micro). Lowest floor cost for simple agent loops and classification-style prompts.

## Output

A JSON object containing the model identifier (@cf/ibm-granite/granite-4.0-h-micro) and the generated assistant reply text (response field).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "messages": {
   "type": "array",
   "items": {
    "type": "object"
   }
  },
  "max_tokens": {
   "type": "integer"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-chat-micro-ibm-granite-4-0-9518a109/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.gedx402.com](https://www.zero.xyz/host/chat.gedx402.com/llms.txt)
