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";
// g4f.space/api/groq — optional-auth remote gateway to Groq (gpt4free, issue #6650).
// Anonymous requests require proof-of-work cake credits; a member API key is the
// alternative. Standard OpenAI chat/completions + /v1/models; no custom executor.
export const g4f_groqProvider: RegistryEntry = {
id: "g4f-groq",
alias: "g4fgroq",
format: "openai",
executor: "default",
baseUrl: "https://g4f.space/api/groq/v1/chat/completions",
modelsUrl: "https://g4f.space/api/groq/v1/models",
authType: "optional",
authHeader: "bearer",
passthroughModels: true,
models: [
{ id: "llama-3.3-70b-versatile", name: "Llama 3.3 70B (g4f/Groq)" },
{ id: "llama-3.1-8b-instant", name: "Llama 3.1 8B Instant (g4f/Groq)" },
],
};