Study guide
AI on your own website: a grounded assistant, llms.txt and AI search
The main points of the lesson, for review.
Key terms
- Grounded assistant (RAG): searches your pages first, then answers from those passages with links
- Safety screen: a check before any AI runs that gives crisis questions a fixed answer
- API key: the password that bills your account; it lives on the server only
- Spend limit: a monthly cap you set on API costs
- AI Overview and AI Mode: Google's AI answers in search, built on its normal ranking
- Query fan-out: several related searches run behind the scenes to build one AI answer
- llms.txt: a proposed file listing your key pages for AI tools
Facts that move (checked November 24, 2026)
- Haiku 5.5: $0.10 in, $0.50 out per million tokens; about $0.45 per 1,000 answers of 3,000 in and 300 out (Anthropic pricing)
- Sonnet 5.5 about $9 and Opus 5.5 about $18 per 1,000 such answers (Anthropic pricing)
- Google does not use llms.txt for AI Overviews or AI Mode (Google, May 2026)
- 97% of llms.txt files on 137,210 domains got zero AI requests in May 2026 (Ahrefs)
- The HHS tracking-technology bulletin still stands for the most part (Phelps, July 2026)
Questions to ask before any site assistant goes live
- Where does the key live?
- What does it say to someone in crisis?
- Which pages can it read?
- What is logged, and for how long?
- What happens when the AI company has an outage?
- Is there a spend limit?