Multi-Model Consensus
chat_ensembleRun multiple AI models in parallel on the same prompt and synthesize their outputs into a single consensus completion.
Instructions
Generate a consensus completion by querying multiple distinct models in parallel and synthesizing their responses using a synthesizer model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | Yes | The list of models to query in parallel (maximum 5, e.g., ['deepseek/deepseek-chat', 'anthropic/claude-sonnet-4.6']) | |
| prompt | Yes | The main prompt to send to all models | |
| max_tokens | No | Maximum tokens to generate for candidate outputs | |
| temperature | No | Sampling temperature (0-2) | |
| system_prompt | No | Optional system prompt for candidate models | |
| synthesizer_model | No | The model used to merge and optimize outputs (e.g., 'google/gemini-3.1-pro-preview') |