Skip to content

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 SEA-LION provider (#559)

Tashfeena0a1530e8186
diff --git a/README.md b/README.md
index 29da7c05..1ffc3785 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
**One OpenAI-compatible endpoint. 28 free LLM providers. 339 free model endpoints. ~4 billion tokens per month.**
-Aggregate the free tiers from Google, Groq, Cerebras, NVIDIA, Mistral, OpenRouter, GitHub Models, Cohere, Cloudflare, HuggingFace, Z.ai (Zhipu), Ollama, Kilo, Pollinations, LLM7, OVH AI Endpoints, OpenCode Zen, AI Horde, NaraRouter, Aion Labs, Requesty, NavyAI, Agnes AI, Reka, SiliconFlow, Routeway, BazaarLink, and AINative Studio, plus custom OpenAI-compatible chat, embedding, image, and audio endpoints, behind a single `/v1` API. Keys are stored encrypted. A router picks the best available model for each request, falls over to the next provider when one is rate-limited, and tracks per-key usage so you stay under every free-tier cap.
+Aggregate the free tiers from Google, Groq, Cerebras, NVIDIA, Mistral, OpenRouter, GitHub Models, Cohere, Cloudflare, HuggingFace, Z.ai (Zhipu), Ollama, Kilo, Pollinations, LLM7, OVH AI Endpoints, OpenCode Zen, AI Horde, NaraRouter, Aion Labs, Requesty, NavyAI, Agnes AI, Reka, SiliconFlow, Routeway, BazaarLink, AINative Studio, and SEA-LION, plus custom OpenAI-compatible chat, embedding, image, and audio endpoints, behind a single `/v1` API. Keys are stored encrypted. A router picks the best available model for each request, falls over to the next provider when one is rate-limited, and tracks per-key usage so you stay under every free-tier cap.
[![CI](https://github.com/tashfeenahmed/freellmapi/actions/workflows/ci.yml/badge.svg)](https://github.com/tashfeenahmed/freellmapi/actions/workflows/ci.yml)
[![GitHub stars](https://img.shields.io/github/stars/tashfeenahmed/freellmapi?style=flat&logo=github&color=yellow)](https://github.com/tashfeenahmed/freellmapi/stargazers)
@@ -98,6 +98,9 @@ And the free-tier landscape shifts weekly: providers launch models, retire them,
<td align="center"><a href="https://bazaarlink.ai"><b>BazaarLink</b><br/>Auto free router</a></td>
<td align="center"><a href="https://ainative.studio"><b>AINative Studio</b><br/>Qwen · DeepSeek · Llama</a></td>
</tr>
+<tr>
+<td align="center"><a href="https://sea-lion.ai"><b>SEA-LION</b><br/>SEA-multilingual (key, no card)</a></td>
+</tr>
</table>
Thanks to <a href="https://github.com/MetaMysteries8">@MetaMysteries8</a> for suggesting the NavyAI integration in <a href="https://github.com/tashfeenahmed/freellmapi/issues/532">#532</a>.
diff --git a/client/src/components/keys/shared.tsx b/client/src/components/keys/shared.tsx
index 784eb53a..c14daf06 100644
--- a/client/src/components/keys/shared.tsx
+++ b/client/src/components/keys/shared.tsx
@@ -53,6 +53,7 @@ export const PLATFORMS: { value: Platform; label: string; url: string; keyless?:
{ value: 'requesty', label: 'Requesty (free key)', url: 'https://www.requesty.ai' },
{ value: 'navy', label: 'NavyAI (free key)', url: 'https://api.navy' },
{ value: 'nara', label: 'NaraRouter (free key)', url: 'https://router.bynara.id' },
+ { value: 'sealion', label: 'SEA-LION (free key)', url: 'https://sea-lion.ai' },
{ 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.ts
index b5c9e5cf..e8fffb22 100644
--- a/client/src/lib/routing.ts
+++ b/client/src/lib/routing.ts
@@ -167,6 +167,7 @@ export const platformColors: Record<string, string> = {
requesty: '#10b981',
navy: '#1d4ed8',
nara: '#2563eb',
+ sealion: '#0ea5e9',
aihorde: '#dc2626',
}
diff --git a/server/src/__tests__/lib/key-parser.test.ts b/server/src/__tests__/lib/key-parser.test.ts
index 41bb2f8b..43fa6825 100644
--- a/server/src/__tests__/lib/key-parser.test.ts
+++ b/server/src/__tests__/lib/key-parser.test.ts
@@ -41,6 +41,7 @@ describe('key parser', () => {
expect(detectPlatform('AIONLABS_')).toBe('aion');
expect(detectPlatform('REQUESTY_')).toBe('requesty');
expect(detectPlatform('NAVYAI_')).toBe('navy');
+ expect(detectPlatform('SEALION_')).toBe('sealion');
expect(detectPlatform('SAMBANOVA_')).toBeNull();
});
@@ -50,6 +51,7 @@ describe('key parser', () => {
expect(AUTH_JSON_PROVIDER_MAP['aion-labs']).toBe('aion');
expect(AUTH_JSON_PROVIDER_MAP['requesty']).toBe('requesty');
expect(AUTH_JSON_PROVIDER_MAP['api-navy']).toBe('navy');
+ expect(AUTH_JSON_PROVIDER_MAP['sea-lion']).toBe('sealion');
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.ts
index 2304ce1a..ce689083 100644
--- a/server/src/__tests__/providers/openai-compat.test.ts
+++ b/server/src/__tests__/providers/openai-compat.test.ts
@@ -500,6 +500,7 @@ describe('OpenAICompatProvider - platform instances', () => {
{ platform: 'requesty', name: 'Requesty', baseUrl: 'https://router.requesty.ai/v1' },
{ platform: 'navy', name: 'NavyAI', baseUrl: 'https://api.navy/v1' },
{ platform: 'nara', name: 'NaraRouter', baseUrl: 'https://router.bynara.id/v1' },
+ { platform: 'sealion', name: 'SEA-LION', baseUrl: 'https://api.sea-lion.ai/v1' },
] as const;
for (const p of platforms) {
diff --git a/server/src/lib/key-parser.ts b/server/src/lib/key-parser.ts
index c467c8fe..d8258954 100644
--- a/server/src/lib/key-parser.ts
+++ b/server/src/lib/key-parser.ts
@@ -42,6 +42,8 @@ export const PREFIX_MAP: Record<string, string> = {
NARA_: 'nara',
NARAROUTER_: 'nara',
BYNARA_: 'nara',
+ SEALION_: 'sealion',
+ SEA_LION_: 'sealion',
AIHORDE_: 'aihorde',
};
@@ -65,6 +67,8 @@ export const AUTH_JSON_PROVIDER_MAP: Record<string, string> = {
nara: 'nara',
bynara: 'nara',
'nara-router': 'nara',
+ sealion: 'sealion',
+ 'sea-lion': 'sealion',
};
export function detectPlatform(prefix: string): string | null {
diff --git a/server/src/providers/index.ts b/server/src/providers/index.ts
index a92c01e6..5f730a38 100644
--- a/server/src/providers/index.ts
+++ b/server/src/providers/index.ts
@@ -326,6 +326,16 @@ register(new OpenAICompatProvider({
baseUrl: 'https://router.bynara.id/v1',
}));
+// SEA-LION (AI Singapore) — OpenAI-compatible first-party API (api.sea-lion.ai/v1).
+// Free key from sea-lion.ai (Google sign-in, no card, no region wall); recurring
+// free tier at 10 RPM. Catalog rows live in the Oracle catalog (premium now, free
+// after the 30-day model-age gate).
+register(new OpenAICompatProvider({
+ platform: 'sealion',
+ name: 'SEA-LION',
+ baseUrl: 'https://api.sea-lion.ai/v1',
+}));
+
// AI Horde — free, community-powered inference (volunteer workers) via an
// OpenAI-compatible proxy. Dedicated AIHordeProvider (not OpenAICompatProvider)
// because the proxy is queue-based and diverges from the OpenAI contract:
diff --git a/server/src/routes/keys.ts b/server/src/routes/keys.ts
index ad6633a5..58ee5310 100644
--- a/server/src/routes/keys.ts
+++ b/server/src/routes/keys.ts
@@ -20,7 +20,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', 'aion', 'requesty', 'navy', 'nara', 'aihorde', 'custom',
+ 'routeway', 'bazaarlink', 'ainative', 'aion', 'requesty', 'navy', 'nara', 'sealion', '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.ts
index 917f9b2f..05cfd506 100644
--- a/server/src/services/provider-quota.ts
+++ b/server/src/services/provider-quota.ts
@@ -140,11 +140,12 @@ function inferPoolForPlatform(platform: Platform, modelId?: string | null): stri
if (platform === 'requesty') return 'requesty::free';
if (platform === 'navy') return 'navy::free';
if (platform === 'nara') return 'nara::free';
+ if (platform === 'sealion') return 'sealion::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', 'aion', 'requesty', 'navy', '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', 'navy', 'nara', 'sealion', 'aihorde'].includes(platform);
}
type HeaderSpec = { metric: QuotaMetric; limit: string; remaining?: string; reset?: string; strategy?: QuotaResetStrategy };
diff --git a/shared/types.ts b/shared/types.ts
index 4a3e4311..8b240802 100644
--- a/shared/types.ts
+++ b/shared/types.ts
@@ -98,6 +98,10 @@ export type Platform =
// router.bynara.id after Telegram channel/link verification; free-plan routes
// reset daily and are catalog-managed (premium now, free after 30 days).
| 'nara'
+ // SEA-LION (AI Singapore) — OpenAI-compatible first-party API. Free key
+ // (Google sign-in, no card, no region wall) at 10 RPM; catalog rows live in
+ // the Oracle catalog (premium now, free after 30 days).
+ | 'sealion'
// AI Horde — free, community-powered inference (volunteer workers) via an
// OpenAI-compatible proxy (https://oai.aihorde.net/v1). Queue-based, so calls
// can take tens of seconds; no tool support; usage is reported as kudos, not