Call OpenAI, Claude or Gemini from your app — without a backend

The usual advice — "never ship your key, put a backend in front" — assumes you want to build and operate a server. For a mobile app with no backend, that's a lot of work to hide one secret. A managed proxy does the same job, and you do not run a server.

The request code barely changes

You keep calling the provider's native API — same paths, same request and response shapes. Only the base URL and the credential change:

// before
let baseURL = "https://api.openai.com/v1"
let apiKey  = "sk-…"              // shipped in the app

// after
let baseURL = "https://api.myapptoken.com/api/v1/proxy/<app>/openai"
let apiKey  = sessionJWT          // short-lived, per user

Your app has one more small job: get a short-lived token from the proxy, renew it when it expires, and send the App Check header if you enable App Check. Read more: Ephemeral tokens: how a mobile app should get an access token for AI APIs.

The proxy injects your real key server-side on the way out. Provider-specific auth is built in: OpenAI-style Bearer, Anthropic's x-api-key, Gemini's x-goog-api-key, Replicate, fal.ai and others.

It stays transparent

Per-provider walkthroughs are in the guides. Or start free and swap one base URL.

Stop shipping your API key inside your app.

Swap the base URL, keep the provider's native API, and let the proxy inject your key server-side.

Start free