A model and its bill
Pick a model, handle rate limits and watch token costs grow with traffic.

// ai-chatbot.component.ts
import { Component, Input, OnInit, Inject } from "@angular/core";
import { DOCUMENT } from "@angular/common";
const SRC = "https://elfsightcdn.com/platform.js";
@Component({
selector: "app-ai-chatbot",
standalone: true,
template: `<div [class]="'elfsight-app-' + id" data-elfsight-app-lazy></div>`,
})
export class AiChatbotComponent implements OnInit {
@Input({ required: true }) id!: string;
constructor(@Inject(DOCUMENT) private doc: Document) {}
ngOnInit() {
if (this.doc.querySelector(`script[src="${SRC}"]`)) return;
const s = this.doc.createElement("script");
s.src = SRC;
s.async = true;
this.doc.body.appendChild(s);
}
}<app-ai-chatbot id="YOUR-ID" />Learns from your website automatically
Lead forms and human handoff built in
Chat history, transcripts and analytics
Floating or embedded, styled in the editor
Free plan, no credit card
Standalone component. Import it where you need it — no module to register.
SSR-safe. It touches the document through Angular’s DOCUMENT token.
Floating or embedded. Put a floating chat in the app component once; an embedded one where it should show.
// ai-chatbot.component.ts
import { Component, Input, OnInit, Inject } from "@angular/core";
import { DOCUMENT } from "@angular/common";
const SRC = "https://elfsightcdn.com/platform.js";
@Component({
selector: "app-ai-chatbot",
standalone: true,
template: `<div [class]="'elfsight-app-' + id" data-elfsight-app-lazy></div>`,
})
export class AiChatbotComponent implements OnInit {
@Input({ required: true }) id!: string;
constructor(@Inject(DOCUMENT) private doc: Document) {}
ngOnInit() {
if (this.doc.querySelector(`script[src="${SRC}"]`)) return;
const s = this.doc.createElement("script");
s.src = SRC;
s.async = true;
this.doc.body.appendChild(s);
}
}Time to launch
AI Chatbot
Your own build
Knowledge
AI Chatbot
Your own build
Chat UI
AI Chatbot
Your own build
Leads and handoff
AI Chatbot
Your own build
Transcripts and analytics
AI Chatbot
Your own build
Costs
AI Chatbot
Your own build
Upkeep
AI Chatbot
Your own build