ai_chat_pro
LLM chat completion on larger models, flat $0.01 a call: prompt (plus optional system) or an OpenAI-style messages array in, reply text and token usage out. Models: gpt-oss-120b (default), deepseek-v4.1-flash, llama-3.3-70b, mistral-small-3.1, glm-5.3-flash. Up to 32,000 characters in and 2,048 tokens out; json=true for JSON output. Costs $0.01 USDC on Base via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | No | true asks for a single JSON object | |
| model | No | Model (default gpt-oss-120b) | |
| prompt | No | The user message (or send an OpenAI-style messages array instead) | |
| system | No | Optional system instructions | |
| max_tokens | No | Most tokens to generate, up to 2048 | |
| temperature | No | 0 to 2 (default 0.6) |