Inference

LLM INFERENCE for keyless agents — POST {prompt, system?} and get Claude Haiku's answer

LLM INFERENCE for keyless agents — POST {prompt, system?} and get Claude Haiku's answer: summarize, classify, extract, rewrite, translate, draft. No API key, no account, no subscription — the x402 payment IS the auth. One flat price per call. Caps: 8,000-char prompt, 2,000-char system, ~1,000-token response (stop_reason tells you if you hit it). Powered by Claude Haiku 4.5.

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

post/api/llm

Request

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

Request body

promptstring required

The task/question, up to 8,000 chars

systemstring

Optional system prompt (persona, format rules), up to 2,000 chars

Response

Success

responsestring

the model's answer

modelstring
stop_reasonstring

end_turn, or max_tokens if the 1,000-token cap was hit

usageobject

Changes

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