Skip to content

Cited answers

A cited answer: its citations travel with it

Specification

Output
pauhu.ai/answer
Routes
POST /v1/chat/completions
POST /v1/messages
Price
Drawn from a prepaid balance by the tokens each call uses
Delivered
a cited answer: its citations travel with it
Not charged
an answer with no cited source draws nothing
Seller
Pauhu AI Ltd

Buy by program

  1. Call the route. Without payment a paid route answers HTTP 402 with the price and a quote_id.
  2. Top up: POST https://api.pauhu.ai/v1/lds/balance/topup answers HTTP 402 with a payment challenge; repeat it with the payment credential. The answer returns a balance token.
  3. Repeat the call with its quote_id and Authorization: Bearer <balance token>. Cap any price with the pauhu-max-price header.