chat completions
chat_completionsOpenAI-compatible chat completions on Meta Llama 3.1 8B, fast general chat. Set your OpenAI SDK base URL to https://agentrxi.com/v1 and pay per token with x402 instead of an API key: $0.135 per million input and $1.152 per million output tokens, minimum $0.002 a call, at most $0.0053. 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 2048 output tokens. Pass model to use any model listed at /v1/models (priced per that model). Costs $0.0053 USDC per call (x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional: llama-3.1-8b-instruct (default), qwen3-30b-a3b, gemma-4-26b, glm-4.7-flash, gpt-oss-20b or mistral-small-3.1-24b | |
| stream | No | ||
| messages | Yes | ||
| max_tokens | No | ||
| temperature | No |