Pricing#

edg is free for PostgreSQL/CockroachDB, MySQL, MongoDB, and Cassandra. Pro drivers require a paid license.

Free vs Pro#

DriverFlag ValueLicense Required
PostgreSQL / CockroachDBpgxNo
MySQLmysqlNo
MongoDBmongodbNo
CassandracassandraNo
OracleoracleYes
Microsoft SQL ServermssqlYes
AWS Aurora DSQLdsqlYes
Google Cloud SpannerspannerYes

Commands that don’t connect to a database (repl, validate config, and bare expression evaluation) work without a license regardless of driver.

Plans#

TrialPro
Duration14 days1 year (renewable)
SeatsUnlimitedSet at purchase
Pro driversAllAll
CostFreeSee plans

Free Trial#

Try all pro drivers free for 14 days. No credit card required.

Email lic@edg.run to request a trial license key. You’ll receive your key within minutes during business hours.

Buy Pro#

Ready to subscribe? Visit the Purchase page for monthly and yearly options.

For seat counts or custom terms, contact lic@edg.run.

Activating Your License#

After receiving your license key, activate your machine:

edg activate --license "your-license-key"
Activating machine a1b2c3d4e5f6...
Machine activated successfully.
License cached to /home/you/.edg/license.lic

This registers your machine with the license server and caches a signed license file locally for offline use. You only need to do this once per machine.

Using Your License#

Provide your license key via the --license flag or the EDG_LICENSE environment variable:

# Flag.
edg all \
  --driver oracle \
  --license "your-license-key" \
  --config workload.yaml \
  --url "oracle://user:pass@localhost:1521/XEPDB1"

# Environment variable (recommended).
export EDG_LICENSE="your-license-key"

edg all \
  --driver oracle \
  --config workload.yaml \
  --url "oracle://user:pass@localhost:1521/XEPDB1"

Offline Use#

After activation, edg works offline using the cached license file at ~/.edg/license.lic. The cache is valid for 30 days, after which edg will need to reach the license server to re-validate.

Deactivating a Machine#

To release a seat (e.g. before moving to a new machine):

edg deactivate --license "your-license-key"

This removes the machine from your license and deletes the local cache.

Checking Your License#

Use validate license to inspect license details without connecting to a database:

edg validate license --driver oracle --license "your-license-key"
License info:
  ID:           a1b2c3d4-e5f6-7890-abcd-ef1234567890
  Name:         Acme Corp
  Entitlements: pro
  Expires at:   2027-05-11
  Status:       VALID
  Machine:      a1b2c3d4e5f6...
License is valid for driver "oracle".

Docker#

In Docker, the machine fingerprint changes per container. Set a stable identity with EDG_MACHINE_ID:

docker run \
  -e EDG_LICENSE="your-license-key" \
  -e EDG_MACHINE_ID="my-ci-runner" \
  codingconcepts/edg activate

To persist the activation across container restarts, mount the cache directory:

docker run \
  -v edg-license:/root/.edg \
  -e EDG_LICENSE="your-license-key" \
  codingconcepts/edg all --driver oracle --config workload.yaml --url "..."

Error Reference#

ErrorMeaning
driver "X" requires a licenseNo license provided. Set --license or EDG_LICENSE.
machine not activated; run 'edg activate' firstLicense key is valid but this machine hasn’t been activated.
license has expiredLicense has passed its expiry date. Renew or contact lic@edg.run.
license does not include pro entitlementLicense is valid but not on a pro plan.
machine limit exceededAll seats are in use. Deactivate another machine first.
cached license is staleOffline cache is older than 30 days. Connect to the internet to re-validate.
license has been suspendedLicense was suspended by the administrator. Contact lic@edg.run.

By purchasing or using edg, you agree to the Terms of Use and Privacy Policy.