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";
/**
* Dahl — OpenAI-compatible free inference provider.
*
* Token lifecycle: accounts are created by POSTing to
* https://inference.dahl.global/tokens (proxied via /api/dahl/tokens to
* avoid browser CORS). The response `{ available_tokens, token }` yields
* the API key stored as connection authType "apikey".
*
* Models are hardcoded — MiniMax M2.7 and Kimi K2.6.
*/
export const dahlProvider: RegistryEntry = {
id: "dahl",
alias: "dahl",
format: "openai",
executor: "openai-compatible",
baseUrl: "https://inference.dahl.global/v1/chat/completions",
authType: "apikey",
authHeader: "bearer",
authPrefix: "Bearer",
passthroughModels: false,
defaultContextLength: 200000,
models: [
{ id: "MiniMaxAI/MiniMax-M2.7", name: "MiniMax M2.7" },
{ id: "moonshotai/Kimi-K2.6", name: "Kimi K2.6" },
],
};