跳到正文
原文
Reddit r/webdev· /u/Background-Bass-5788·· 4 小时前AI 评分58

OpenCredits 用应用内充值替代粘贴 API key,并公开其计费基础设施

We replaced "paste your API key" in AI apps with an in-app credit top-up. Here's the billing infrastructure it took.

AI 导读

OpenCredits 团队为 Claude Code Chat 做了一套应用内充值计费层,用户点 Add credits 即可在应用内支付 $5–$500,1 credit = $0.01,开发者嵌入 SDK 并改 baseURL 就能接入 390+ 模型。

来源:Reddit r/webdev · reddit.com