Skip to main content
Glama

qwq chat completions

qwq_chat_completions
Read-only

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 output tokens. Costs $0.0335 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoIgnored; always qwq-32b
streamNo
messagesYes
max_tokensNo
temperatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnlyHint=true and openWorldHint=true. The description adds substantial real behavioral context: pay-per-token via x402 instead of an API key, exact input/output token pricing, per-call minimum and maximum, and the semantics of the 402 quote (max charged, 'upto' payers billed only for tokens used). This is exactly the kind of payment/quota/auth behavior annotations do not carry. It could still state rate limits or error behavior more explicitly, hence not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose, which is good, but the pricing is stated twice ('at most $0.0335' and then 'Costs $0.0335 USDC per call') and the density of pricing figures crowds out the routing information. Functional but not tight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description covers this reasonably by stating 'Same request/response shape as OpenAI (reasoning, streaming supported)', which tells the agent what to expect back. Auth, cost, and token limits are all present. A minor gap remains around error/retry behavior, keeping it short of a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 20% across 5 params, so the description has to carry weight. It does clarify that 'model' is ignored and that output is capped at 8192 tokens (relevant to max_tokens), and that streaming is supported. But temperature and the messages structure get no added meaning beyond the OpenAI-shape reference, leaving gaps the thin schema does not fill.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('OpenAI-compatible chat completions') and names the exact underlying model (Alibaba QwQ 32B) plus its niche ('step-by-step reasoning for math and logic'). This distinguishes it from generic chat tools, though in a sea of near-identical siblings (r1, qwen, deepseek, glm, etc.) it never explicitly says why you would pick this one over those.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It tells the agent how to wire it up (set the OpenAI SDK base URL to the QwQ endpoint) and implies the use case (math/logic reasoning), which is useful orientation. But there is no explicit when-to-use / when-not-to-use guidance and no routing against the many competing chat_completions siblings, so usage is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources