OpenAI Provider
Configure the OpenAI-compatible endpoint for/openai/v1/* requests.
Compatible APIs
Any OpenAI-compatible API works:Anthropic Provider
Configure the Anthropic endpoint for/anthropic/v1/* requests.
Codex CLI Backend
Configure the Codex ChatGPT-login endpoint for/codex/* requests.
PasteGuard forwards the Codex CLI
Authorization header to the Codex backend. Use /codex for Codex users signed in with ChatGPT. Use /openai/v1 only for OpenAI API-key traffic.
Local LLM
Required for route mode only. Your local LLM for PII requests.Ollama
vLLM
llama.cpp
LocalAI
Client Headers
OpenAI, Anthropic, and Codex excludex-pasteguard-*, Open WebUI identity headers (x-openwebui-user-*, x-openwebui-chat-id), and original host/connection headers. Other headers pass through unmasked.
JSON calls rebuild body headers; passthrough preserves content type, encoding, and length.
API Key Handling
Client auth takes priority. Configured keys are fallbacks for protected OpenAI/Anthropic calls. Local reroutes use local credentials. Anthropic suppliesanthropic-version: 2023-06-01 only when absent.