Websites pay nothing to implement AI Pay
import { useSessionData } from "ai-pay-react-hooks";
import react from "react";
export function AiPayExample(): React.ReactNode {
const {
browserExtensionInstalled, // false (Will update when browser extension installed)
sessionState, // UNANSWERED (Will update when session state changes)
} = useSessionData();
if (!browserExtensionInstalled) {
return <div>
<AiPayExampleNotInstalledHeader />
<AiPayExampleForWebsites />
<AiPayExampleForUsers />
<DownloadBrowserExtension />
</div>
}
if (sessionState !== "ACTIVE") {
...
}
return ...
}
Users pay a few cents for their individual AI costs
This feature requires that you download the AI Pay browser extension.
AI Pay Session State: UNANSWERED
Who is AI Pay for?
Websites
Websites can use AI Pay to implement AI products aimed to improve user experience.
Users of the browser extension
Users use AI Pay to unlock AI features on websites.
Receive 20 free credits when you sign up. No credit card required.
How It Works?
User downloads AI Pay
It takes a few clicks to add AI Pay to your browser.
Website requests AI Usage
Websites use code to ask the browser extension for an AI Pay session. The browser extension will automatically detect and notify the user when a website wants to use AI Pay.
User starts a session
The user specifies a session budget and starts a session. Starting a session allows the website to develop AI features to improve the user experience. The session is only valid for the user's current website at the point when they start the session.
Website can use AI to improve use experience
The website can now use AI Pay to call AI Apis (developer jargon) for free to deliver awesome AI features. The website can use AI while there is an active session and the session has a remaining budget.
User enjoys the AI features
For a very small amount of money the user can gain access to AI features that are only possible with AI Pay. Without AI Pay the website would have no way of paying for their AI usage.
Stop session
The session automatically stops when the user leaves the website or when the user directly stops the session.
AI Pay Use Cases
AI Pay can be used to power any AI website. Here are a few examples.