7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.
TypeScript
Add Aion and Requesty provider support
Tashfeen2e7554d54a3a
diff --git a/client/src/components/keys/shared.tsx b/client/src/components/keys/shared.tsxindex ab0bf5dd..9cbab117 100644--- a/client/src/components/keys/shared.tsx+++ b/client/src/components/keys/shared.tsx@@ -49,6 +49,8 @@ export const PLATFORMS: { value: Platform; label: string; url: string; keyless?:{ value: 'routeway', label: 'Routeway (free key)', url: 'https://routeway.ai' },{ value: 'bazaarlink', label: 'BazaarLink (free key)', url: 'https://bazaarlink.ai' },{ value: 'ainative', label: 'AINative Studio (free key)', url: 'https://ainative.studio' },+ { value: 'aion', label: 'Aion Labs (free key)', url: 'https://www.aionlabs.ai' },+ { value: 'requesty', label: 'Requesty (free key)', url: 'https://www.requesty.ai' },{ value: 'nara', label: 'NaraRouter (free key)', url: 'https://router.bynara.id' },{ value: 'aihorde', label: 'AI Horde (no key needed, slow)', url: 'https://aihorde.net/register', keyless: true },]diff --git a/client/src/lib/routing.ts b/client/src/lib/routing.tsindex 0bdc97cf..c564e28b 100644--- a/client/src/lib/routing.ts+++ b/client/src/lib/routing.ts@@ -163,6 +163,8 @@ export const platformColors: Record<string, string> = {routeway: '#14b8a6',bazaarlink: '#e11d48',ainative: '#22c55e',+ aion: '#6366f1',+ requesty: '#10b981',nara: '#2563eb',aihorde: '#dc2626',}diff --git a/server/src/__tests__/lib/key-parser.test.ts b/server/src/__tests__/lib/key-parser.test.tsindex f807d4d5..5e6911a9 100644--- a/server/src/__tests__/lib/key-parser.test.ts+++ b/server/src/__tests__/lib/key-parser.test.ts@@ -38,12 +38,16 @@ describe('key parser', () => {expect(detectPlatform('GOOGLE_')).toBe('google');expect(detectPlatform('OLLAMA_CLOUD_')).toBe('ollama');expect(detectPlatform('NARAROUTER_')).toBe('nara');+ expect(detectPlatform('AIONLABS_')).toBe('aion');+ expect(detectPlatform('REQUESTY_')).toBe('requesty');expect(detectPlatform('SAMBANOVA_')).toBeNull();});it('parses Hermes/OpenCode auth.json provider names', () => {expect(AUTH_JSON_PROVIDER_MAP['ollama-cloud']).toBe('ollama');expect(AUTH_JSON_PROVIDER_MAP['bynara']).toBe('nara');+ expect(AUTH_JSON_PROVIDER_MAP['aion-labs']).toBe('aion');+ expect(AUTH_JSON_PROVIDER_MAP['requesty']).toBe('requesty');const result = parseAuthJson(JSON.stringify({credential_pool: {gemini: [{ id: '1', label: 'Gemini', auth_type: 'api_key', access_token: 'AIza-test' }],diff --git a/server/src/__tests__/providers/openai-compat.test.ts b/server/src/__tests__/providers/openai-compat.test.tsindex 7c76b264..ad4e9acc 100644--- a/server/src/__tests__/providers/openai-compat.test.ts+++ b/server/src/__tests__/providers/openai-compat.test.ts@@ -384,6 +384,8 @@ describe('OpenAICompatProvider - platform instances', () => {{ platform: 'github', name: 'GitHub Models', baseUrl: 'https://models.github.ai/inference' },{ platform: 'zhipu', name: 'Zhipu AI', baseUrl: 'https://open.bigmodel.cn/api/paas/v4' },{ platform: 'opencode', name: 'OpenCode Zen', baseUrl: 'https://opencode.ai/zen/v1' },+ { platform: 'aion', name: 'Aion Labs', baseUrl: 'https://api.aionlabs.ai/v1' },+ { platform: 'requesty', name: 'Requesty', baseUrl: 'https://router.requesty.ai/v1' },{ platform: 'nara', name: 'NaraRouter', baseUrl: 'https://router.bynara.id/v1' },] as const;diff --git a/server/src/__tests__/routes/proxy-stream-integrity.test.ts b/server/src/__tests__/routes/proxy-stream-integrity.test.tsindex 50cb9ba8..f2def7bd 100644--- a/server/src/__tests__/routes/proxy-stream-integrity.test.ts+++ b/server/src/__tests__/routes/proxy-stream-integrity.test.ts@@ -54,7 +54,7 @@ function mockUpstream(script: Array<{ body: string; status?: number }>) {const urlStr = typeof url === 'string' ? url : url.toString();// Only intercept provider upstreams; the test's own localhost request// and anything else goes through.- if (!/api\.groq\.com|openrouter\.ai|api\.cohere|generativelanguage|integrate\.api\.nvidia|api\.cerebras|api\.mistral|router\.huggingface|api\.cloudflare|models\.github|open\.bigmodel|api\.llm7|api\.kilo|text\.pollinations|ollama\.com|opencode\.ai|router\.bynara\.id/.test(urlStr)) {+ if (!/api\.groq\.com|openrouter\.ai|api\.cohere|generativelanguage|integrate\.api\.nvidia|api\.cerebras|api\.mistral|router\.huggingface|api\.cloudflare|models\.github|open\.bigmodel|api\.llm7|api\.kilo|text\.pollinations|ollama\.com|opencode\.ai|api\.aionlabs\.ai|router\.requesty\.ai|router\.bynara\.id/.test(urlStr)) {return origFetch(url as any, init);}const reqBody = JSON.parse(String((init as RequestInit).body));diff --git a/server/src/lib/key-parser.ts b/server/src/lib/key-parser.tsindex 9f7f6d88..4806cf7b 100644--- a/server/src/lib/key-parser.ts+++ b/server/src/lib/key-parser.ts@@ -32,6 +32,10 @@ export const PREFIX_MAP: Record<string, string> = {ROUTEWAY_: 'routeway',BAZAARLINK_: 'bazaarlink',AINATIVE_: 'ainative',+ AION_: 'aion',+ AIONLABS_: 'aion',+ AION_LABS_: 'aion',+ REQUESTY_: 'requesty',NARA_: 'nara',NARAROUTER_: 'nara',BYNARA_: 'nara',@@ -48,6 +52,10 @@ export const AUTH_JSON_PROVIDER_MAP: Record<string, string> = {nvidia: 'nvidia','opencode-zen': 'opencode',opencode: 'opencode',+ aion: 'aion',+ 'aion-labs': 'aion',+ aionlabs: 'aion',+ requesty: 'requesty',nara: 'nara',bynara: 'nara','nara-router': 'nara',diff --git a/server/src/providers/index.ts b/server/src/providers/index.tsindex 1cc0be65..dfd74698 100644--- a/server/src/providers/index.ts+++ b/server/src/providers/index.ts@@ -273,6 +273,24 @@ register(new OpenAICompatProvider({baseUrl: 'https://api.ainative.studio/api/v1',}));+// Aion Labs — OpenAI-compatible aggregator (api.aionlabs.ai/v1). Free key from+// aionlabs.ai (no card); recurring free availability is catalog-managed so+// premium users see rows immediately and free users get them after 30 days.+register(new OpenAICompatProvider({+ platform: 'aion',+ name: 'Aion Labs',+ baseUrl: 'https://api.aionlabs.ai/v1',+}));++// Requesty — OpenAI-compatible router (router.requesty.ai/v1). Free key from+// requesty.ai (no card); free model rows age into the public monthly catalog+// through the standard 30-day gate.+register(new OpenAICompatProvider({+ platform: 'requesty',+ name: 'Requesty',+ baseUrl: 'https://router.requesty.ai/v1',+}));+// NaraRouter — OpenAI-compatible aggregator (router.bynara.id/v1). Free plan// requires a no-card API key plus Telegram channel/link verification. Live// probed 2026-07-09: `mistral-large`, `mistral-medium-3-5`, and `tencent-hy3`diff --git a/server/src/routes/keys.ts b/server/src/routes/keys.tsindex 42f841e5..f93829b8 100644--- a/server/src/routes/keys.ts+++ b/server/src/routes/keys.ts@@ -19,7 +19,7 @@ const PLATFORMS = ['google', 'groq', 'cerebras', 'nvidia', 'mistral','openrouter', 'github', 'cohere', 'cloudflare', 'zhipu', 'ollama','kilo', 'pollinations', 'llm7', 'huggingface', 'opencode', 'ovh', 'agnes', 'reka', 'siliconflow',- 'routeway', 'bazaarlink', 'ainative', 'nara', 'aihorde', 'custom',+ 'routeway', 'bazaarlink', 'ainative', 'aion', 'requesty', 'nara', 'aihorde', 'custom',] as const;const ALLOWED_IMPORT_EXTENSIONS = new Set(['.env', '.json', '.jsonc', '.md', '.txt', '.csv']);diff --git a/server/src/services/provider-quota.ts b/server/src/services/provider-quota.tsindex 215d4cad..5bce5a5e 100644--- a/server/src/services/provider-quota.ts+++ b/server/src/services/provider-quota.ts@@ -136,12 +136,14 @@ function inferPoolForPlatform(platform: Platform, modelId?: string | null): striif (platform === 'routeway') return 'routeway::free';if (platform === 'bazaarlink') return 'bazaarlink::free';if (platform === 'ainative') return 'ainative::account';+ if (platform === 'aion') return 'aion::free';+ if (platform === 'requesty') return 'requesty::free';if (platform === 'nara') return 'nara::free';return normalizedModelId ? `${platform}::${normalizedModelId}` : `${platform}::account`;}function isSharedPool(platform: Platform): boolean {- return ['openrouter', 'google', 'groq', 'cerebras', 'sambanova', 'nvidia', 'mistral', 'github', 'cohere', 'cloudflare', 'zhipu', 'ollama', 'kilo', 'pollinations', 'llm7', 'huggingface', 'opencode', 'routeway', 'bazaarlink', 'ainative', 'nara', 'aihorde'].includes(platform);+ return ['openrouter', 'google', 'groq', 'cerebras', 'sambanova', 'nvidia', 'mistral', 'github', 'cohere', 'cloudflare', 'zhipu', 'ollama', 'kilo', 'pollinations', 'llm7', 'huggingface', 'opencode', 'routeway', 'bazaarlink', 'ainative', 'aion', 'requesty', 'nara', 'aihorde'].includes(platform);}type HeaderSpec = { metric: QuotaMetric; limit: string; remaining?: string; reset?: string; strategy?: QuotaResetStrategy };diff --git a/shared/types.ts b/shared/types.tsindex cce4944d..ed5c3326 100644--- a/shared/types.ts+++ b/shared/types.ts@@ -85,6 +85,12 @@ export type Platform =// ~10M tokens/month free allocation (no card); quota unverified. Key from// ainative.studio.| 'ainative'+ // Aion Labs — OpenAI-compatible aggregator with a no-card free API key.+ // Catalog rows live in the Oracle catalog (premium now, free after 30 days).+ | 'aion'+ // Requesty — OpenAI-compatible router with no-card free models/credits.+ // Catalog rows live in the Oracle catalog (premium now, free after 30 days).+ | 'requesty'// NaraRouter — OpenAI-compatible aggregator. Free account key from// router.bynara.id after Telegram channel/link verification; free-plan routes// reset daily and are catalog-managed (premium now, free after 30 days).