# AI Chat & Text (onchaincheck.dev)

> AI Chat & Text (onchaincheck.dev) is a paid API for AI agents from onchaincheck.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-17).

LLM chat completion via multiple large models (GPT, DeepSeek, LLaMA, Mistral, GLM) at a flat $0.01 per call, returning reply text and token usage

## Facts

- Endpoint: POST https://onchaincheck.dev/ai/chat-pro?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ai-chat-text-onchaincheck-dev-352b6e02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZSSKIBtxIB_ZLBqIgbyZX

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 ai-chat-text-onchaincheck-dev-352b6e02 -d '<json body>'
```

Example prompt: Using the gpt-oss-120b model, answer the following with a system prompt of 'You are a concise assistant': What are the top three benefits of decentralized finance? Keep the reply under 200 words.

## When to prefer this

Choose this endpoint when you need pay-per-call LLM access without a monthly subscription, especially inside agentic workflows or micropayment-enabled pipelines using x402. It offers model variety (GPT-class, DeepSeek, LLaMA, Mistral, GLM) at a flat $0.01 per call, making it cost-predictable for high-frequency agent loops. Prefer it over OpenAI direct when you want on-chain payment compatibility or want to switch between model families without managing multiple API keys.

## Known failure modes

- Prompt or system message exceeds 32,000 characters — request rejected
- max_tokens value exceeds 2048 — capped or rejected
- Invalid model name in enum — validation error
- Malformed messages array structure — parsing error
- Payment not received or x402 flow fails — 402 response, no completion returned
- Temperature value outside 0–2 range — validation error
- Network timeout on slow model inference — partial or no response

## How this service works

LLM chat completion on larger models, flat $0.01 a call: prompt (plus optional system) or an OpenAI-style messages array in, reply text and token usage out. Models: gpt-oss-120b (default), deepseek-v4.1-flash, llama-3.3-70b, mistral-small-3.1, glm-5.3-flash. Up to 32,000 characters in and 2,048 tokens out; json=true for JSON output.

## Output

Returns the generated reply text from the selected LLM, plus token usage counts (prompt tokens, completion tokens, total tokens). If json=true is set, the reply is a single parsed JSON object. Response also indicates which model was used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "json": {
   "enum": [
    "true",
    "false"
   ],
   "type": "string",
   "description": "true asks for a single JSON object"
  },
  "model": {
   "enum": [
    "gpt-oss-120b",
    "deepseek-v4.1-flash",
    "llama-3.3-70b",
    "mistral-small-3.1"
   ],
   "type": "string",
   "description": "Model (default gpt-oss-120b)"
  },
  "prompt": {
   "type": "string",
   "pattern": "^[\\s\\S]+$",
   "maxLength": 32000,
   "description": "The user message (or send an OpenAI-style messages array instead)"
  },
  "system": {
   "type": "string",
   "pattern": "^[\\s\\S]*$",
   "maxLength": 32000,
   "description": "Optional system instructions"
  },
  "max_tokens": {
   "type": "string",
   "pattern": "^\\d{1,4}$",
   "description": "Most tokens to generate, up to 2048"
  },
  "temperature": {
   "type": "string",
   "pattern": "^\\d(\\.\\d+)?$",
   "description": "0 to 2 (default 0.6)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ai-chat-text-onchaincheck-dev-352b6e02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchaincheck.dev](https://www.zero.xyz/host/onchaincheck.dev/llms.txt)
