Route mode sends requests containing PII to a local LLM. Requests without PII go to OpenAI or Anthropic.Documentation Index
Fetch the complete documentation index at: https://pasteguard.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
How It Works
Request with PII
Routed to Local LLM (Ollama, vLLM, llama.cpp, etc.)PII stays on your network.
Request without PII
Routed to OpenAI or AnthropicFull performance.
When to Use
- Have local GPU resources
- Need complete data isolation for sensitive requests
- Must prevent any PII from leaving your network
Configuration
- No PII detected → Request goes to OpenAI or Anthropic
- PII detected → Request goes to local LLM
For Anthropic requests, the local LLM must support the Anthropic Messages API (e.g., Ollama with Anthropic API compatibility).
Local LLM Setup
Ollama
vLLM
llama.cpp
LocalAI
Response Headers
Route mode sets these headers on responses: When a request is routed to local:fallback_language: