# x402engine DeepSeek V3.2 LLM API

> x402engine DeepSeek V3.2 LLM API is a paid API for AI agents from x402engine.app, paid per call via x402, $0.003274/call, status unknown (last checked 2026-10-12).

Runs DeepSeek V3.2 chat completions with tool calling, streaming, and advanced sampling via pay-per-call micropayment on Base/Solana

## Facts

- Endpoint: POST https://x402engine.app/api/llm/deepseek-v3.2?utm_source=zero.xyz
- Price: $0.003274/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402engine-deepseek-v3-2-llm-api-af4c738b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PrFnZtcQHwS2W5S5nnV2i

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 x402engine-deepseek-v3-2-llm-api-af4c738b -d '<json body>'
```

Example prompt: Ask DeepSeek V3.2 to analyze this contract clause and tell me if there are any hidden renewal obligations: 'The agreement shall automatically renew for successive one-year terms unless either party provides written notice of termination at least 90 days prior to the expiration of the then-current term.'

## When to prefer this

Choose this endpoint when you need DeepSeek V3.2 specifically — known for strong coding, reasoning, and instruction-following at a low per-call price (~$0.003) — without a DeepSeek subscription or API key. Ideal for autonomous agents that need pay-as-you-go inference settled in USDC on Base or Solana. Prefer over OpenAI or Anthropic endpoints when cost-per-call matters more than brand familiarity, or when you want the DeepSeek model's particular reasoning style for code and technical tasks.

## Known failure modes

- Payment not settled — 402 returned if USDC/USDm balance is insufficient
- Invalid messages array — 400 if required 'role' or content/tool_calls fields are missing
- Unsupported parameter for this model — sampling params like logprobs or min_p may be silently ignored or error if model doesn't support them
- Streaming interrupted — SSE connection drops mid-generation requiring retry
- Tool schema malformed — missing 'function' key in tools array causes 400 error
- Context length exceeded — very long message arrays may exceed model's token limit

## How this service works

125 production APIs behind HTTP 402 micropayments. 87 LLMs, Kling V3 and Hailuo video generation, image generation, code execution, travel search, web scraping, TTS, and transaction simulation. Pay with USDC on Base, USDm on MegaETH, or USDC on Solana.

## Output

An OpenAI-compatible JSON response containing the assistant's message (or tool call requests), finish reason, and model identifier. When streaming is enabled, returns SSE chunks after payment settlement. The top-level 'content' field echoes the assistant's text for convenience.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "messages"
     ],
     "properties": {
      "seed": {
       "type": "integer",
       "description": "Model-supported seed; see /docs/llm-capabilities.md."
      },
      "stop": {
       "oneOf": [
        {
         "type": "string"
        },
        {
         "type": "array",
         "items": {
          "type": "string"
         },
         "maxItems": 4
        }
       ],
       "description": "Model-supported stop; see /docs/llm-capabilities.md."
      },
      "min_p": {
       "type": "number",
       "description": "Model-supported min_p; see /docs/llm-capabilities.md."
      },
      "tools": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "function"
        ],
        "properties": {
         "type": {
          "enum": [
           "function"
          ],
          "type": "string"
         },
         "function": {
          "type": "object",
          "properties": {
           "name": {
            "type": "string"
           },
           "strict": {
            "type": "boolean"
           },
           "parameters": {
            "type": "object"
           },
           "description": {
            "type": "string"
           }
          }
         }
        }
       },
       "description": "Client-executed function definitions; return results using role=tool and tool_call_id."
      },
      "top_k": {
       "type": "integer",
       "description": "Model-supported top_k; see /docs/llm-capabilities.md."
      },
      "top_p": {
       "type": "number",
       "description": "Model-supported top_p; see /docs/llm-capabilities.md."
      },
      "stream": {
       "type": "boolean",
       "description": "Return live OpenAI-compatible SSE after payment settlement."
      },
      "logprobs": {
       "type": "boolean",
       "description": "Model-supported logprobs; see /docs/llm-capabilities.md."
      },
      "messages": {
       "type": "array",
       "items": {
        "type": "object",
        "anyOf": [
         {
          "required": [
           "content"
          ]
         },
         {
          "required": [
           "tool_calls"
          ]
    
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "deepseek/deepseek-v3.2",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Hello!"
    },
    "finish_reason": "stop"
   }
  ],
  "content": "Hello!"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402engine-deepseek-v3-2-llm-api-af4c738b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402engine.app](https://www.zero.xyz/host/x402engine.app/llms.txt)
