The identity and payments layer for AI products

Add sign-in, an OpenAI-compatible gateway to 200+ models and usage-based billing to your app with one SDK.

Free to start. Pay only for what you use.

200+
AI models behind one endpoint
5
Ways to sign in, passkeys included
100%
OpenAI SDK compatible
1
SDK for auth, billing and AI

Full-stack AI components

Auth and billing UI, as React components

Drop @hyperyai/sdk into any React app. Sign-in, a user button and billing prompts that appear when a limit is hit — all wired to the gateway, all yours to restyle.

  • <SignedIn>, <SignedOut>, <UserButton> and <SignIn> — drop-in and restyleable
  • OAuth 2.0 with PKCE, passkeys, magic link and social login
  • Prompts that open themselves when a request hits a limit
import { HyperyProvider, SignedIn, SignedOut, SignIn, UserButton } from "@hyperyai/sdk"
 
export default function Layout({ children }) {
return (
<HyperyProvider config={{
clientId: process.env.NEXT_PUBLIC_HYPERY_CLIENT_ID,
redirectUri: "https://yourapp.com/callback",
gatewayUrl: "https://hypery.ai",
}}>
<SignedIn>
<UserButton />
{children}
</SignedIn>
<SignedOut>
<SignIn />
</SignedOut>
</HyperyProvider>
)
}

OpenAI and Vercel AI compatible

A backend that speaks OpenAI

Point any OpenAI-compatible client at the gateway. Swap one base URL for 200+ models, automatic routing and usage-based billing — no rewrites.

  • Works with the OpenAI SDK, Vercel AI SDK and LangChain
  • 200+ models across OpenRouter, Replicate and Hugging Face
  • Streaming, usage metering and spend caps built in
gateway.ts
import OpenAI from "openai"
 
const client = new OpenAI({
baseURL: "https://hypery.ai/v1",
apiKey: process.env.GATEWAY_API_KEY,
})
 
await client.chat.completions.create({
model: "anthropic/claude-3.5-sonnet", // routed automatically
messages: [{ role: "user", content: "hello" }],
})

For your users

A home for everything they use and pay for

People who sign in to your app with Hypery get a simple dashboard of their own — no developer knowledge needed.

  • One account and one balance across every app built on Hypery
  • See exactly what each app can access, and disconnect it in a click
  • Every subscription and renewal date in one place
  • Spending limits per app, so there are no surprises

Get started

Add sign-in, billing and AI in an afternoon

Install the SDK, wrap your app and point the OpenAI SDK at the gateway. Login, payments and 200+ models from day one.

$npm i @hyperyai/sdk