Provider Setup
PromptGuard supports multiple LLM providers out of the box. Install the relevant extra and set your API key.
OpenAI
Supported models: gpt-4o, gpt-4o-mini, gpt-4-turbo, and other OpenAI chat models.
Anthropic
Supported models: claude-3-opus, claude-3-sonnet, claude-3-haiku, and other Anthropic models.
Google Gemini
Supported models: gemini-1.5-pro, gemini-1.5-flash, and other Gemini models.
Local Models (Ollama, LM Studio, vLLM)
Any OpenAI-compatible API server works with PromptGuard:
This works with:
- Ollama —
ollama serveexposes an OpenAI-compatible endpoint - LM Studio — enable the local server in settings
- vLLM — start with
--api-keyand--served-model-name