Custom Models
Default Model
PageMod provides a shared AI model by default, requiring no extra configuration. The free tier has a request quota limit.
Adding a Model Provider
- Go to Settings (right-click PageMod icon → Options).
- Find the "Model Providers" section and click "Add Provider".
- Fill in the following:
- Name: Custom provider name (e.g., "My Claude").
- Provider Type: Select Anthropic, OpenAI, DeepSeek, Gemini, or Custom.
- API Base URL: The provider's API address. Built-in providers auto-fill the default URL.
- API Key: Your model provider's API key. This key is stored only in your local browser.
- Click "Fetch Models" to pull available models from the provider.
- Or manually add models: click "Add Model", fill in model ID, display name, image input support, max tokens, etc.
Managing Models
- Set as Default: In the provider list, click "Use Model" for a provider to set it as default for AI conversations.
- Select Model: In the side panel chat's model selector, switch between models and providers for the current session.
- Test Connection: Click "Test Connection" in provider settings to verify API Key and Base URL.
- Edit / Delete: Modify or remove provider configurations at any time.
Important Notes
- Your API Key is stored only locally in your browser (Chrome Storage) and transmitted via encrypted headers to the PageMod backend, which forwards it to the target provider.
- Using custom models may incur charges based on the selected provider's pricing.
- Built-in provider types auto-match the correct API format; custom types require manually specifying the API format (OpenAI / Anthropic / Gemini / Responses).