The free OpenRouter alternative for coding agents
The same API as OpenRouter. No platform fee.
The models we serve keep their OpenRouter ids and cost the provider's list price. No subscription, free with your own keys, and up to 20% bonus credit when you add money.
client = OpenAI(- base_url="https://openrouter.ai/api/v1",+ base_url="https://api.plaingateway.com/api/v1", api_key=os.environ["PLAINGATEWAY_API_KEY"], )- platform fee
- 0%
- the provider's own price for every token
- List price
- of credit for every $100 you add
- $100
Switch in three steps
Your code and your tools stay as they are.
Get a key
Sign up with your email and create a key. No card needed.
sk-pg-v1-Change the base URL and the key
Set the new base URL and paste your plaingateway key in your tool's settings. The models we serve keep their ids.
-openrouter.ai/api/v1+ api.plaingateway.com/api/v1Send a request
Every answer says what it cost, at the provider's list price.
POST/chat/completions200 usage.cost 0.0000156
The exact setup for your tool
{
"$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" }
}
}
}
}What $100 buys
The same $100, as credit to spend on tokens.
OpenRouter fee: 5.5% ($0.80 minimum) on credit purchases. openrouter.ai/docs/faq, read 2026-11-11.
Sellers rent us spare capacity from their own provider accounts. We keep the difference between what we pay them and the list price.
Models we serve
Prices are the provider's list price per million tokens, read on 2026-11-29. The ids are the ones OpenRouter uses.
- Azuredeepseek/deepseek-v4-flashInput $0.19Output $0.51
- Azuredeepseek/deepseek-v4-proInput $1.74Output $3.48
- Amazon Bedrockmoonshotai/kimi-k3Input $3.00Output $15.00
- Azureopenai/gpt-5.6-lunaInput $0.20Output $1.20
- Azureopenai/gpt-5.6-solInput $4.00Output $20.00
- Azureopenai/gpt-6-lunaInput $0.10Output $0.50
- Azureopenai/gpt-6-solInput $2.00Output $10.00
- Azureopenai/gpt-6.1-solInput $2.00Output $10.00
Up to 20% bonus credit
Pay $100, get up to $120 of credit. You pay the full amount, and the bonus credit you have earned is added on top of your next top-up made by hand.
Invite people
1% for each person, once they have paid $20 in total.
Post about plaingateway
Write a public post about how you use it.
Add your own provider key
It counts as soon as the key is saved.
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%.
Who runs plaingateway?
Henry. Write to support@plaingateway.com.