Skip to main content
Glama

gpt oss 20b chat completions

gpt_oss_20b_chat_completions
Read-only

OpenAI-compatible chat completions on OpenAI gpt-oss-20b open-weight reasoning model with tool calling. Set your OpenAI SDK base URL to https://agentrxi.com/v1/gpt-oss-20b and pay per token with x402 instead of an API key: $0.6 per million input and $0.9 per million output tokens, minimum $0.002 a call, at most $0.0099. 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.0099 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoIgnored; always gpt-oss-20b
toolsNoOpenAI function tools
streamNo
messagesYes
max_tokensNo
temperatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint/openWorldHint), it discloses rich behavior: pay-per-token pricing, a per-call min/max, that the 402 quotes the request maximum, that 'upto' payers are charged only for tokens used, streaming/tool-calling/reasoning support, and a 4096 output-token ceiling. This is meaningful operational context an agent would not get from annotations or schema.

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

Conciseness4/5

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

Purpose is front-loaded and the body is dense with high-value facts (endpoint, payment model, pricing, output limit). There is minor redundancy: the per-call cost appears both as the max in the pricing sentence and again in the closing 'Costs $0.0099 USDC per call' line.

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?

With no output schema, the description usefully notes the request/response shape matches OpenAI, so an agent knows what to expect. Combined with the pricing and output-token ceiling, it covers the essentials, though the sparse parameter documentation is a residual gap for a 6-parameter tool.

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 description coverage is only 33% across 6 parameters, so the description would ideally compensate. It touches some parameters indirectly (tool calling -> tools, streaming -> stream, 4096 output -> max_tokens) and notes the model is fixed, but leaves messages and temperature unexplained, so it does not fully close the coverage gap.

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?

The description states a specific verb+resource ('OpenAI-compatible chat completions') and pins the exact model ('gpt-oss-20b open-weight reasoning model with tool calling'). It is clear what the tool does, though it never explicitly contrasts itself with the many sibling chat_completions variants (gpt_oss_chat_completions, deepseek_chat_completions, etc.), leaving model differentiation to the model name alone.

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 gives concrete setup instructions (set the OpenAI SDK base URL to the given endpoint, pay with x402 instead of an API key) which is genuine usage context. However, it offers no when-to-use / when-not guidance relative to the numerous sibling model tools, so the agent gets invocation mechanics but no routing guidance.

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