Skip to main content

Introduction

Welcome to ModelHive — the intelligent LLM routing, caching, and management platform.

What is ModelHive?​

ModelHive is a unified AI gateway that sits between your applications and LLM providers (OpenAI, Anthropic, Google Gemini, Mistral, Groq, Azure, and more). It provides a single OpenAI-compatible API endpoint that intelligently routes, caches, compresses, and secures every request.

Key Features​

FeatureDescription
HiveCacheDual-embedding semantic cache that returns cached responses for semantically similar requests — DIRECT, REUSE, TWEAK, and MISS bands
HiveStateAdaptive state compression that reduces long conversation histories by up to 71% while preserving executable workflow state
HiveRouteZero-cost intelligent model routing that automatically selects the cheapest adequate model based on task difficulty
Security GuardrailsReal-time protection against prompt injection, toxicity, PII leakage, and abuse — configurable per tenant
Multi-Provider RoutingRoute to 100+ models across OpenAI, Anthropic, Google, Mistral, Groq, Azure OpenAI, and more via a single API

Architecture Overview​

Key Capabilities​

FeatureDescription
OpenAI-Compatible APIDrop-in replacement — use the standard OpenAI SDK with your ModelHive API key
Multi-TenantIsolate teams with separate budgets, keys, models, and guardrail configs
Real-Time Budget ControlPer-key budgets with wallet system, auto-recharge, and alerts
HiveCacheDual-embedding semantic cache with DIRECT / REUSE / TWEAK / MISS routing bands
HiveStateAdaptive state compression — up to 71% token reduction for long conversations
HiveRouteZero-cost intelligent routing — trivial/standard/complex difficulty classification
GuardrailsPrompt injection detection, toxicity filtering, PII anonymization, secrets scanning
CompressionAutomatic conversation history compression for token savings
AnalyticsComprehensive dashboard with spend tracking, cache savings, security events
Subscription TiersFree, Premium, Enterprise — each with different cache discount rates