Routing Examples

See how NeuroSwitch™ intelligently routes different types of requests to the optimal AI model for cost and performance.

Quick Tasks → Claude 3 Haiku

Fast & Cost-Effective

Simple queries that need quick responses are automatically routed to Claude 3 Haiku for optimal speed and cost.

Example: Quick Translation

Request:

"Translate 'Hello world' to Spanish"

NeuroSwitch™ Route:

Claude 3 Haiku

~$0.0001 cost, 200ms response

Example: Simple Classification

Request:

"Is this email spam: 'Limited time offer...'"

NeuroSwitch™ Route:

Claude 3 Haiku

~$0.0002 cost, 150ms response

Complex Analysis → GPT-4

Deep Reasoning Required

Complex reasoning tasks that require advanced capabilities are routed to GPT-4 for the best results.

Example: Strategic Analysis

Request:

"Analyze the competitive landscape for SaaS companies in 2024 and provide strategic recommendations..."

NeuroSwitch™ Route:

GPT-4 Turbo

~$0.03 cost, 3s response

Example: Code Architecture

Request:

"Design a microservices architecture for a social media platform with 10M users..."

NeuroSwitch™ Route:

GPT-4 Turbo

~$0.05 cost, 4s response

Creative Writing → Claude 3 Sonnet

Balanced Creativity & Safety

Creative writing and content generation tasks are routed to Claude 3 Sonnet for excellent balance of creativity and safety.

Example: Blog Post

Request:

"Write a 1000-word blog post about sustainable farming practices..."

NeuroSwitch™ Route:

Claude 3 Sonnet

~$0.015 cost, 2s response

Example: Marketing Copy

Request:

"Create compelling email subject lines for a product launch campaign..."

NeuroSwitch™ Route:

Claude 3 Sonnet

~$0.005 cost, 1s response

Code Generation → Gemini Pro

Optimized for Code

Code generation and programming tasks often route to Gemini Pro for excellent coding capabilities.

Example: Function Implementation

Request:

"Write a Python function to validate email addresses with regex..."

NeuroSwitch™ Route:

Gemini Pro

~$0.002 cost, 800ms response

Example: API Documentation

Request:

"Generate OpenAPI spec for a user management REST API..."

NeuroSwitch™ Route:

Gemini Pro

~$0.008 cost, 1.5s response

How NeuroSwitch™ Decides

Task Complexity: Simple queries → Haiku, Complex reasoning → GPT-4

Content Type: Creative writing → Sonnet, Code → Gemini Pro

Speed Requirements: Real-time needs → Faster models

Cost Optimization: Balances performance with cost efficiency

Safety Requirements: High-risk content → Claude models

Learn More