-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Hi team, thank you for OpenRouter — it’s a great tool for developers experimenting with LLMs.
I’ve been building serverless, browser-only apps, and noticed a common pain point: users struggle to manually copy-paste their API key, model, and endpoint — especially when the UI is in English or they’re unfamiliar with tokens.
Your Provisioning API is perfect for SaaS platforms (where you pay for users), but for open-source, client-side apps, users should use their own keys — we just need a secure way to deliver them.
Proposal: #OneClickLLM flow
- App redirects user to: https://openrouter.ai/setup?client=AppName&redirect_uri=https://app.com/
- User logs in (or signs up) and clicks “Issue token”.
- OpenRouter redirects back with a scoped token in the URL hash: https://app.com/#token=sk-or-v1-xxx&model=qwen/qwen3-235b-a22b:free
- App reads the hash and uses the token locally.
This requires no backend, works on GitHub Pages, and keeps tokens never leaving the browser.
Would you consider supporting this flow? I’d be happy to help test or document it.
Thanks for your time!
Metadata
Metadata
Assignees
Labels
No labels