ai_api / src /shared /constants /providers /web-cookie.ts
Yogesh
initial deploy
cd8bd0a
Raw
History Blame Contribute Delete
10.9 kB
/**
* Provider catalog data β€” extracted from providers.ts (god-file decomposition).
* Pure data literal; re-exported by the providers.ts barrel. No behavior change.
*/
export const WEB_COOKIE_PROVIDERS = {
"chatgpt-web": {
id: "chatgpt-web",
alias: "cgpt-web",
name: "ChatGPT Web (Plus/Pro)",
icon: "auto_awesome",
color: "#10A37F",
textIcon: "CG",
website: "https://chatgpt.com",
authHint: "Paste your __Secure-next-auth.session-token cookie value from chatgpt.com",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
},
"grok-web": {
id: "grok-web",
alias: "gw",
name: "Grok Web (Subscription)",
icon: "auto_awesome",
color: "#1DA1F2",
textIcon: "GW",
website: "https://grok.com",
authHint:
"Paste the full grok.com cookie line from DevTools β†’ Application β†’ Cookies. Include both `sso` and `sso-rw` (e.g. `sso=...; sso-rw=...`) β€” Grok's anti-bot rejects `sso` on its own.",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
},
"gemini-web": {
id: "gemini-web",
alias: "gweb",
name: "Gemini Web (Free)",
icon: "auto_awesome",
color: "#4285F4",
textIcon: "GWeb",
website: "https://gemini.google.com",
authHint:
"Paste your __Secure-1PSID cookie value from gemini.google.com. Optionally add __Secure-1PSIDTS separated by semicolon.",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
},
"perplexity-web": {
id: "perplexity-web",
alias: "pplx-web",
name: "Perplexity Web (Pro/Max)",
icon: "search",
color: "#20808D",
textIcon: "PW",
website: "https://www.perplexity.ai",
authHint: "Paste your __Secure-next-auth.session-token cookie value from perplexity.ai",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
},
"blackbox-web": {
id: "blackbox-web",
alias: "bb-web",
name: "Blackbox Web (Subscription)",
icon: "view_in_ar",
color: "#1A1A2E",
textIcon: "BW",
website: "https://app.blackbox.ai",
authHint:
"Paste your __Secure-authjs.session-token value or full cookie header from app.blackbox.ai",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
},
"muse-spark-web": {
id: "muse-spark-web",
alias: "ms-web",
name: "Muse Spark Web (Meta AI)",
icon: "auto_awesome",
color: "#0866FF",
textIcon: "MS",
website: "https://www.meta.ai",
hasFree: true,
freeNote: "Free with login β€” Meta AI platform with Llama models.",
authHint: "Paste your abra_sess value or full cookie header from meta.ai",
},
"claude-web": {
id: "claude-web",
alias: "cw",
name: "Claude Web",
icon: "auto_awesome",
color: "#D97757",
textIcon: "CW",
website: "https://claude.ai",
authHint: "Paste your session cookie from claude.ai",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
},
"deepseek-web": {
id: "deepseek-web",
alias: "ds-web",
name: "DeepSeek Web",
icon: "auto_awesome",
color: "#4D6BFE",
textIcon: "DS",
website: "https://chat.deepseek.com",
authHint:
"Paste your userToken from chat.deepseek.com β€” DevTools β†’ Application β†’ Local Storage β†’ userToken",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
},
"copilot-web": {
id: "copilot-web",
alias: "copilot",
name: "Microsoft Copilot Web",
icon: "auto_awesome",
color: "#0078D4",
textIcon: "CP",
website: "https://copilot.microsoft.com",
authHint:
"Paste your access_token from copilot.microsoft.com (or export a .har file from DevTools while logged in)",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
},
"t3-web": {
id: "t3-web",
alias: "t3chat",
name: "t3.chat (Pro/Free)",
icon: "auto_awesome",
color: "#7C3AED",
textIcon: "T3",
website: "https://t3.chat",
hasFree: true,
freeNote: "Free tier gives limited model access. Pro ($8/month) unlocks 50+ models.",
authHint:
"Open t3.chat in your browser, log in, then open DevTools β†’ Application β†’ Local Storage β†’ https://t3.chat. " +
"Copy the value of 'convex-session-id'. Also open DevTools β†’ Network, copy the Cookie header from any request. " +
"Paste both values here. See provider setup docs for a step-by-step guide.",
},
"inner-ai": {
id: "inner-ai",
alias: "in-ai",
name: "Inner.ai (Subscription)",
icon: "auto_awesome",
color: "#1A56DB",
textIcon: "IA",
website: "https://app.innerai.com",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
authHint:
"Paste your token cookie and email separated by a space: open DevTools β†’ Application β†’ Cookies β†’ .innerai.com, copy the token value, then append a space and your Inner.ai login email. Example: eyJhbG... user@example.com",
},
"adapta-web": {
id: "adapta-web",
alias: "adp-web",
name: "Adapta.org (Adapta One Web)",
icon: "auto_awesome",
color: "#6E3AD3",
textIcon: "AW",
website: "https://agent.adapta.one",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
authHint:
"Paste your __client cookie value from .clerk.agent.adapta.one (DevTools β†’ Application β†’ Cookies)",
},
lmarena: {
id: "lmarena",
alias: "lma",
name: "LMArena (Free)",
icon: "auto_awesome",
color: "#FF6B6B",
textIcon: "LMA",
website: "https://lmarena.ai",
hasFree: true,
freeNote:
"Free model comparison platform β€” 40+ models (GPT, Claude, Gemini, Llama). No subscription required.",
authHint:
"Paste the full Cookie header from lmarena.ai (DevTools β†’ Network β†’ request β†’ Cookie). The session is now split across arena-auth-prod-v1.0, .1, … β€” copy the whole header. Optional β€” works with free tier for basic comparisons.",
riskNoticeVariant: "webCookie",
},
huggingchat: {
id: "huggingchat",
// "hc" belongs to the hackclub provider; huggingchat uses its own id as alias.
alias: "huggingchat",
name: "HuggingChat (Free)",
icon: "auto_awesome",
color: "#FFD21E",
textIcon: "HC",
website: "https://huggingface.co/chat",
hasFree: true,
freeNote: "Free LLM chat β€” no subscription required. Rate limits apply.",
authHint:
"Paste your hf-chat cookie value from huggingface.co/chat (DevTools β†’ Application β†’ Cookies β†’ hf-chat). Optional β€” works without auth for basic use.",
riskNoticeVariant: "webCookie",
},
phind: {
id: "phind",
alias: "ph",
name: "Phind (Free)",
icon: "auto_awesome",
color: "#000000",
textIcon: "PH",
website: "https://www.phind.com",
hasFree: false,
freeNote: "Discontinued 2026 β€” phind.com shut down (2026-01); no free tier.",
authHint:
"Paste your session cookie from phind.com (DevTools β†’ Application β†’ Cookies). Optional β€” works with free tier.",
subscriptionRisk: true,
riskNoticeVariant: "deprecated",
deprecated: true,
deprecationReason:
"Phind shut down its API (2026-01); the /api/chat endpoint no longer serves (sweep 2026-06-19).",
},
"poe-web": {
id: "poe-web",
alias: "poe",
name: "Poe Web (Subscription)",
icon: "auto_awesome",
color: "#6C3AED",
textIcon: "PW",
website: "https://poe.com",
authHint: "Paste your p-b cookie value from poe.com (DevTools β†’ Application β†’ Cookies β†’ p-b)",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
},
"venice-web": {
id: "venice-web",
alias: "ven",
name: "Venice Web (Privacy)",
icon: "auto_awesome",
color: "#22C55E",
textIcon: "VW",
website: "https://venice.ai",
authHint: "Paste your session cookie from venice.ai (DevTools β†’ Application β†’ Cookies)",
riskNoticeVariant: "webCookie",
},
"v0-vercel-web": {
id: "v0-vercel-web",
alias: "v0",
name: "v0 Vercel Web (Code Gen)",
icon: "auto_awesome",
color: "#000000",
textIcon: "V0",
website: "https://v0.dev",
authHint: "Paste your session cookie from v0.dev (DevTools β†’ Application β†’ Cookies)",
riskNoticeVariant: "webCookie",
},
"kimi-web": {
id: "kimi-web",
// Primary "kimi" provider keeps the short alias; web variant uses its own id.
alias: "kimi-web",
name: "Kimi Web (Moonshot AI)",
icon: "auto_awesome",
color: "#2563EB",
textIcon: "KW",
website: "https://kimi.moonshot.cn",
authHint: "Paste your session cookie from kimi.moonshot.cn (DevTools β†’ Application β†’ Cookies)",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
},
"doubao-web": {
id: "doubao-web",
alias: "db",
name: "Doubao Web (ByteDance)",
icon: "auto_awesome",
color: "#3B82F6",
textIcon: "DW",
website: "https://www.doubao.com",
authHint: "Paste your session cookie from doubao.com (DevTools β†’ Application β†’ Cookies)",
subscriptionRisk: true,
riskNoticeVariant: "webCookie",
},
"qwen-web": {
id: "qwen-web",
// Primary "qwen" provider keeps the short alias; web variant uses its own id.
alias: "qwen-web",
name: "Qwen Web (Free)",
icon: "auto_awesome",
color: "#10B981",
textIcon: "QW",
website: "https://chat.qwen.ai",
hasFree: true,
freeNote: "Free β€” Qwen models via chat.qwen.ai with login token. No subscription required.",
authHint:
"Open chat.qwen.ai, log in, then open DevTools β†’ Application β†’ Local Storage β†’ " +
'copy the "token" value (or use tongyi_sso_ticket cookie as Bearer token).',
},
"gemini-business": {
id: "gemini-business",
alias: "gembiz",
name: "Gemini Business (Enterprise)",
icon: "business_center",
color: "#4285F4",
textIcon: "GB",
website: "https://business.gemini.google",
hasFree: true,
freeNote:
"Free for Google Workspace enterprise accounts β€” enterprise Gemini models (Pro, Flash, image, video) via direct StreamGenerate HTTP API. No subscription required, just enterprise SSO.",
authHint:
"From your enterprise account: open business.gemini.google/home/cid/{your-cid}, then copy __Secure-1PSID and __Secure-1PSIDTS cookies from DevTools β†’ Application β†’ Cookies. Paste as a cookie header below.",
},
"zenmux-free": {
id: "zenmux-free",
alias: "zmf",
name: "ZenMux Free (Web)",
icon: "bolt",
color: "#667eea",
textIcon: "ZF",
website: "https://zenmux.ai",
hasFree: true,
freeNote:
"Free tier (5 Flows/5h, 38.64 Flows/week) β€” DeepSeek V3.2, GLM 4.7 Flash Free, MiMo V2 Flash Free and more. No subscription required.",
authHint:
"Login at zenmux.ai, then export all cookies using EditThisCookie or Cookie-Editor and paste the full Cookie header string here. Refresh every ~30 days.",
},
};