Credits & Usage

Oculum uses a credit-based system to track scan usage. This page explains how credits work and how to manage your quota.

How Credits Work

  • 1 credit = 1 scan operation
  • Credits are consumed when you run scans via CLI, API, or GitHub Action
  • Your monthly quota resets on your billing date
  • Unused credits do not roll over

Plan Comparison

PlanPriceCredits/monthScan DepthsBest For
Free$05cheap onlyTrying Oculum
Starter$9/mo100cheap, validatedSolo developers
Pro$19/mo250all depthsSmall teams
Max$60/mo1,000all depthsActive development

Feature Comparison

FeatureFreeStarterProMax
Pattern matching (cheap)YesYesYesYes
AI validation (validated)NoYesYesYes
Deep analysis (deep)NoNoYesYes
Dashboard accessYesYesYesYes
API accessNoYesYesYes
GitHub ActionYesYesYesYes
Priority supportNoNoYesYes

What Uses Credits

Scans That Use Credits

ActionCredits
CLI scan (oculum scan)1
API scan (POST /scan)1
GitHub Action run1
VS Code extension scan1

Free Operations

These actions do not consume credits:

  • Checking your usage (oculum usage)
  • Viewing scan history (oculum history)
  • Authentication (oculum login)
  • Verifying API keys

Scan Depth and Credits

All scan depths consume the same number of credits:

  • cheap scan = 1 credit
  • validated scan = 1 credit
  • deep scan = 1 credit

The difference is in what you get: validated and deep scans include AI analysis for better accuracy.


Tracking Usage

CLI

Check your current usage:

oculum usage

Output:

Plan: Pro
Credits: 45 / 250 (18%)

Recent Scans:
  my-project    validated   2 min ago
  api-service   cheap       1 hour ago
  web-app       deep        3 hours ago

Reset Date: February 1, 2026

For JSON output (useful for scripting):

oculum usage --json

Dashboard

View your usage at /dashboard/usage:

  • Visual usage meter
  • Scan history
  • Plan details
  • Upgrade options

Managing Usage

Tips for Efficient Usage

  1. Use cheap scans for quick checks

    oculum scan --depth cheap
    

    Fast feedback during development, save validated scans for important commits.

  2. Use incremental scans in CI

    oculum scan --incremental
    

    Only scans changed files, reducing noise and focusing on new code.

  3. Set up profiles

    {
      "profiles": {
        "quick": { "depth": "cheap" },
        "ci": { "depth": "validated", "incremental": true }
      }
    }
    
  4. Reserve deep scans for audits Deep scans are most valuable for initial setup and periodic security reviews.

Quota Warnings

  • At 80% usage, you'll see upgrade prompts in the CLI and dashboard
  • At 100% usage, scans will fail until your quota resets

Upgrading Your Plan

From CLI

oculum upgrade

Opens upgrade information and pricing options.

From Dashboard

Visit /pricing to compare plans and upgrade.

Mid-Cycle Upgrades

If you upgrade mid-cycle:

  • Your new quota is available immediately
  • Previous usage counts against the new quota
  • Billing is prorated

API Rate Limits

In addition to credit-based quotas, API requests have rate limits:

PlanRequests/minute
Free10
Starter30
Pro60
Max120

Rate limit headers are included in API responses:

  • X-RateLimit-Limit — requests allowed per minute
  • X-RateLimit-Remaining — requests remaining
  • X-RateLimit-Reset — timestamp when limit resets

Enterprise

For organizations with larger needs:

  • Custom credit quotas
  • Volume discounts
  • Self-hosted deployment options
  • Dedicated support

Contact enterprise@oculum.dev for details.


Related