{"uid":"cap_FC7wtfmNHlqY2MKwnfpCn","slug":"agentrxi-qwq-32b-chat-completions-888decb8","name":"AgentRXI QwQ 32B Chat Completions","description":"OpenAI-compatible chat completions on Alibaba QwQ 32B, step-by-step reasoning for math and logic. Set your OpenAI SDK base URL to https://agentrxi.com/v1/qwq and pay per token with x402 instead of an API key: $1.32 per million input and $2 per million output tokens, minimum $0.002 a call, at most $0.0335. 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 out","url":"https://agentrxi.com/v1/qwq/chat/completions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-...","model":"qwq-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"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006123","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.006123/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006123","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006123","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FtHun6Qb8mz6yKZrw9wxR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006123","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs OpenAI-compatible chat completions using Alibaba QwQ 32B, a model specializing in step-by-step math and logic reasoning, billed per token via x402 micropayments.","exampleAgentPrompt":"Using QwQ 32B, work through this step by step: if a train travels 120 miles in 1.5 hours and then 80 miles in 45 minutes, what is its average speed for the whole journey? Keep the response under 300 tokens.","exampleUseCases":[{"title":"Step-by-step math problem solving","prompt":"Can you use the QwQ reasoning model to solve this probability problem step by step: in a bag of 5 red and 3 blue marbles, what is the probability of drawing 2 red marbles in a row without replacement?"},{"title":"Logic puzzle chain-of-thought","prompt":"Use QwQ 32B to think through this logic puzzle carefully: Alice, Bob, and Carol each have a different pet — a cat, a dog, and a fish. Alice doesn't have the cat. Bob doesn't have the dog. Who has what?"},{"title":"Code debugging with reasoning","prompt":"Ask the QwQ reasoning model to figure out why this Python function returns the wrong output and explain its reasoning: def sum_list(lst): total = 0; for i in range(len(lst)): total += lst[i+1]; return total"}],"resultDescription":"Returns an OpenAI-compatible chat completion JSON object containing the assistant's message (including step-by-step reasoning if applicable), finish reason, model identifier (qwq-32b), and token usage counts (prompt, completion, total). Supports streaming and reasoning output modes up to 8192 output tokens.","failureModes":["Prompt exceeds context window — response truncated or error returned","Insufficient x402 payment budget for the request size — call rejected before inference","max_tokens set too low — response cut off mid-reasoning","Temperature out of valid range — parameter rejected","Model unavailable or overloaded — 5xx error returned"],"whenToPreferThis":"Choose this endpoint when you need a model with strong chain-of-thought and multi-step mathematical or logical reasoning capabilities, prefer pay-per-token pricing via x402 micropayments over subscription API keys, and want OpenAI SDK compatibility without changing request/response shape. Ideal for agentic workflows where reasoning trace quality matters more than raw speed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:04.549Z","isFirstParty":false,"canonicalSlug":"agentrxi-qwq-32b-chat-completions-888decb8"}