# PentestGPT Configuration # Copy this file to .env if you want to customize settings # ============================================================================= # Claude Configuration # ============================================================================= # Claude Code manages its own API configuration. # Configure with: claude config # Optional: Claude model to use # Options: claude-sonnet-4-5-20250929, claude-opus-4-20250514 LLM_MODEL=claude-sonnet-4-5-20250929 # ============================================================================= # Modernized legacy PentestGPT (pentestgpt-legacy) — provider API keys # ============================================================================= # Set keys only for the providers you intend to use. Run `pentestgpt-legacy # --list-models` to see which providers are configured, and `--smoke-test` to # verify each model actually responds. OPENAI_API_KEY= ANTHROPIC_API_KEY= GEMINI_API_KEY= # or GOOGLE_API_KEY DEEPSEEK_API_KEY= GROK_API_KEY= # xAI (or XAI_API_KEY) QWEN_API_KEY= # Alibaba DashScope (or DASHSCOPE_API_KEY) KIMI_API_KEY= # Moonshot (or MOONSHOT_API_KEY) # Optional base-URL overrides (defaults are built in per provider) # OLLAMA_BASE_URL=http://localhost:11434/v1 # OPENAI_BASE_URL= # DEEPSEEK_BASE_URL=https://api.deepseek.com