# FarOut DeepSeek V4 Pro Chat Completions (x402)

> FarOut DeepSeek V4 Pro Chat Completions (x402) is a paid API for AI agents from farouter.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Runs DeepSeek V4 Pro chat/reasoning inference via a pay-per-call API using USDC on Base — no API key or prepaid balance required.

## Facts

- Endpoint: POST https://farouter.tech/v1/models/deepseek-v4-pro/chat/completions
- 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/farout-deepseek-v4-pro-chat-completions-x402-6ac5010f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bcb3PqKj3iSfogOc25TiJ

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 farout-deepseek-v4-pro-chat-completions-x402-6ac5010f -d '<json body>'
```

Example prompt: Ask DeepSeek V4 Pro to write a Python function that sorts a list of dictionaries by a given key, with a max output of 512 tokens — and pay for it with USDC on Base, no API key needed.

## When to prefer this

Choose this endpoint when you need DeepSeek V4 Pro specifically for deep reasoning or coding tasks and want true pay-per-call billing in USDC with no API key, no account, and no prepaid credits — ideal for autonomous agents or scripts that must operate without pre-registered credentials.

## Known failure modes

- Insufficient USDC balance or failed x402 payment — returns 402 Payment Required
- Invalid or unsupported model ID — returns 400 Bad Request
- messages array is empty or malformed — returns 400 validation error
- max_tokens or max_completion_tokens set too low for the requested output — truncated response with finish_reason=length
- Network timeout on long reasoning outputs — connection dropped mid-stream when streaming is enabled

## How this service works

Fixed-price chat completions for deepseek-v4-pro on FarOut: flat $0.002 per call (includes up to 4,000 input + 1,000 output tokens). Rate: $0.037/1M input tokens, $0.111/1M output tokens. Pay with USDC on Base using x402. No API key, no account, no prepaid balance.

## Output

Returns an OpenAI-compatible JSON response with a choices array containing the assistant's message content and finish_reason, plus a usage object with prompt_tokens and completion_tokens counts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Model id from GET /v1/models, e.g. glm-5.3. No provider prefix."
  },
  "stream": {
   "type": "boolean",
   "description": "SSE streaming."
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "developer",
       "user",
       "assistant",
       "tool"
      ],
      "type": "string"
     },
     "content": {}
    },
    "additionalProperties": true
   },
   "minItems": 1,
   "description": "Chat messages, [OI]-compatible {role, content}."
  },
  "max_tokens": {
   "type": "integer",
   "minimum": 1,
   "description": "Output token budget. Sets your spending cap; actual usage is what gets settled (true-up)."
  },
  "temperature": {
   "type": "number",
   "maximum": 2,
   "minimum": 0,
   "description": "Sampling temperature."
  },
  "max_completion_tokens": {
   "type": "integer",
   "minimum": 1,
   "description": "Alias of max_tokens (gpt-5.x models)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "usage": {
   "prompt_tokens": 6,
   "completion_tokens": 8
  },
  "choices": [
   {
    "message": {
     "role": "assistant",
     "content": "Hello! How can I help?"
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/farout-deepseek-v4-pro-chat-completions-x402-6ac5010f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from farouter.tech](https://www.zero.xyz/host/farouter.tech/llms.txt)
