Inference

OPENAI-COMPATIBLE chat completions, fast tier — point any OpenAI SDK at base_url https://api.webbersites.com/v1 and pay

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.

Price: $0.01 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

post/v1/chat/completions

Request

  • Base URL: https://api.webbersites.com
  • URL: https://api.webbersites.com/v1/chat/completions
  • Auth: API key in header X-PAYMENT

Request body

modelstring

claude-haiku-4-5 (default), gemini-2.5-flash, gemini-2.5-flash-lite, gpt-5-mini, gpt-5-nano

max_tokensnumber

output cap, clamped to 1,024

Response

Success

usageobject

Changes

No recorded changes to this operation across all 1 revision of this API.