India's first swarm collective intelligence orchestration network. Fuse Gemini, NVIDIA NIM, DeepSeek, and your own models into one superior AI system that outperforms Claude Opus 4.6 — proprietary Indian technology, built by Indian developers.
{"prompt": "Calculate exponential backoff jitter delay for 3 retries in Python", "stream": true}
def get_delay(attempt, base=1.0, max_delay=30.0):
delay = min(max_delay, base * (2 ** attempt))
return delay * (0.5 + random.random())import random, time
def jitter_backoff(attempt):
temp = min(30, 1 * (2 ** attempt))
return random.uniform(0, temp)Architecture
Standardized gateway routing, automatic failover chains, and encrypted key management without third-party markup.
One API endpoint across every provider. Swap models mid-session, chain providers, and set automatic failovers.
Token-by-token SSE delivery under 100ms TTFT in testing. Watch responses stream side-by-side.
Your provider API keys encrypted at rest using AES-256-GCM. Zero plaintext logging or key sharing.
Compare real-time latency, token speed, and output quality across models on identical prompts.
Register vLLM, Ollama, TGI, or custom OpenAI-compatible servers with 1-click health check verification.
Configure fallback triggers by latency threshold or HTTP error codes. Keep your AI workflows resilient.
Honest Comparison
Every gateway platform has clear trade-offs. Here is an honest matrix comparing CognyFlow against OpenRouter, Portkey, and LiteLLM.
| Dimension | CognyFlow AI 🇮🇳 | OpenRouter | Portkey | LiteLLM |
|---|---|---|---|---|
| Direct Keys (BYO API Key) Routing | ₹20/mo plan (0% token markup) | ~5-10% Token Markup | $0.0008 / request after free tier | Free OSS / Paid Self-Hosted Infra |
| Preset Model Catalog | 24+ Curated Presets | 200+ Open Marketplace Models ✓ | 250+ Enterprise Providers ✓ | 100+ Provider Adaptors ✓ |
| Custom REST / vLLM Registration | Native UI & Encrypted Key Storage ✓ | Limited (Hosted marketplace focus) | Supported via Gateway Proxy ✓ | Supported via YAML Config ✓ |
| Measured Gateway Latency Overhead | Sub-100ms (Direct streaming proxy) | Variable global edge routing | ~50-100ms Observability proxy | Sub-10ms (Self-hosted local proxy) ✓ |
| Side-by-Side Live Benchmarking | Built-in UI Comparison Dashboard ✓ | Static public leaderboard | Enterprise Observability Logs ✓ | Prometheus / Grafana Export |
* Benchmark data measured in test environment across standard REST streaming payloads.
Transparent Pricing
Understand exact tier limits pre-signup. Bring your own keys with zero gateway markup or use our free developer allocation.
Ideal for testing gateway routing and experimenting with multi-model streaming.
Connect your existing provider API keys with zero token markup and unlimited throughput.
Dedicated proxy deployments, custom SLAs, and custom router logic for teams.
Model Ecosystem
Integration
Type-safe, streaming-first, OpenAI-compatible REST surface. Swap models or configure fallback handlers in minutes.
import { CognyFlow } from '@cognyflow/sdk';
const gateway = new CognyFlow({ apiKey: 'CF_KEY_...' });
const stream = await gateway.stream({
model: 'gemini-2.5-flash',
fallback: 'deepseek-r2',
prompt: 'Analyze prompt...',
});
for await (const chunk of stream) {
process.stdout.write(chunk); // streamed ✓
}Route across Gemini, DeepSeek, NVIDIA NIM, and custom endpoints with zero gateway markup.