Skip to content
PluginStats

@dartix-software-solutions/ai-gate weekly downloads statistics

By dartix-software-solutions · npm · AI SDKs

Official TypeScript/JavaScript client for AI Gate — one API for chat and image models across providers with capacity-aware routing, failover, internet/reasoning options, and daily request + token quotas

View on npm Stale · Oct 18, 2026

@dartix-software-solutions/ai-gate has 144 recorded weekly downloads on npm, a change of -45.9% over the past 7 days.

Weekly downloads
144
Official API · Oct 18, 2026
7-day growth
-45.9%
-122 weekly downloads
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
—
Among tracked npm listings

About @dartix-software-solutions/ai-gate

@dartix-software-solutions/ai-gate

Official TypeScript / JavaScript client for AI Gate — one API key for chat and image models across many providers, with latency-tuned auto routing and automatic failover.

npm version Node.js License: MIT TypeScript

Keywords: AI · LLM · SDK · OpenAI · Gateway · OpenRouter · NVIDIA · TypeScript · Gemini · Groq · Anthropic · Cerebras · Together · DeepSeek · Hugging Face


What this package does

AI Gate sits between your app and AI providers. Instead of wiring each vendor SDK yourself, you call this client once.

Your app  →  AI Gate (this SDK)  →  Gemini / NVIDIA / OpenRouter / Groq / …
CapabilityWhat you get
Chat generationSend a prompt (and optional context) and get text back
Streaming chatToken-by-token responses over SSE
Image generationText-to-image; returns a URL or data URI
Model catalogList available chat / image models by free or premium tier
Latency-tuned auto routingPicks a healthy, low-latency free model when you omit model
FailoverRetries other models/providers in the same pool if one fails
Dual-key tiersFree via platform keys; premium via keys you save on the project
Usage metadataProvider used, tokens, latency, and full attempt history
Daily project quotas30 requests + 30,000 API tokens / UTC day (see Usage limits)
Internet + reasoningOptional internet and reasoningLevel on generate / stream
Dual-key model (how keys work)
TierWhenKeys needed
free (default)You don’t ask for premiumAI Gate project key only — free models use platform provider keys
premiumtier: "premium"Project key + your provider API key on the project (any provider: OpenAI, OpenRouter, Hugging Face, Groq, …)
autoMix free + available premiumFree via platform keys; premium only for providers where you saved a key

Chat and image never mix. Failover stays inside the same modality + tier pool.

Supported providers
Free (platform keys)Premium (your project keys)
Gemini, NVIDIA NIM, OpenRouter, Pollinations, Groq, Cerebras, Together AI, DeepSeek, Hugging Face, Eden AI, ShareAISame providers plus OpenAI, Anthropic — add any provider key on the project to unlock that provider’s premium models

What’s included

This npm package ships:

ExportDescription
AIClientMain client class
AIClientOptionsConstructor options (apiKey)
generate()Non-streaming chat → POST /v1/generate
stream()Streaming chat → POST /v1/generate/stream
image()Image generation → POST /v1/images/generate
listModels()Catalog → GET /v1/models
TypeScript typesGenerateRequest, GenerateResponse, ImageGenerateRequest, ImageGenerateResponse, AIChunk, CatalogModel, Tier, Modality, …

No extra runtime dependencies (uses Node’s built-in fetch). Types are bundled — you do not need a separate @ai-gate/types install.


Requirements

  • Node.js 18+ (also works with Bun / Deno where fetch is available)
  • An AI Gate project API key (ai_live_…) from aigate.dartix.live

Install

npm install @dartix-software-solutions/ai-gate
pnpm add @dartix-software-solutions/ai-gate
yarn add @dartix-software-solutions/ai-gate

How to use

1. Get an API key
  1. Open aigate.dartix.live and sign in
  2. Create a project
  3. Copy the project key (ai_live_…)
  4. Store it in env on your server / BFF — never ship it in browser-exposed client code
AI_GATE_API_KEY=ai_live_xxxxxxxx
2. Create a client
import { AIClient } from "@dartix-software-solutions/ai-gate";

const ai = new AIClient({
  apiKey: process.env.AI_GATE_API_KEY!,
});
OptionRequiredDescription
apiKeyYesProject API key from the dashboard
3. Chat (generate)

Defaults: tier: "free", chat modality, auto model (fastest healthy free chat model via latency-tuned routing).

const result = await ai.generate({
  prompt: "Write a short product description",
  context: {
    productName: "Nike Air Max",
    category: "Running",
  },
});

console.log(result.content);
console.log(result.provider); // { name, model, tier }
console.log(result.usage);    // tokens
console.log(result.latency);  // ms
console.log(result.attempts); // failover trail (includes latencyMs per try)

Optional fields:

FieldDefaultNotes
tier"free""free" | "premium" | "auto"
provider / modelunset / autoPin first choice; failover stays in pool
maxTokensserver defaultCap output (max 4000)
internetfalseWhen true, free DuckDuckGo results may be injected for live-info questions
reasoningLevel"auto""auto" | "low" | "medium" | "high"
// Pin provider or model (failover still applies within the pool)
await ai.generate({ prompt: "…", provider: "openrouter" });
await ai.generate({ prompt: "…", provider: "nvidia" });
await ai.generate({ prompt: "…", provider: "groq" });
await ai.generate({ prompt: "…", model: "gemini-flash" });…

Description from the npm listing.

  • ai
  • llm
  • sdk
  • openai
  • gateway
  • openrouter
  • nvidia
  • typescript
  • javascript
  • nodejs
  • node
  • api
  • client
  • ai-gateway
  • llm-gateway
  • ai-sdk
  • llm-sdk
  • openai-compatible
  • openai-api
  • chat

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@dartix-software-solutions/ai-gate weekly downloads on npm, last 90 days: 144 weekly downloads as of Oct 18, 2026.@dartix-software-solutions/ai-gateWeekly downloads on npm · Last 90 days144downloads / week02004006008001K1.2KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 24, 2026 – Oct 18, 2026 · 87 observations · Updated Oc…pluginstats.com
@dartix-software-solutions/ai-gate weekly downloads on npm, last 90 days: 144 weekly downloads as of Oct 18, 2026.

7/30/90-day growth

@dartix-software-solutions/ai-gate weekly downloads growth on npm: -45.9% over 7 days, 30-day growth unavailable, 90-day growth unavailable.@dartix-software-solutions/ai-gateWeekly downloads growth on npm144downloads / week now7-day growth-122 weekly downloads-45.9%30-day growth+144 weekly downloadsInsufficient history90-day growth+144 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@dartix-software-solutions/ai-gate weekly downloads growth on npm: -45.9% over 7 days, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

@dartix-software-solutions/ai-gate npm ranking history: currently #1718 (by weekly downloads).@dartix-software-solutions/ai-gatenpm ranking · by weekly downloads · Last 90 days#1718current rank#600#800#1000#1200#1400#1600#1800Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
@dartix-software-solutions/ai-gate npm ranking history: currently #1718 (by weekly downloads).

Listing placement

All npm2,422 listings · 122 pages · 1,212 shown · page 90, #15 (overall #1,795)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs270 listings · 14 pages · page 12, #18 (overall #238)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (544)
Recent weekly downloads observations for @dartix-software-solutions/ai-gate
Date (UTC)Weekly downloadsChange vs. previous
144+21
123-37
160-14
174-38
212-42
2540
254-12
266-275
541+21
520+4
516-240
756+36
720-16
736—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@dartix-software-solutions/ai-gate. First seen Oct 16, 2026; last successful collection Oct 22, 2026. See the methodology.