OpenRouter
One API key for hundreds of AI models.
Free plan; pay-as-you-go plans add a platform fee on credits. Checked 2026-10-14.
Quick start
Create a key with a monthly spending limit and set OPENROUTER_API_KEY.
Good and not so good
- Switch models without code changes
- Usage limits per key
- Platform fee on paid usage
Use cases with OpenRouter
Route models through an open OpenRouter that learns from usage
Built an open OpenRouter-style gateway that turns usage into a better routing model.
Give Claude Code a website and a real ad budget and see what it does
A web developer handed Claude Code a baseline site plus access to Google, X, LinkedIn and Reddit ads with a budget, Apify and OpenRouter. The site is personalized per visitor, with most content rendered client-side by DeepSeek.
Run your own LLM proxy to see exactly what your agents and apps spend
A builder argues the provider dashboards are not real token statistics and routes every agent, harness and app through a self-hosted LLM proxy instead. One endpoint covers many providers and models, logs which key called which model from which client and when, and hands out virtual API keys so the main key is not pasted into every tool.
Build and install Android apps on your phone with no computer
AppMama is an Android app that builds Android apps on the phone: you type an idea, Claude Code, Codex, Grok or OpenRouter writes the code, Gradle compiles it on the device and you install the APK.
Build a Chrome extension that grades your code with a fast model
A developer vibe-coded a Chrome extension that sends code to a fast "system 1" model (Mercury) through your own OpenRouter key and returns notes on approach, efficiency and code style.
Track real API bills for the same 3D game prompts across three models
A tester ran identical 3D and game-dev prompts through Gemini 4 Argon, Opus 5.5 and GPT-6 Astra on OpenRouter with a 32K token cap and logged time and cost. On a one-shot 3D kart game, Gemini finished first in 220.6s for $0.306.
Suggested in setups
Build your own AI assistant on Telegram as a first project
A hobbyist built a personal AI assistant on Telegram as his first Claude Code project.
Let your agent run smart-home automations
Connect your agent to Home Assistant via MCP and route automations that need judgement through it; talk to it with an ESP32 voice device.