Chat completion
chat_completionGroq chat completion. Authorize the published maximum with x402 upto. After a valid result the server settles the larger of the model floor ($0.02 on gpt-oss-20b, $0.05 on gpt-oss-120b) and actual tokens plus markup, never more than the authorization. Failed or empty results are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"messages": "<messages>"
},
"name": "chat_completion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| messages | Yes |