Choose how you use AI.
Use your own AI provider API key (BYOK) free forever, or sign in to a leonOffice account and use Prime credits. Both approaches can be used independently or together.
Bring Your Own Key (BYOK)
Connect OpenAI-compatible, Anthropic, or Gemini protocols in Settings → AI Models with your custom Base URL and API key. Assign separate models for Chat & Generation, Image Generation, and Image Analysis. Usage is billed directly by your provider.
Setup instructions →leonOffice Prime
Sign in to a leonOffice account to use AI with shared account credits across all 8 editors — no API key or model configuration required. Includes a proposed 50-credit welcome grant on first login (billing flow in validation).
View draft plans →Use both & stay in control
Switch between BYOK and Prime anytime, queue follow-up prompts while AI streams, or right-click in Slides, HTML, and Markdown to hide sensitive text or media from AI using {{placeholder}} tokens.
Understand data flow →What happens when you use AI?
- When you do not use AI, your document content is never sent to an AI service.
- When you request AI, only your instruction and selected or relevant content are sent for processing.
- With BYOK, requests go directly to the AI provider and Base URL you configured; your key is stored in local settings.
- With Prime credits, requests are routed through the leonOffice server to an AI service and metered by token/operation usage.
- Local file search indexes documents on your computer; optional Search Result Re-ranking is off by default.