post_v1_pro_chat_completions
OPENAI-COMPATIBLE chat completions, PRO tier — frontier models at one flat price, no API key, no account: gpt-5.2 (default), gpt-5.5, claude-sonnet-5, gemini-3.1-pro, gemini-3.5-flash. Same dialect as OpenAI — base_url https://api.webbersites.com/v1/pro works with any OpenAI SDK. Caps: 24,000 input chars, 1,024 output tokens, text-only, no streaming. The x402 payment IS the auth. ($0.05 per call, paid via x402)
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": "post_v1_pro_chat_completions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | gpt-5.2 (default), gpt-5.5, claude-sonnet-5, gemini-3.1-pro, gemini-3.5-flash | |
| messages | Yes | OpenAI-style messages: [{role, content}], text content only, 24,000 chars total | |
| max_tokens | No | output cap, clamped to 1,024 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | No | ||
| choices | No | OpenAI-shape choices; the answer is choices[0].message.content |