# DeepSeek AI Chat Completions (x402/USDC)

> DeepSeek AI Chat Completions (x402/USDC) is a paid API for AI agents from deepseek.x402.press, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-15).

Runs DeepSeek large language model inference via a pay-per-call API accepting USDC/EURC on Base or USDC on Arbitrum

## Facts

- Endpoint: POST https://deepseek.x402.press/v1/chat/completions
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/deepseek-ai-chat-completions-x402-usdc-e7a7edd1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L-4hPFOKvcRbT5-ad6G4t

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 deepseek-ai-chat-completions-x402-usdc-e7a7edd1 -d '<json body>'
```

Example prompt: Ask DeepSeek to explain the difference between proof-of-work and proof-of-stake in simple terms — pay the 0.0025 USDC fee on Base using my USDC wallet.

## When to prefer this

Choose this endpoint when you need DeepSeek LLM inference (known for strong reasoning and coding) and want to pay per-call in stablecoins (USDC/EURC on Base, USDC on Arbitrum) without a subscription or API key contract — ideal for agents that need crypto-native, pay-as-you-go AI inference compatible with the x402 payment protocol.

## Known failure modes

- Payment not received or insufficient USDC/EURC balance — 402 Payment Required returned
- Invalid or missing messages array in request body — 400 Bad Request
- Unsupported model identifier specified — 400 or 422 error
- Network congestion on Base or Arbitrum delays payment confirmation — timeout or retry needed
- Rate limit exceeded for the underlying DeepSeek inference backend — 429 Too Many Requests
- Malformed JSON body — 400 Bad Request

## How this service works

DeepSeek AI inference — pay in USDC/EURC on Base or USDC on Arbitrum

## Output

Returns a JSON object following the OpenAI chat completions format, including an assistant message with the generated text, token usage counts (prompt and completion tokens), and a finish reason indicating how the generation ended.

## 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": {
     "required": [
      "model",
      "messages"
     ],
     "properties": {
      "model": {
       "enum": [
        "deepseek-v4-flash",
        "deepseek-v4-pro"
       ],
       "type": "string",
       "description": "DeepSeek model name"
      },
      "method": {
       "type": "string",
       "const": "POST"
      },
      "messages": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "role",
         "content"
        ],
        "properties": {
         "role": {
          "enum": [
           "system",
           "user",
           "assistant"
          ],
          "type": "string"
         },
         "content": {
          "type": "string",
          "description": "Message content"
         }
        }
       },
       "description": "Chat messages in OpenAI format"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "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/deepseek-ai-chat-completions-x402-usdc-e7a7edd1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from deepseek.x402.press](https://www.zero.xyz/host/deepseek.x402.press/llms.txt)
