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
API Key Handling
PasteGuard forwards your client’s authentication headers to the configured upstream. You can optionally setapi_key in config as a fallback for OpenAI and Anthropic. Codex CLI traffic uses the CLI’s ChatGPT-login authorization header: