# Synero API > Ask up to four leading AI models (ChatGPT, Claude, Gemini, Grok) the same question and get one consensus answer plus an agreement analysis. Synero sends your prompt to the models you pick (one per provider). With one model it is a normal chat; with two or more you get a consensus answer and exactly where the models agree and disagree, named by model. Legacy API callers can still run the four-persona council via config. ## Pricing - **Free trial:** New accounts get 3 free queries on the Council preset's models (Deep, model choice and web search need credit), no card required. - **Credit packs ($5, $10, $25):** pay as you go, no subscription. Billed by tokens used, all 22 models across 4 providers. - **Pro ($10/month):** $10 in monthly credits included, all 22 models across 4 providers. ## API Endpoint POST https://synero.ai/api/query ## Authentication Use a Bearer token in the Authorization header: Authorization: Bearer sk_live_your_key_here Get your API key at: https://synero.ai/app/api-keys ## Quick Start curl -X POST https://synero.ai/api/query \ -H "Authorization: Bearer sk_live_your_key_here" \ -H "Content-Type: application/json" \ -d '{"prompt": "What are the trade-offs between microservices and monoliths?"}' The response is a server-sent events (SSE) stream. ## Request Body (JSON) - prompt (string, required): The question to ask the council. Max 10,000 characters. - models (array of ModelId, optional): 1 to 4 model ids, at most one per provider (openai, anthropic, google, xai); each provider rides a fixed slot and gets a neutral system prompt, the same as the web chat. Takes the place of config, and combines with template (only the template's synthesis instructions then apply). - preset (string, optional): "solo" (1 model), "duel" (2), "council" (up to 4, balanced for speed) or "deep" (up to 4 flagship models), or "auto". Without models, the preset's default models run; with models, the count must fit the preset (auto with models: the models run as given). auto lets Synero pick the preset and models for the question (a fast classifier, usually under a second): solo for simple questions, duel when some judgment is involved, council when experts would disagree, deep when the stakes are high; Grok joins questions about what people are posting on X. The pick is reported as autoRouted, preset and routeReason in council-meta (and the JSON response); if the classifier is unavailable, council runs and preset is absent (also absent on free trial queries, which run the trial council). With neither models nor preset, the legacy auto-sized council below runs. - web_search (boolean, optional): Let each model search the web before answering. Omit it and search turns on automatically for time-sensitive questions (news, prices, "latest", this or last year, a URL), reported as webSearchAuto; true forces it on, false forces it off. Slower and adds search fees. - config (object, optional, legacy persona council): Customize which model powers each advisor. Ignored when models or preset is sent. - advisorModels (object): Map of slot ID to model ID. - architect: ModelId (default: "gpt-5.6-terra") - philosopher: ModelId (default: "claude-sonnet-5-5") - explorer: ModelId (default: "gemini-3.8-flash") - maverick: ModelId (default: "grok-4.5") - synthesizerModel: ModelId (default: "grok-4.5") - councilTier (string, optional): "low" | "medium" | "high" | "custom" | "auto" | "instant". With "auto" (the default), the server routes each question to instant/low/medium/high before running; the resolved tier arrives in the council-meta SSE event (or councilTier in the JSON response). With "auto" or "instant", sending advisorModels or synthesizerModel runs a custom council with those models instead. "instant" skips the council: one fast model answers directly, no synthesis (cheapest and fastest, for trivial questions). Recorded on the saved query for analytics. Programmatic clients can use this as a per-query override (does not affect the user's persisted preference). - thread_id / threadId (string, optional): UUID that groups queries in the history. A follow-up inherits its parent's thread (a thread_id sent with parent_query_id is ignored), or starts one keyed by the parent's queryId when the parent has none. A thread_id sent without parent_query_id files the query as the newest turn of that thread (one chat in history); conversation context still comes only from parent_query_id or threadHistory. - parent_query_id / parentQueryId (string, optional): The queryId of one of your earlier queries. When threadHistory is not sent, the server rebuilds the conversation from the parent chain (your queries only; 404 parent_not_found otherwise), so a follow-up needs just this id. Must be a UUID (400 invalid_parent_query_id); thread_id / threadId must be a UUID too (400 invalid_thread_id). - threadHistory (array, optional): Previous prompt/synthesis pairs for context. Only the last 10 entries are used (the last 2 on free-trial queries), each prompt and synthesis truncated to 8,000 characters; malformed entries are dropped. - context (array, optional): Attach documents or images as context for the council. Each item: { name: string, content: string, type?: "file"|"text"|"image" } Text: max 50k chars per item, 100k total (.md, .txt, .csv, .json). At most 20 items, each name at most 300 characters. Images: content is a base64 data URL (png, jpeg, webp, gif), max 3 images, 5MB each. Sent to every advisor as multimodal input. - template (string, optional): Use a built-in council template by slug (e.g. "code-review", "due-diligence", "deep-research"). Templates configure specialized advisor personas and synthesis instructions (API only; the web chat applies only a template's question and synthesis instructions). - format (string, optional): "json" returns structured JSON (ideal for agents). Default is SSE stream. A JSON run still going after about 60s answers 200 and sends newlines (valid leading JSON whitespace) until the object; a failure after that arrives in the body as { error, code, doc_url }, so check for code. Prefer SSE for deep or web_search runs. - synthesis (boolean, optional, default true): Set false to skip the server-side synthesizer and receive only the advisor responses (synthesis is null in the JSON response). For agent callers that reconcile the advisors themselves: cuts latency roughly in half and saves the synthesis token cost. If a requested synthesis fails (for example, the synthesizer refuses the prompt), synthesis is also null and the JSON response adds synthesisError with the reason; the advisor responses are still returned. JSON responses also carry consensus (the agreement analysis described under the consensus SSE event), or null when it was not graded or grading failed. JSON responses wait for the grade (about 4s, up to 20s), also when synthesis is false. - private (boolean, optional): When true, the query is not saved to history (queryId is null in the JSON response). It is billed like any other query. - synthesisInstructions (string, optional, max 10,000 characters): Custom instructions for the synthesis step. Not a string, or longer, is 400 invalid_synthesis_instructions. ## SSE Response Events The response streams these event types. Each event is one "data: " line whose JSON is { "event": , "data": }: the event name is inside the JSON, there is no separate "event:" line. | Event | Data Fields | Description | |-------|-------------|-------------| | council-meta | queryId?, tier, advisorModels, enabledAdvisors?, synthesizerModel, autoRouted?, preset?, routeReason?, cappedFrom?, webSearch?, webSearchAuto? | First event: the resolved council for this query. queryId: the saved query's id (absent in private mode or when saving failed) | | advisor | id, token, status | Incremental token from an advisor | | advisor-complete | id, modelId, inputTokens, outputTokens, latencyMs | Advisor finished responding | | advisor-error | id, error | Advisor failed or returned no text (provider error, refusal, or empty answer); the other advisors continue | | synthesis-start | (empty) | The synthesizer is starting; only sent when synthesis runs | | synthesis | token, status | Incremental token from the synthesizer | | synthesis-complete | inputTokens, outputTokens, skipped?, reason?, error? | Synthesis finished. skipped: true means it never ran (reason: requested_off, single_model or other_models_failed); error means it failed or produced no text, so discard any synthesis tokens already received (not fatal, complete still follows) | | consensus | score, unanimous, contested, dissenter, takeaway | Agreement across the advisors (2+ advisors answered, also when synthesis is skipped). Usually arrives during the synthesis but may arrive after complete, so read until the stream closes. score: 0-100, 100 = full agreement on substance. unanimous: points every advisor shares. contested: [{ topic, positions: [{ slot, stance }] }]. Not sent if grading fails | | complete | queryId (null when not saved), trialQueriesRemaining? (free-trial runs only) | The answer is done. A late consensus event may still follow; read until the stream closes. The stream also sends a ": ping" comment line every 15s; skip lines that don't start with "data: " | | error | message, trialQueriesRemaining? (free-trial runs only) | Fatal error, such as every advisor failing (synthesis failures arrive on synthesis-complete instead). Tokens the advisors already used are still billed. | Advisor slot IDs: architect, philosopher, explorer, maverick. With models or preset the slot is fixed by provider (openai: architect, anthropic: philosopher, google: explorer, xai: maverick); read modelId to tell the answers apart. council-meta also carries cappedFrom: "high" when an explicit high tier ran as medium (API callers). advisor-complete may carry searched, sources and truncated (the answer hit its output limit). ## JSON Response (format=json) queryId (null when private), councilTier, cappedFrom?, threadId?, advisors { slot: { response, model, latencyMs, inputTokens, outputTokens } }, synthesis (the consensus answer; null when skipped or failed), synthesisError?, synthesisSkipReason? (requested_off, single_model or other_models_failed), failedAdvisors [{ slotId, modelId, error }] (models that did not answer; also on the 502 all_advisors_failed body), synthesisModel, consensus (agreement analysis or null), tokenUsage. Every success carries X-RateLimit-* headers. ## Available Models ### OpenAI - gpt-6.1-sol - gpt-6.1-terra - gpt-6-luna - gpt-6-astra - gpt-5.6-sol - gpt-5.6-terra - gpt-5.6-luna ### Anthropic - claude-opus-5-5 - claude-sonnet-5-5 - claude-fable-5-1 - claude-opus-5 - claude-sonnet-5 - claude-haiku-5-5 ### Google - gemini-4-argon - gemini-3.8-flash - gemini-3.5-flash - gemini-3.5-flash-lite - gemini-3.1-pro-preview ### xAI - grok-4.7 - grok-4.6 - grok-4.5 - grok-4.3 ## Default Council Configuration { "councilTier": "auto" } Omitting config does the same. Auto sizes the council per question and falls back to the medium bench if the router is unavailable: architect gpt-5.6-terra, philosopher claude-sonnet-5-5, explorer gemini-3.8-flash, maverick grok-4.5, synthesizer grok-4.5. Sending those models as advisorModels/synthesizerModel pins a custom council and skips routing. ## Advisor Personas - Architect: Structured, analytical, methodical thinker - Philosopher: Nuanced, thorough, precise reasoning - Explorer: Creative, curious, makes cross-domain connections - Maverick: Bold, unconventional, contrarian perspective ## Rate Limits - 60 requests per minute per API key - Headers on every API-key response (success, 429): X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (epoch seconds); 429 adds Retry-After. Counts are kept per server instance, so treat them as a guide. ## Errors Every error is JSON: { "error": message, "code": stable_code, "doc_url": "https://synero.ai/developers#code" }. - 400: invalid_json, missing_prompt, prompt_too_long, invalid_context, invalid_config, invalid_models, invalid_synthesis_instructions, unknown_template, invalid_thread, invalid_parent_query_id, invalid_thread_id - 401: invalid_api_key, auth_required - 402: trial_exhausted, subscription_inactive, no_credits. Add credit (from $5, no subscription) or subscribe at https://synero.ai/app/billing - 404: parent_not_found - 429: rate_limit_exceeded, or runs_in_progress (questions you already have running reserved the rest of your balance; retry when they finish) - 500: internal_error - 502: all_advisors_failed - 503: billing_unavailable, trial_unavailable, auth_unavailable (the key could not be checked; retry) ## Council Templates Built-in templates that reconfigure advisor personas for specific tasks (API only; the web chat applies only a template's question and synthesis instructions): code-review, architecture-decision, debugging, tech-stack, deep-research, literature-review, due-diligence, strategy-brief, product-decision, investment-analysis, brainstorm, devils-advocate, content-strategy, legal-review, decode-summary-of-benefits, decode-lab-results, check-medical-bill, appeal-insurance-denial, compare-loan-estimates, check-car-deal, compare-insurance-policies, compare-job-offers, compare-contractor-bids, compare-aid-award-letters, compare-school-report-cards, review-my-lease, review-employment-contract, draft-dispute-letter, check-a-claim ## Links - Full LLM Documentation: https://synero.ai/llms-full.txt - OpenAPI Spec: https://synero.ai/openapi.json - API Key Dashboard: https://synero.ai/app/api-keys - Council Templates: https://synero.ai/templates - Agent Integrations: https://synero.ai/agent - Developer Docs: https://synero.ai/developers - Pricing: https://synero.ai/pricing - Main Site: https://synero.ai ## Agent Discovery Endpoints - Remote MCP endpoint (Streamable HTTP, OAuth or API key): https://synero.ai/api/mcp (tool query_council: consensus answer plus agreement analysis by default; models/preset/web_search/parent_query_id inputs; structuredContent output; synthesis: false for a cheaper raw mode; a run past about two minutes returns status "running" and a job_id, collected with the free get_council_result tool) - Local stdio package (a proxy to the remote endpoint): npx -y @syneroai/mcp - MCP Setup Guide (human-readable; ChatGPT, Grok, claude.ai, Claude Code, Cursor, Windsurf): https://synero.ai/mcp - Agent-focused README: https://synero.ai/agents.md - MCP Server Card: https://synero.ai/.well-known/mcp-server - MCP Server Card (registry format): https://synero.ai/.well-known/mcp.json - Plugin Manifest: https://synero.ai/.well-known/ai-plugin.json - Protected Resource Metadata (RFC 9728) for /api/mcp: https://synero.ai/.well-known/oauth-protected-resource/api/mcp - API Catalog (RFC 9727): https://synero.ai/.well-known/api-catalog - Agent Skills Index (v0.2.0): https://synero.ai/.well-known/agent-skills/index.json - query_council SKILL.md: https://synero.ai/.well-known/agent-skills/query-council/SKILL.md - robots.txt (with Content Signals): https://synero.ai/robots.txt Public pages at /, /developers, /agent, and /vs/{slug} support markdown content negotiation. Send `Accept: text/markdown` to receive markdown instead of HTML.