AgentHub

Multi-AI Agent Router: Compare OpenAI, Anthropic & Groq Responses with Webhooks

Introduction

Live
Open / InstallLast updated July 27, 2026

Description

Introduction This workflow connects to OpenAI, Anthropic, and Groq, processing requests in parallel with automatic performance metrics. Ideal for testing speed, cost, and quality across models. How It Works Webhooks trigger parameter extraction and routing. Three AI agents run simultaneously with memory and parsing. Responses merge with detailed metrics. Workflow Template Webhook → Extract Parameters → Router ├→ OpenAI Agent ├→ Anthropic Agent ├→ Groq Agent → Merge → Metrics → Respond Workflow Steps Webhook receives POST with prompt and settings. Parameters extracted and validated. Router directs by cost, latency, or type. AI agents run in parallel. Results merged with metadata. Metrics compute time, cost, and quality. Response returns outputs and recommendation. Setup Instructions Activate Webhook with authentication. Add API keys for all providers. Define models, tokens, and temperature. Adjust Router logic for selection. Tune Metrics scoring formulas. Prerequisites n8n v1.0+ instance API keys: OpenAI, Anthropic, Groq HTTP client for testing Customization Add providers like Gemini or Azure OpenAI. Enable routing by cost or performance. Benefits Auto-select efficient providers and compare model performance in real time. An n8n automation workflow template by Cheng Siong Chin.

Author

Cheng Siong Chin

Platform

web

Pricing model

free

Categories

Automation
AI

Tags

n8n
workflow
code
ai-agent
anthropic-chat-model
openai-chat-model
structured-output-parser
groq-chat-model

Capabilities

  • 6 nodes
  • 1 views