Description
Keep the existing bring-your-own-key (BYO) path as a Pro-only option. A Pro user can choose to supply their own OpenAI key, in which case requests use their key (no metering against our quota) instead of the hosted proxy. Free users always use the metered hosted proxy.
Today BYO key is the only path: the key is stored in chrome.storage.local and used directly by app/src/lib/openai.ts. This issue repositions that as a Pro power-user feature rather than the default.
Why
Some power users prefer their own key for cost control, higher limits, or model choice, and it costs us nothing to serve them. Offering it to Pro preserves a feature early adopters already rely on, gives Pro extra value, and reduces our AI bill. Restricting it to Pro avoids a loophole where free users bypass metering entirely.
Acceptance Criteria
Resources
Description
Keep the existing bring-your-own-key (BYO) path as a Pro-only option. A Pro user can choose to supply their own OpenAI key, in which case requests use their key (no metering against our quota) instead of the hosted proxy. Free users always use the metered hosted proxy.
Today BYO key is the only path: the key is stored in
chrome.storage.localand used directly byapp/src/lib/openai.ts. This issue repositions that as a Pro power-user feature rather than the default.Why
Some power users prefer their own key for cost control, higher limits, or model choice, and it costs us nothing to serve them. Offering it to Pro preserves a feature early adopters already rely on, gives Pro extra value, and reduces our AI bill. Restricting it to Pro avoids a loophole where free users bypass metering entirely.
Acceptance Criteria
Resources
app/src/lib/openai.tsandapp/src/lib/storage.ts(current BYO-key handling)