# Citiview DeepSeek R1 Distill Chat Completions

> Citiview DeepSeek R1 Distill Chat Completions is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.022013/call, status unknown (last checked 2026-10-19).

Runs OpenAI-compatible chat completions on DeepSeek R1 Distill (Qwen 32B), a chain-of-thought reasoning model, billed per token via x402 micropayment instead of an API key.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/r1/chat/completions?utm_source=zero.xyz
- Price: $0.022013/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-deepseek-r1-distill-chat-completions-682e579c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P3LuY_3fG918_7M_vrCIh

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 citiview-deepseek-r1-distill-chat-completions-682e579c
```

Example prompt: Ask the DeepSeek R1 reasoning model: 'A train leaves Chicago at 9am traveling at 80mph toward New York, 800 miles away. Another train leaves New York at 10am at 100mph. At what time do they meet?' — use chain-of-thought reasoning and return the full explanation.

## When to prefer this

Choose this endpoint when you need OpenAI-SDK-compatible chat completions from a chain-of-thought reasoning model (DeepSeek R1 Distill 32B) without managing a monthly API subscription — especially in agentic pipelines that already use x402 micropayments. It is ideal for pay-as-you-go reasoning tasks, math, logic, and multi-step problems where a smaller, cheaper model is insufficient. Prefer it over standard OpenAI endpoints when cost transparency per call matters or when you want reasoning traces at a competitive per-token rate.

## Known failure modes

- Insufficient x402 payment leads to 402 Payment Required with a payment quote
- Prompt too long for context window returns a token limit error
- Invalid or malformed prompt parameter causes a 400 Bad Request
- Model overload or timeout may result in 503 or empty completion
- temperature or max_tokens out of valid range may cause a parameter validation error

## How this service works

OpenAI-compatible chat completions on DeepSeek R1 Distill (Qwen 32B), chain-of-thought reasoning model. Set your OpenAI SDK base URL to https://agents.citiviewgroup.com/v1/r1 and pay per token with x402 instead of an API key: $0.994 per million input and $9.762 per million output tokens, minimum $0.002 a call, at most $0.1084. The 402 quotes your request's maximum; "upto" payers are charged only the tokens used. Same request/response shape as OpenAI (reasoning, streaming supp

## Output

Returns an OpenAI-format chat completion JSON object with the assistant's message content (including chain-of-thought reasoning), finish reason, model name ('deepseek-r1-distill-32b'), and token usage breakdown (prompt tokens, completion tokens, total tokens). Streaming is supported.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "User message"
      },
      "system": {
       "type": "string",
       "description": "Optional system message"
      },
      "max_tokens": {
       "type": "integer"
      },
      "temperature": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-...",
  "model": "deepseek-r1-distill-32b",
  "usage": {
   "total_tokens": 18,
   "prompt_tokens": 14,
   "completion_tokens": 4
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Bonjour !"
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/citiview-deepseek-r1-distill-chat-completions-682e579c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
