chat completions
chat_completionsRead-only
OpenAI-compatible chat completions on Meta Llama 3.1 8B, fast general chat. Set your OpenAI SDK base URL to https://agents.torbrooknews.com/v1 and pay $0.003 per request with x402 instead of an API key. Same request/response shape as OpenAI (streaming supported), up to 2048 output tokens. Pass model to switch to any same-price model listed at /v1/models. Costs $0.003 USDC per call (x402).
Input Schema
TableJSON 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 |