Directory › Development › OpenRouter
> GEM DEVELOPMENT · AGENTS & AUTOMATION
OpenRouter
by OpenRouter
One API key to try 500+ models, 25+ of them free.
View the project →What it does
- A single OpenAI-format endpoint to 80+ providers
- 25+ free models, and an “openrouter/free” router that picks for you
- Handy for trying several models in Aider, goose or opencode without juggling accounts
! The free plan is limited to 50 requests a day on free models (1,000 a day after buying at least 10 credits). Paid models use credits, with a 5.5% platform fee on the Standard plan per their pricing grid. Closed service, not open source.
Install it
Requirements: An OpenRouter account (free) and an API key. No credit card for the free models.
Create an account and a key
https://openrouter.ai/
Test with a free model
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openrouter/free","messages":[{"role":"user","content":"Bonjour"}]}'
The prompt for your agent
Paste it into your coding agent: it checks the requirements and installs it for you.
Claude CodeCodexCursorGemini CLIopencode
Prompt
Help me get started with OpenRouter (https://openrouter.ai/).
1. Summarize what the tool can do for me: One API key to try 500+ models, 25+ of them free.
2. Explain how to create an account and check current pricing on the official site.
3. Suggest a first concrete use case, step by step.
Always review what your agent is about to run, especially install commands.