Add AI to any website

Users bring their own LLM. One script tag, any provider, your UI. Zero AI costs.

index.html
<script src="cdn.bundlellm.com/sdk.js"></script>

<div id="chat"></div>

<script>
  BundleLLM.init().renderChat('#chat')
</script>

Add AI chat to any website in 3 lines.

How it works

Three steps to AI-powered features on your site.

1

Add one script tag

Include the SDK and call renderChat() for a drop-in widget, or use the event API for full control over your UI.

2

User picks their provider

They choose OpenRouter (200+ models, one-click OAuth) or connect Anthropic with an API key.

3

Chat streams directly

Your site sends prompts and receives streaming responses. The SDK connects directly to the provider — no middleman, no AI costs for you.

Two ways to integrate

Drop-in widget or full custom UI — your choice.

Recommended

Drop-in Widget

Complete chat UI in 3 lines. Sign-in, streaming, sign-out — all handled.

<script src="cdn.bundlellm.com/sdk.js"></script>
<div id="chat" style="height:500px"></div>

<script>
  BundleLLM.init().renderChat('#chat', {
context: 'Product page for...',
placeholder: 'Ask about this product',
}) </script>

Custom UI

Full control with event-driven API. Build your own chat experience.

const ai = BundleLLM.init()

ai.renderSignIn('#btn')
ai.on('connected', ({ provider }) => {
// Show your chat UI
}) const stream = ai.chat({
messages: [{ role: 'user', content: '...' }],
context: 'Your data...',
}) stream.on('delta', (text) => {
// Append to your container
})

Supported Providers

Your users choose their provider. You write zero provider-specific code.

OpenRouter

OAuth

200+ models — Claude, GPT, Gemini, Llama

Anthropic

API Key

Claude Sonnet 4, Haiku 4.5, Opus 4

More providers added as they support OAuth. API key fallback works with any provider.

Why BundleLLM

Everyone wins when users own their AI.

For site owners

  • Zero AI costs — users pay their own provider
  • No API keys to manage or secure on your server
  • One integration supports every major LLM
  • Drop-in widget or full custom UI — your choice

For users

  • Use their existing AI account everywhere
  • Choose their preferred model and provider
  • Keys stay in the browser — never sent to your servers
  • One-click OAuth for OpenRouter (200+ models)

How it's different

  • No server needed as the SDK calls providers directly
  • No user accounts to create or manage
  • 14KB script, zero dependencies
  • Works with any frontend framework

Coming Soon

What we're building next.

Analytics Dashboard

In development

See how users interact with AI on your site. Track connections, messages, token usage, and provider breakdown per domain.

Managed Context (RAG)

Planned

Upload your docs, product data, or knowledge base. BundleLLM automatically retrieves relevant context for every chat message.

Want early access? Get in touch