Add-ons

Add-ons are optional features you can attach to your plan to extend its capabilities. They are independent of your base plan and can be added or removed at any time from the Previewops dashboard.


Advanced Perf

Price: $29/month
Available on: Premium BYOC, Pro, Enterprise, Custom

The Advanced Perf add-on upgrades the /perf-previewops performance testing experience:

Capability Without add-on With Advanced Perf
Max test duration 30 min 60 min
Historical baseline storage
--set-baseline flag
Baseline delta comparison

What it enables

How to activate

  1. Log in to the Previewops dashboard.
  2. Navigate to Installations → select your organisation.
  3. Click Add-ons.
  4. Click Subscribe next to Advanced Perf.
  5. Complete the Stripe checkout. The add-on activates immediately.

How to cancel

Cancel the Advanced Perf subscription from the Stripe customer portal (accessible from the dashboard). On cancellation, --set-baseline and baseline comparison are disabled and the duration cap reverts to 30 min. Existing baseline data is retained.


Custom LLM

Price: Free
Available on: All plans (including Free BYOC)

The Custom LLM add-on lets your organisation use your own LLM API key for AI-powered analysis across both /qa-previewops and /perf-previewops.

This add-on is required for Premium BYOC to receive any AI features. Pro, Enterprise, and Custom plans include AI out of the box via the shared operator key; this add-on lets those plans opt in to their own key instead.

This is useful if you want:

Supported providers

Provider Credential keys
OpenAI LLM_PROVIDER=openai, LLM_API_KEY=sk-…
Anthropic LLM_PROVIDER=anthropic, LLM_API_KEY=…

Optionally set LLM_MODEL to override the default model (defaults: gpt-4o for OpenAI, claude-3-5-sonnet-20241022 for Anthropic).

How to activate

The Custom LLM add-on is free and requires no Stripe checkout. Activate it directly from the dashboard or via the API:

Dashboard:

  1. Log in to the Previewops dashboard.
  2. Navigate to Installations → select your organisation.
  3. Click Add-ons.
  4. Click Activate next to Custom LLM.
  5. Add your LLM credentials in the Credentials section: set LLM_PROVIDER, LLM_API_KEY, and (optionally) LLM_MODEL.

API:

POST /control/billing/addon/activate
{ "addon": "custom-llm" }

Preview DB

Price: $29/month flat + $1.00/branch above 30 per month Available on: Premium BYOC, Pro, Enterprise, Custom

The Preview DB add-on provisions a fresh, isolated Postgres database branch for every pull request — automatically. It uses database branching under the hood and requires no changes to .previewops.yaml.

What it enables

Branch cap and overage

Your plan includes 30 Preview DB branches per month. Branches created above that cap are billed at $1.00 per branch via a Stripe metered component. The monthly counter resets on the 1st of each month.

How to activate

  1. Log in to the Previewops dashboard.
  2. Navigate to Installations → select your organisation.
  3. Click Add-ons.
  4. Click Subscribe next to Preview DB.
  5. Complete the Stripe checkout. The add-on activates immediately.

How to set up your staging URL

After activating the add-on, store your staging database URL as a credential:

  1. Navigate to Installations → select your organisation → Credentials.
  2. Set Provider key to preview-db.
  3. Add the key PREVIEW_DB_STAGING_URL with your staging Postgres connection string as the value.
  4. Click Save.

Previewops will sync this database into the preview parent branch on the next nightly job (or immediately if you trigger a manual resync from the dashboard).

The staging URL must be a publicly reachable Postgres connection string. Private-network-only hosts are not supported.

Keeping the parent branch in sync

The parent branch is automatically resynced every night. You can also trigger a resync on demand from the dashboard:

  1. Navigate to Installations → select your organisation.
  2. Click Preview DBResync now.

How to cancel

Cancel the Preview DB subscription from the Stripe customer portal (accessible from the dashboard). On cancellation, new PR deploys no longer receive a database branch and DATABASE_URL / PREVIEW_DB_URL are no longer injected. Existing previews still running at cancellation time retain their branches until they expire or are deleted.


Plan eligibility summary

Add-on Free Premium BYOC Pro Enterprise Custom
Advanced Perf
Custom LLM
Preview DB