Skip to content
Gemini CLI

Free LLM API Hub for Gemini CLI

io.github.pacocartones/free-llm-api-hub

Search free LLM API tiers, read an entry, get an OpenAI client config. Read-only, unaffiliated.

client:Gemini CLI transport:stdio runtime:npm

Install Free LLM API Hub in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "free-llm-api-hub": {
      "command": "npx",
      "args": [
        "-y",
        "free-llm-api-hub-mcp"
      ],
      "env": {
        "FLAH_DATA": "<FLAH_DATA>",
        "FLAH_CLIENTS": "<FLAH_CLIENTS>",
        "FLAH_STATUS": "<FLAH_STATUS>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Free LLM API Hub in other clients