# api.x-402.online LLM Inference (DeepSeek)

> api.x-402.online LLM Inference (DeepSeek) is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Pay-per-call LLM text completion using DeepSeek v4, no account or API key required, returning up to 2000 output tokens

## Facts

- Endpoint: GET https://api.x-402.online/v1/llm
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x-402-online-llm-inference-deepseek-12cb4956
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wcp5TcqhXFqt-xCFvgwSo

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 api-x-402-online-llm-inference-deepseek-12cb4956
```

Example prompt: Send this prompt to the DeepSeek LLM and give me back the completion: 'Explain the concept of quantum entanglement in simple terms' — use a system prompt that says 'You are a helpful science educator' and limit output to 500 tokens.

## When to prefer this

Choose this endpoint when you need quick, cheap, anonymous LLM inference (DeepSeek v4) without setting up an account or API key — ideal for one-off queries, agents that pay per call via x402/USDC micropayments, or situations where you want to avoid managing credentials. Best for short-to-medium completions up to 2000 tokens.

## Known failure modes

- Payment not received or underpaid — 402 Payment Required returned
- Prompt missing from body — validation error
- max_tokens exceeds 2000 — capped or rejected
- Model unavailable or overloaded — 503 or timeout
- Malformed JSON body — 400 Bad Request

## How this service works

LLM inference pay-per-call, no account: prompt in, completion out (fast frontier-lab mini model, up to 2000 output tokens). Body: {prompt, system?, max_tokens?}

## Output

A text completion generated by DeepSeek v4, up to 2000 tokens, returned as the LLM's response to the provided prompt and optional system message.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x-402-online-llm-inference-deepseek-12cb4956/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
