# How to Run OpenAI & Claude on the Frontend Without Leaking Your API Keys 🤯

> Source: <https://dev.to/amrzlabs/how-to-run-openai-claude-on-the-frontend-without-leaking-your-api-keys-4414>
> Published: 2026-06-25 21:50:16+00:00

We've all been there: you want to build a cool AI-powered feature for your frontend app, but then reality hits. You have to spin up a Node/Python backend just to hide your OpenAI or Anthropic API keys so no one steals them and runs up your bill.

Not anymore. **Puter.js** completely flips the script. 🔄

Puter.js is a serverless JavaScript library that lets you build full-stack, AI-powered applications directly in the browser.

If you want to prototype and deploy AI apps at lightning speed, check out [docs.Puter.com](https://docs.puter.com/)!

👉 *Have you built anything with Puter yet? Let me know in the comments!
