From 9a719a969714d75eaefa1eb294ca4521db580154 Mon Sep 17 00:00:00 2001 From: Dang Nguyen Date: Tue, 12 May 2026 20:05:21 -0500 Subject: [PATCH 1/2] WIP: bring-your-own OpenRouter key on review page Adds a prominent always-visible section on /review.html where users can paste a personal OpenRouter key. When supplied, the backend uses it for the review and bypasses the shared daily limit, leaving more of the shared budget for less well-resourced users. - New BYO key panel between the help text and the email field, on brand (accent-light bg + accent border) so it reads as a first-class option rather than a hidden tweak. - Password input; key is sent as the `openrouter_api_key` form field and never persisted in the page. - Backend URL auto-detects localhost vs production so the same page works against a local uvicorn (port 8080) during development. --- review.html | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/review.html b/review.html index 1700d57..9fb7a7c 100644 --- a/review.html +++ b/review.html @@ -406,6 +406,18 @@

Upload your paper

We only use your submission for reviewing purposes. If you give feedback on the result page, your feedback (and submission) may be used in an open benchmark for improving AI reviewing. + +
+
Have an OpenRouter key?
+
+ The system has a daily budget shared across all users. If you have an OpenRouter key, please use it so there is more budget left for less well-resourced users. Your key is used only for this single review and is never stored or logged. Get one at openrouter.ai/keys. +
+ +
+ Upload your paper