Private LLM chat completion (x402 or API-key paid)
OpenAI-compatible chat completion — pass an OpenAI-style {model, messages, max_tokens} body, receive the standard {choices, usage} response. Price is per call: ceil(total message chars / 3.5) estimated input tokens × the model's input rate + max_tokens × its output rate, marked up — set max_tokens tight for tighter billing. Anonymous — no account; metering keeps token counts only.
post/v1/agent/chat
Request
- Base URL: https://livepairai.com (the document declares no server; this is the origin it was published from)
- URL: https://livepairai.com/v1/agent/chat
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
- none
Request body
Response
OpenAI chat completion — {choices:[{message:{role,content}}], usage:{prompt_tokens,completion_tokens}}
Changes
No recorded changes to this operation across all 1 revision of this API.