PromptKeeper docs

Operational notes

Model routing

OpenRouter powers model metadata and chat completions. Metadata is cached in Upstash Redis, with local fallback metadata for development without secrets.

Guardrails

Prompt injection, PII exposure, and secret exposure checks can be configured to off, warn, or block before a run starts.

Persistence

Runs, responses, comparison summaries, Auth.js records, and billing linkage are stored through Drizzle ORM against Neon Postgres.

Media and sandbox

Pro-only routes gate ElevenLabs TTS, Whisper STT, image generation, and E2B execution through tier quotas.