More from Chirai · Chapter 21

Private AI

Private AI is your own AI model, for your business only. It runs on a private server Chirai sets up for you, or free on your own computer. It learns from your documents and your site, and it answers your customers. Your questions, answers and documents are never sent to an AI company. (This is NestAI, now part of Chirai.)

Why your own AI

  • Your data stays yours. Your documents and their index are kept on your server or computer. Questions and answers pass through Chirai encrypted and are never stored.
  • Never used to train anyone's model. No AI company sees your customers' questions or your prices.
  • A flat price. One monthly subscription for your own server, or free on your computer. There's no per-message bill.
  • Closed to the internet. Your server accepts no connections at all. It links out to Chirai over an encrypted connection, so there's nothing to attack from outside.
  • Trained on your business. It answers from your PDFs, price lists, FAQs and your Chirai site.

Set it up

  1. Open Private AI in Chirai (chirai.dev/ai) and press New AI.
  2. Choose what it's for:

- Wire it to my Chirai sites. Your site's assistant answers visitors from your AI. - An AI agent server on its own. Chat with it, and use it from your own tools with an API.

  1. Choose where it runs:

- A private server Chirai runs for me. Chirai creates it, installs the AI and keeps it running. It's ready in about 10–30 minutes. - My own computer. Free. Copy one command and run it once (step 4).

  1. On your own computer: run the command it shows you. On Mac or Linux, paste it into Terminal. On Windows, paste it into PowerShell. It installs Ollama (the AI) and the secure link, downloads the model, and starts with your computer. The command works once, for one hour.
  2. Choose how capable it should be:

- Quick: short answers. - Balanced: most businesses. - Thorough: longer documents, slower.

On your own computer, Quick needs 8 GB of memory, Balanced 16 GB and Thorough 32 GB.

Check it worked: the AI shows ● Online in Private AI. Open Try it and ask a question a customer would ask.

Teach it your business

Open your AI, then Knowledge. There are three ways to teach it:

  • Upload files: PDF, text, Markdown or CSV. Files are read in your browser and sent straight to your server or computer, where they're indexed. For a Word file, save it as a PDF first.
  • Learn my site: it reads your Chirai site's pages, products, prices, delivery, returns and contact details. Do this again after big changes in Manage site.
  • Paste text: FAQs, policies, notes.

Uploading a file with the same name replaces the old one. Remove deletes a document from your AI.

Wire it to your site

Open your AI, then Sites, tick your sites, and press Save. The site assistant switches on for those sites and answers visitors from your AI. It uses your site's facts plus everything in Knowledge.

If your AI is offline (for example, your computer is off), the assistant says it's offline. It never sends the question somewhere else.

Use it on its own (API)

Open your AI, then API, and create a key. The key is shown once. Then use any tool that speaks the OpenAI API:

base_url = "https://api.chirai.dev/api/ai/v1"
api_key  = "cai_…"
model    = the model shown on your AI

Answers include your Knowledge. Send "knowledge": false to leave it out. The limit is 60 requests a minute per key.

A Chirai site with its own AI features (Studio → Integrations → AI) can use the same base URL and key.

Price and payment

  • Your own computer: free.
  • A private server: a monthly subscription, one price per size, paid on the same secure checkout as your plan (Dodo Payments). It is separate from your Chirai plan and is charged automatically each month until you stop it:
SizeModelYour serverPrice
QuickChirai Private Lite4 vCPU · 8 GB memory · 75 GB NVMe$18 a month
BalancedChirai Private Plus6 vCPU · 12 GB memory · 100 GB NVMe$30 a month
ThoroughChirai Private Pro8 vCPU · 24 GB memory · 200 GB NVMe$54 a month
  • The server is a Contabo Cloud VPS in Germany (EU), used only for your AI. You're charged only once it's live. When the server comes online, you have 24 hours to try it, then you subscribe. If it never starts, nothing is charged.
  • It renews by itself. The server's price is charged each month and the page shows the next date. Press Stop renewing any time: nothing more is charged and the server runs to the end of the month you paid for. Turn auto-renew back on before that date to keep it.
  • Deleting a server stops its subscription at once and erases everything on it.
  • If you don't subscribe within 24 hours, or a renewal fails and isn't paid within 3 days, the server is cancelled and everything on it is erased.

Good to know

  • Private AI runs Chirai Private models (open source) without a GPU. Answers take a few seconds. It's best at questions about your own business.
  • Delete this AI cancels a Chirai server and erases it. On your own computer, it unlinks the computer. Ollama and your documents stay until you delete the .chirai-ai folder in your home folder.
  • To move it to another computer, get a new command in Setup and run it there. The old computer stops answering.