r1 chat completions
r1_chat_completionsOpenAI-compatible chat completions on DeepSeek R1 Distill (Qwen 32B), chain-of-thought reasoning model. Set your OpenAI SDK base URL to https://agentrxi.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.1104. The 402 quotes your request's maximum; "upto" payers are charged only the tokens used. Same request/response shape as OpenAI (reasoning, streaming supported), up to 8192 output tokens. Costs $0.1104 USDC per call (x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"messages": "<messages>"
},
"name": "r1_chat_completions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Ignored; always deepseek-r1-distill-32b | |
| stream | No | ||
| messages | Yes | ||
| max_tokens | No | ||
| temperature | No |