Skip to main content
Glama

qwen chat completions

qwen_chat_completions
Read-only

OpenAI-compatible chat completions on Alibaba Qwen3 30B mixture-of-experts, thinking model with tool calling, the cheapest chat here. Set your OpenAI SDK base URL to https://agentrxi.com/v1/qwen and pay per token with x402 instead of an API key: $0.153 per million input and $1.005 per million output tokens, minimum $0.002 a call, at most $0.0072. The 402 quotes your request's maximum; "upto" payers are charged only the tokens used. Same request/response shape as OpenAI (tool calling, reasoning, streaming supported), up to 4096 output tokens. Costs $0.0072 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoIgnored; always qwen3-30b-a3b
toolsNoOpenAI function tools
streamNo
messagesYes
max_tokensNo
temperatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint/openWorldHint, so the description carries the real behavioral load and delivers it: x402 pay-per-token instead of an API key, base URL, per-million input/output pricing, a $0.002–$0.0072 per-call band, the 'upto' payer semantics, and a 4096 output-token ceiling. That is substantial context an agent cannot get from structured fields.

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?

It front-loads what the tool is, which is good, but the pricing is restated ('minimum $0.002 a call, at most $0.0072' then again 'Costs $0.0072 USDC per call') and the payment mechanics are spread across several clauses that could be tightened.

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?

For a chat-completion endpoint with no output schema, the description supplies the model identity, payment model, capability set, and token limit an agent needs. The only real gap is undocumented generation parameters (temperature, messages), which is minor given the OpenAI-compatibility claim.

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 33% (model and tools documented; stream, messages, max_tokens, temperature bare). The description partially compensates by confirming tool calling, reasoning and streaming support, and by stating 'up to 4096 output tokens' (max_tokens), but it says nothing about temperature or the messages shape.

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+resource (OpenAI-compatible chat completions) tied to a named model (Qwen3 30B MoE) and flags its positioning as 'the cheapest chat here.' That gives an agent a routing hook among the many *_chat_completions siblings, though it doesn't sharply differentiate against each of them.

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?

'The cheapest chat here' implies a cost-driven selection cue, and the OpenAI-compatible framing implies familiarity, but there is no explicit when-to-use or when-not-to-use rule versus alternatives like chat_completions, glm_chat_completions, or the other model variants. Usage must be inferred.

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