post_v1_chat_completions
OPENAI-COMPATIBLE chat completions, fast tier — point any OpenAI SDK at base_url https://api.webbersites.com/v1 and pay per call in USDC instead of holding provider API keys. Models: claude-haiku-4-5 (default), gemini-2.5-flash, gemini-2.5-flash-lite, gpt-5-mini, gpt-5-nano. Caps: 16,000 input chars, 1,024 output tokens, text-only, no streaming. One flat price per call; the x402 payment IS the auth. ($0.01 per call, paid via x402)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | claude-haiku-4-5 (default), gemini-2.5-flash, gemini-2.5-flash-lite, gpt-5-mini, gpt-5-nano | |
| messages | Yes | OpenAI-style messages: [{role, content}], text content only, 16,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 |