Skip to content

Commit b9aae9d

Browse files
chore(enrichment): peg hosted credit cost to each provider's lowest paid plan
Align *_CREDIT_USD to the entry tier Sim will provision: - Datagma: Regular $49/3,000 emails → $0.0163 (was Popular $0.0132) - LeadMagic: Basic $49/2,000 → $0.0245 (was Growth $0.0104) Icypeas (Basic $0.019), Enrow (Starter $0.012), and Dropcontact (Starter ~$0.17) already reflect their lowest plan. Tests derive from the constants, so values stay consistent. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 6dea6b2 commit b9aae9d

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

apps/sim/tools/datagma/hosting.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ export const DATAGMA_API_KEY_PREFIX = 'DATAGMA_API_KEY'
1414
/**
1515
* Dollar cost of a single Datagma credit.
1616
*
17-
* Based on the Datagma Popular plan ($99/month, 7,500 credits ≈ $0.0132/credit).
17+
* Based on the entry Regular plan ($49/month, 3,000 emails ≈ $0.0163/credit);
18+
* per-credit drops at higher tiers (Popular/Expert) and on annual billing.
1819
* Email finder: 1 credit per verified email. Phone finder: 30 credits per mobile.
1920
* Enrichment: 2 credits per successful response.
2021
* Pricing source: https://datagma.com/pricing
2122
*/
22-
export const DATAGMA_CREDIT_USD = 0.0132
23+
export const DATAGMA_CREDIT_USD = 0.0163
2324

2425
/**
2526
* Build a Datagma `hosting` config. `getCredits` returns the number of Datagma

apps/sim/tools/leadmagic/hosting.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ export const LEADMAGIC_API_KEY_PREFIX = 'LEADMAGIC_API_KEY'
1010
* Dollar cost of a single LeadMagic credit.
1111
*
1212
* LeadMagic charges only when data is found (not_found results are free).
13-
* Per-credit rate varies by plan: Basic ≈ $0.0204, Essential ≈ $0.0165,
14-
* Growth ≈ $0.0104 ("from $0.007" at enterprise scale).
15-
* We use the Growth-tier rate as a conservative representative estimate.
13+
* Based on the entry Basic plan ($49/month, 2,000 credits ≈ $0.0245/credit);
14+
* per-credit drops at higher tiers (Essential/Growth). Email finder: 1 credit.
15+
* Mobile finder: 5 credits. Company search: 1 credit.
1616
*
1717
* Source: https://leadmagic.io/pricing
1818
*/
19-
export const LEADMAGIC_CREDIT_USD = 0.0104
19+
export const LEADMAGIC_CREDIT_USD = 0.0245
2020

2121
/**
2222
* Build a LeadMagic `hosting` config. `getCredits` returns the number of

0 commit comments

Comments
 (0)