/api/querySend a prompt and receive streaming responses from up to four models, a synthesized answer, and a consensus analysis.
Your app
POST /api/query
Synero
Asks in parallel
Combined answer
Plus where they agree
Capabilities
01Four Models, One Call
Query GPT, Claude, Gemini, and Grok simultaneously. Choose from 20 models across four providers, including GPT-6.1 Sol, Claude Opus 5.5, Gemini 3.1 Pro Preview, and Grok 4.7. Assign any model to any advisor slot.
02SSE Streaming
Responses stream in real time via Server-Sent Events. Watch the models answer in parallel, then the synthesis and consensus events arrive.
03Optional Personas
API callers can run four advisor personas (Architect, Philosopher, Explorer, Maverick) or pick the models per slot through the config object.
04Simple Authentication
Bearer token auth with API keys you can generate and revoke from your dashboard. No OAuth flows, no complex setup.
05Structured Responses
JSON mode returns each advisor answer, the synthesis, a consensus object (score, agreements, splits), and token usage. Or consume the SSE stream directly.
06OpenAPI Specification
Full OpenAPI 3.0 spec available for code generation, testing, and documentation. Import into Postman, Swagger, or your preferred toolchain.
Code Example
const response = await fetch('https://synero.ai/api/query', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
prompt: 'Compare PostgreSQL and MongoDB for a real-time analytics product',
// Who answers: 'solo' | 'duel' | 'council' | 'deep' | 'auto', or models: ['gpt-5.6-terra', ...]
preset: 'council',
// Attach documents as context (optional)
context: [{ name: 'requirements.md', content: '# Requirements\n...' }],
format: 'json', // or omit for SSE stream
}),
});
// JSON mode: structured response
const data = await response.json();
console.log(data.queryId); // Pass as parent_query_id to ask a follow-up
console.log(data.synthesis); // Consensus answer, or null if skipped or failed
console.log(data.consensus); // { score, unanimous, contested, ... } or null
console.log(data.synthesisError); // Set only when a requested synthesis failed
console.log(data.advisors); // Individual advisor responses
console.log(data.tokenUsage); // Token usage breakdownFrequently asked questions
How many models can I query per request?
Each request queries up to four models in parallel. You can configure which model fills each slot, choosing from 20 models across OpenAI, Anthropic, Google, and xAI.
What's the latency like?
With SSE streaming you see tokens as soon as each model starts. All models run in parallel, so total time is set by the slowest model plus the synthesis step. Latency varies by model and prompt length.
How is pricing structured?
A free account gets 3 full queries, no card. After that, pay as you go from $5 of credit (no subscription), or $10/month with $10 of usage included, across all 20 models. Each call uses credits based on the models and tokens used, and top-ups of $5, $10, or $25 are available.
Can I use this for production applications?
Yes. Keys are Bearer tokens you can revoke, requests are limited to 60 per minute per key, and failed advisors or syntheses are reported in the response so you can handle them. See the OpenAPI spec for the full contract.
Get an API key for multi-model AI
One API. Four models. A consensus answer and an agreement score. Free to try, no card.
Get an API key