What it is
AI Gate is a unified AI gateway from Dartix: one project API key for chat and image generation across multiple providers, with routing, failover, usage limits, and a developer dashboard. The TypeScript client is @dartix-software-solutions/ai-gate on npm. Product URL: aigate.dartix.live.
Why I built it
Every new AI feature meant another vendor SDK, another key, and ad-hoc retries when a free tier failed. AI Gate puts that behind one HTTP API and one client so apps stay vendor-agnostic while the gateway handles ranking and failover.
What ships today
- Project keys from the dashboard, generate / stream / image APIs
- Free-provider routing with failover; optional encrypted premium credentials per project
- Providers include Gemini, NVIDIA, OpenRouter, Pollinations, Groq, OpenAI, Anthropic, and more as the catalog grows
- Stack: Fastify + Prisma + PostgreSQL + Redis, Next.js dashboard, BullMQ workers
Quick start
Create an account on aigate.dartix.live, add a project, copy a key, then:
npm i @dartix-software-solutions/ai-gate
import { AIClient } from "@dartix-software-solutions/ai-gate";
const ai = new AIClient({ apiKey: process.env.AI_GATE_API_KEY! });
const result = await ai.generate({ prompt: "Hello" });
console.log(result.content, result.provider);Full notes: in-app docs · GitHub.
Product vs tools
AI Gate is a product (keys, routing, usage), not a one-off utility under dartix.live/tools. Studio and company home stay on dartix.live.
