Building an AI app has never been easier. Keeping it alive as it grows has never been harder. A few hundred daily active users mean thousands of API calls a day. At current model pricing, that adds up faster than most indie developers can monetize
What if inference costs weren't a barrier you had to build your pricing around because your users are already paying OpenAI and Anthropic every month. so why can't your app use it?
You can't. Not out of the box anyway. OpenAI, Anthropic, Google none of them offer a native way for users to bring their subscription to a third party app. No OAuth flow. No 'sign in with OpenAI.'
That’s what this opensource project is trying to solve , Polarish has two parts. The first is polarish/ai an SDK for developers, similar to the Vercel AI SDK, that you use to build your app and workflows. The second is polarish/cli this is where the magic happens. Instead of your app sending requests directly to OpenAI or Anthropic's endpoints, it routes them through the CLI running on the user's machine, which uses their existing Codex or Claude Code installation to fulfill the request.

Top comments (0)