ai

Ask several frontier models the same question and get one...

Ask several frontier models the same question and get one synthesized answer. Choose a preset council — fast (3 quick models), balanced (3 strong models with a peer-refine round), or deep (5 models plus refine) — or supply your own set of 2–8 models. A chairman model merges the responses into a single consensus with a confidence score and any points of dissent, and each member’s individual answer is returned alongside. Price scales with the council size and answer length, and is quoted up front in the 402. Models auto-resolve to their latest available version; any unavailable model simply drops out (at least 2 are needed). Billing: payment settles before this endpoint runs (paid upstream), so an error after settlement IS charged — the error response then carries the payment receipt (PAYMENT-RESPONSE) and X-2s-Charged: true. upto-scheme payments settle only after success.

post/api/ai/council

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/ai/council
  • Auth: API key in header PAYMENT-SIGNATURE

Request body

promptstring required

The question to put to the council.

mode'fast' | 'balanced' | 'deep'

Preset council. Default balanced. Ignored if models is given.

modelsstring[]

Custom council of 2–8 gateway model ids, e.g. ["openai/gpt-5","anthropic/claude-opus","google/gemini-3-pro"] (overrides mode). Full selectable list + live prices: GET /api/ai/council/menu.

maxTokensinteger

Max output tokens per model. Default 640.

Response

(unresolved $ref)

Changes

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