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

809 B
Raw Blame
import type { RegistryEntry } from "../../shared.ts";

// g4f.space/api/pollinations — optional-auth remote Pollinations gateway (gpt4free,
// issue #6650). Anonymous requests require proof-of-work cake credits; a member API key
// is the alternative. This remains separate from the direct pollinations.ai entry.
export const g4f_pollinationsProvider: RegistryEntry = {
  id: "g4f-pollinations",
  alias: "g4fpol",
  format: "openai",
  executor: "default",
  baseUrl: "https://g4f.space/api/pollinations/v1/chat/completions",
  modelsUrl: "https://g4f.space/api/pollinations/v1/models",
  authType: "optional",
  authHeader: "bearer",
  passthroughModels: true,
  models: [
    { id: "openai", name: "OpenAI (g4f/Pollinations)" },
    { id: "openai-fast", name: "OpenAI Fast (g4f/Pollinations)" },
  ],
};