Generate a chat completion with Llama 3.3 70B
chatLLM chat completion with Llama 3.3 70B (fast): send messages or a prompt, up to 1,024 output tokens. Price: $0.004 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | A single user message (use this or messages), up to 24,000 characters | |
| messages | No | Chat history as [{role: system|user|assistant, content}], up to 50 messages | |
| max_tokens | No | Up to 1024 (default 1024) | |
| temperature | No | 0 to 2, default 0.6; lower is more predictable |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| usage | No | ||
| response | No |