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
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
import type { RegistryEntry } from "../../shared.ts";
import {
NOTION_WEB_FALLBACK_MODELS,
withFriendlyNotionAliases,
} from "../../../../services/notionWebModels.ts";
// Notion AI Web (Unofficial/Experimental) — see open-sse/executors/notion-web.ts.
// Live catalog comes from cookie-auth POST /api/v3/getAvailableModels (models route).
// The registry seed below is the offline fallback when discovery fails.
// Catalog ids are real web-picker labels (fable-5, gpt-5.6-sol); food codenames
// stay internal for runInferenceTranscript via resolveNotionCodename.
export const notion_webProvider: RegistryEntry = {
id: "notion-web",
alias: "nw",
format: "openai",
executor: "notion-web",
baseUrl: "https://app.notion.com/api/v3/runInferenceTranscript",
authType: "apikey",
authHeader: "cookie",
passthroughModels: true,
models: withFriendlyNotionAliases(NOTION_WEB_FALLBACK_MODELS).map((m) => ({
id: m.id,
name: m.name,
})),
};