Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

chore(db): re-export quota modules in localDb (B/F2)

diegosouzapw44e49f635bf9
diff --git a/src/lib/localDb.ts b/src/lib/localDb.ts
index 648c03f658..cc3c766329 100755
--- a/src/lib/localDb.ts
+++ b/src/lib/localDb.ts
@@ -508,3 +508,26 @@ export {
} from "./db/freeProxies";
export type { FreeProxyRecord, FreeProxyStats } from "./db/freeProxies";
+
+// Quota Sharing — Group B (planos 16+22)
+export {
+ listPools,
+ getPool,
+ createPool,
+ updatePool,
+ deletePool,
+ upsertAllocations,
+ listAllocationsForApiKey,
+} from "./db/quotaPools";
+export {
+ getBucket,
+ incrementBucket,
+ getPair,
+ gcOlderThan as gcQuotaConsumption,
+} from "./db/quotaConsumption";
+export {
+ getPlan as getProviderPlan,
+ listPlans as listProviderPlans,
+ upsertPlan as upsertProviderPlan,
+ deletePlan as deleteProviderPlan,
+} from "./db/providerPlans";