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 Reka provider (OpenAI-compatible) (#334)

Tashfeend4b0525d90cc
diff --git a/client/src/pages/KeysPage.tsx b/client/src/pages/KeysPage.tsx
index 64dc2a7e..2d975a71 100644
--- a/client/src/pages/KeysPage.tsx
+++ b/client/src/pages/KeysPage.tsx
@@ -55,6 +55,7 @@ const PLATFORMS: { value: Platform; label: string; url: string; keyless?: boolea
{ value: 'huggingface', label: 'HuggingFace Router', url: 'https://huggingface.co/settings/tokens' },
{ value: 'opencode', label: 'OpenCode Zen (free key)', url: 'https://opencode.ai/auth' },
{ value: 'agnes', label: 'Agnes AI (free key)', url: 'https://platform.agnes-ai.com' },
+ { value: 'reka', label: 'Reka (free key)', url: 'https://platform.reka.ai' },
]
// 'custom' is configured through its own form (base URL + model), not the
diff --git a/server/src/db/model-pricing.ts b/server/src/db/model-pricing.ts
index e6a97799..1275520b 100644
--- a/server/src/db/model-pricing.ts
+++ b/server/src/db/model-pricing.ts
@@ -173,6 +173,10 @@ export const MODEL_PRICING: PricingRow[] = [
// Pollinations (serves gpt-oss-20b)
['pollinations', 'openai-fast', 0.029, 0.14],
+ // Reka (live /v1/models pricing, 2026-06-17)
+ ['reka', 'reka-flash-3', 0.10, 0.20],
+ ['reka', 'reka-edge-2603', 0.10, 0.10],
+
// SambaNova rows were removed in V23 (platform dropped — free tier retired).
// Zhipu (4.5-flash estimated at the 4.7-flash rate — no paid 4.5-flash;
diff --git a/server/src/providers/index.ts b/server/src/providers/index.ts
index 54800ef8..471307bc 100644
--- a/server/src/providers/index.ts
+++ b/server/src/providers/index.ts
@@ -205,6 +205,19 @@ register(new OpenAICompatProvider({
// $0.0, please pay with fiat or send tao". The "free" tier requires a
// non-zero balance, which conflicts with the project's no-card criterion.
+// Reka — OpenAI-compatible (api.reka.ai/v1). Live-probed 2026-06-17: free via a
+// recurring monthly credit grant (no card; key from platform.reka.ai), billed
+// calls succeed with no 402. The OpenAI-compatible /v1/models lists two models:
+// reka-flash-3 (text reasoning) and reka-edge-2603 (natively multimodal —
+// accepts image/video input). Balance is dashboard-only (no credits API).
+// Catalog rows live in the catalog (premium → age into free); they are NOT
+// shipped as freeapi model migrations.
+register(new OpenAICompatProvider({
+ platform: 'reka',
+ name: 'Reka',
+ baseUrl: 'https://api.reka.ai/v1',
+}));
+
// Placeholder so getProvider('custom')/hasProvider('custom')/getAllProviders()
// behave — but the real instance is built per-key by resolveProvider(), since
// a custom provider's base URL is user-supplied and lives on the api_keys row.
diff --git a/server/src/routes/keys.ts b/server/src/routes/keys.ts
index a1fdc2ec..45860d97 100644
--- a/server/src/routes/keys.ts
+++ b/server/src/routes/keys.ts
@@ -14,7 +14,7 @@ export const keysRouter = Router();
const PLATFORMS = [
'google', 'groq', 'cerebras', 'nvidia', 'mistral',
'openrouter', 'github', 'cohere', 'cloudflare', 'zhipu', 'ollama',
- 'kilo', 'pollinations', 'llm7', 'huggingface', 'opencode', 'ovh', 'agnes', 'custom',
+ 'kilo', 'pollinations', 'llm7', 'huggingface', 'opencode', 'ovh', 'agnes', 'reka', 'custom',
] as const;
// `key` is optional so keyless providers (Kilo's anonymous gateway) can be added
diff --git a/shared/types.ts b/shared/types.ts
index d320d0b3..a5cbed2e 100644
--- a/shared/types.ts
+++ b/shared/types.ts
@@ -33,6 +33,10 @@ export type Platform =
// its own proprietary Agnes models; the free key comes from
// platform.agnes-ai.com (no card).
| 'agnes'
+ // Reka — OpenAI-compatible. Native multimodal models (reka-edge takes
+ // image/video); free via a recurring monthly credit grant, key from
+ // platform.reka.ai (no card).
+ | 'reka'
// User-configured OpenAI-compatible endpoint (llama.cpp, LM Studio, vLLM,
// Ollama, any base_url). The endpoint URL lives on the api_keys row; see #117.
| 'custom';