Skip to main content
Glama

llama1b chat completions

llama1b_chat_completions
Read-only

OpenAI-compatible chat completions on Meta Llama 3.2 1B, the smallest and cheapest model here, for routing, tagging and quick rewrites (60K context). Set your OpenAI SDK base URL to https://agentrxi.com/v1/llama1b and pay per token with x402 instead of an API key: $0.081 per million input and $0.603 per million output tokens, minimum $0.002 a call, at most $0.0059. The 402 quotes your request's maximum; "upto" payers are charged only the tokens used. Same request/response shape as OpenAI (streaming supported), up to 4096 output tokens. Costs $0.0059 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoIgnored; always llama-3.2-1b-instruct
streamNo
messagesYes
max_tokensNo
temperatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover read-only/open-world safety, but the description adds substantial behavior: x402 pay-per-token instead of API key, the 402 quoting the request maximum, 'upto' payers charged only for tokens used, a per-call cost cap, streaming support, and a 4096 output-token limit. This is real operational context an agent needs before calling.

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?

Front-loaded with purpose and use cases before pricing mechanics, and every sentence carries information. Slight redundancy: the per-call cost is stated twice ('at most $0.0059' and 'Costs $0.0059 USDC per call').

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 compensates by stating the response shape mirrors OpenAI, and it covers pricing, payment flow, and token limits. An agent has enough to call it correctly, though temperature/messages semantics rely on the OpenAI convention.

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

Parameters4/5

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

Schema coverage is low (20%), so the description must compensate, and it does: it clarifies 'model' is ignored, that streaming is supported, that output is capped at 4096 tokens, and that the request/response shape matches OpenAI. Temperature and the messages array structure are left to the OpenAI-compatibility convention rather than stated explicitly.

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

Purpose5/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 on Meta Llama 3.2 1B) and immediately positions it among siblings as 'the smallest and cheapest model here.' The stated use cases (routing, tagging, quick rewrites) let an agent tell it apart from the many larger chat_completions siblings without opening schemas.

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

Usage Guidelines4/5

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

Gives clear intended contexts (routing, tagging, quick rewrites) and a comparative signal (smallest/cheapest) that implies when to pick it over larger models. It stops short of explicitly naming a sibling alternative or stating when NOT to use it (e.g. complex reasoning).

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