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

feat(providers): add Hackclub AI as free provider (#2339)

Paijoaefd9bbbc7d1
diff --git a/open-sse/config/providerRegistry.ts b/open-sse/config/providerRegistry.ts
index 58779d8a91..69a7faee2d 100644
--- a/open-sse/config/providerRegistry.ts
+++ b/open-sse/config/providerRegistry.ts
@@ -2693,6 +2693,20 @@ export const REGISTRY: Record<string, RegistryEntry> = {
],
},
+ hackclub: {
+ id: "hackclub",
+ alias: "hc",
+ format: "openai",
+ executor: "default",
+ baseUrl: "https://ai.hackclub.com/proxy/v1/chat/completions",
+ modelsUrl: "https://ai.hackclub.com/proxy/v1/models",
+ authType: "optional",
+ authHeader: "bearer",
+ passthroughModels: true,
+ defaultContextLength: 128000,
+ models: [],
+ },
+
deepinfra: {
id: "deepinfra",
alias: "deepinfra",
diff --git a/src/shared/constants/providers.ts b/src/shared/constants/providers.ts
index a51e6d883a..9f26620aeb 100644
--- a/src/shared/constants/providers.ts
+++ b/src/shared/constants/providers.ts
@@ -876,6 +876,19 @@ export const APIKEY_PROVIDERS = {
passthroughModels: true,
authHint: "No auth required. API accepts any non-empty string as key for identification.",
},
+ hackclub: {
+ id: "hackclub",
+ alias: "hc",
+ name: "Hackclub AI",
+ icon: "auto_awesome",
+ color: "#FF6B00",
+ textIcon: "HC",
+ website: "https://ai.hackclub.com",
+ hasFree: true,
+ freeNote: "Free AI for Hack Club members — 30+ models, no credit card.",
+ passthroughModels: true,
+ authHint: "Sign in with your Hack Club account at ai.hackclub.com.",
+ },
"github-models": {
id: "github-models",
alias: "ghm",
@@ -1590,6 +1603,7 @@ export const AGGREGATOR_PROVIDER_IDS = new Set([
"empower",
"poe",
"chutes",
+ "hackclub",
]);
export const ENTERPRISE_CLOUD_PROVIDER_IDS = new Set([
@@ -2023,6 +2037,7 @@ export function providerAllowsOptionalApiKey(providerId: unknown): boolean {
providerId === "searxng-search" ||
providerId === "petals" ||
providerId === "pollinations" ||
+ providerId === "hackclub" ||
isLocalProvider(providerId) ||
isSelfHostedChatProvider(providerId) ||
isOpenAICompatibleProvider(providerId) ||