# x402engine DeepSeek V4 Pro LLM API

> x402engine DeepSeek V4 Pro LLM API is a paid API for AI agents from x402engine.app, paid per call via x402, $0.00705/call, status unknown (last checked 2026-10-16).

Runs inference on DeepSeek V4 Pro via a pay-per-call HTTP 402 micropayment endpoint, returning OpenAI-compatible chat completions

## Facts

- Endpoint: POST https://x402engine.app/api/llm/deepseek-v4-pro?utm_source=zero.xyz
- Price: $0.00705/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402engine-deepseek-v4-pro-llm-api-24c9dbda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NmdY87KLQiE2Pd6lzCTal

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-v4-pro-llm-api-24c9dbda -d '<json body>'
```

Example prompt: Ask DeepSeek V4 Pro to analyze the following contract clause and identify any unusual liability terms: 'The licensee shall indemnify the licensor against any and all claims arising from use of the software, including indirect and consequential damages with no cap on liability.'

## When to prefer this

Choose this endpoint when you need DeepSeek V4 Pro specifically (known for strong reasoning and coding), want pay-per-call pricing without a monthly subscription, are building an autonomous agent that needs crypto-native micropayment infrastructure (USDC on Base/Solana or USDm on MegaETH), or require OpenAI-compatible response format with function/tool calling support. Prefer alternatives if you need image, video, or audio generation, or if you want a different LLM provider.

## Known failure modes

- Payment not settled — 402 response if USDC/USDm balance is insufficient
- Invalid messages array format — 400 validation error if required fields missing
- Model context length exceeded — truncation or error if messages exceed token limit
- Tool call format errors — malformed function definitions cause 400 errors
- Streaming connection drop — partial SSE stream if network interrupts mid-generation

## How this service works

x402engine — DeepSeek's stronger V4 model — advanced reasoning, coding, and long-context analysis

## Output

Returns an OpenAI-compatible JSON object containing the model name ('deepseek/deepseek-v4-pro'), a choices array with the assistant message (role, content, tool_calls if any), finish_reason, and a convenience top-level 'content' field. When streaming is enabled, returns SSE tokens in OpenAI-compatible format.

## 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-v4-pro",
  "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-v4-pro-llm-api-24c9dbda/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)
