plaingateway

The free OpenRouter alternative.

Up to 20% bonus credit when you add money. Same API as OpenRouter. Tokens cost the provider's list price, with nothing on top.

Switch in one line

Change the base URL and the API key. The models we serve keep their OpenRouter ids.

opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "plaingateway": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "plaingateway",
      "options": {
        "baseURL": "https://api.plaingateway.com/api/v1",
        "apiKey": "{env:PLAINGATEWAY_API_KEY}"
      },
      "models": {
        "openai/gpt-5.6-luna": { "name": "GPT-5.6 Luna" }
      }
    }
  }
}

All setup pages

What it costs

WherePlatform feeYou pay $100, you get
OpenRouter5.5%$94.79 of credit
plaingateway0%up to $120 of credit

“OpenRouter charges a 5.5% ($0.80 minimum) fee when you purchase credits.” openrouter.ai/docs/faq, read 2026-11-11.

Questions

How do I earn bonus credit?

Invite someone: 1% each, once they have paid $20 in total. Post about plaingateway or add your own provider key for more. Each task adds bonus credit to the next top-up you make by hand, up to 20%.