# AI Providers

## Purpose

Support multiple AI providers.

---

# Current/Future Providers

Possible:

- OpenAI.
- Anthropic.
- Google Gemini.
- Groq.
- Ollama.
- Other compatible APIs.

---

# Provider Architecture

Use abstraction:

AI Provider Interface

↓

Provider Implementation

↓

Model

---

# Requirements

Users should eventually be able to:

- Select provider.
- Select model.
- Configure API keys.

---

# Admin Controls

Admins should control:

- Available providers.
- Allowed models.
- Usage limits.

---

# SaaS Consideration

Different plans may have:

Free models.

Premium models.

BYO-key support.