# x402.freeq.one LLM Chat

> x402.freeq.one LLM Chat is a paid API for AI agents from x402.freeq.one, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Chat with a language model via an OpenAI-compatible /v1/chat/completions interface supporting 50+ models, paid per-call in USDC on Base via x402

## Facts

- Endpoint: POST https://x402.freeq.one/tools/llm_chat
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-freeq-one-llm-chat-94a1e5b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_18OiemmOH8vY6W9oUlcDZ

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 x402-freeq-one-llm-chat-94a1e5b0 -d '<json body>'
```

Example prompt: Send a chat message to a language model — use the 'auto' free tier model — asking it to summarize the following text: 'Artificial intelligence is transforming industries worldwide by automating complex tasks and enabling new forms of creativity.'

## When to prefer this

Choose this endpoint when you need OpenAI-compatible LLM access with per-call micropayment billing in USDC rather than a monthly subscription, especially if you want to dynamically switch between 50+ models (free eco/auto tiers or paid premium models like GPT-5 or Claude Opus) within the same API interface. Ideal for autonomous agents that need to pay programmatically on Base without managing API keys for multiple providers.

## Known failure modes

- Insufficient USDC balance on Base wallet — payment rejected by x402 gateway
- Unsupported model name — returns 400 or model-not-found error
- Malformed messages array — returns 422 validation error
- Rate limit exceeded for the selected model tier
- Network timeout for long-running premium model completions
- Model temporarily unavailable — returns 503 or fallback error

## How this service works

LLM Chat: Chat with a language model. OpenAI-compatible /v1/chat/completions interface. Supports 50+ models. Free models (auto, eco, premium) are $0 — paid models (gpt-5.2, claude-opus-5, deepseek-v4-pro, ...) are charged at cost. See /tools/llm_chat/models for the full model list and rates. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/llm_chat.

## Output

Returns an OpenAI-compatible chat completion object containing the assistant's message content, finish reason, model used, and token usage statistics (prompt tokens, completion tokens, total tokens).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Model ID. Examples: auto/eco/premium (free, $0.002), openai/gpt-5.2, anthropic/claude-opus-5, google/gemini-3.1-pro, deepseek/deepseek-v4-pro. Short names accepted (gpt-5.2, claude-opus-5). See /tools for full list."
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "role": {
      "enum": [
       "system",
       "user",
       "assistant"
      ],
      "type": "string",
      "description": "Message role"
     },
     "content": {
      "type": "string",
      "description": "Message text content"
     }
    }
   },
   "description": "Conversation messages array"
  },
  "max_tokens": {
   "type": "integer",
   "description": "Maximum tokens to generate (default 1024, max 4096). Lower values reduce cost for paid models."
  },
  "temperature": {
   "type": "number",
   "description": "Sampling temperature 0-2 (default 0.7)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-freeq-one-llm-chat-94a1e5b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.freeq.one](https://www.zero.xyz/host/x402.freeq.one/llms.txt)
