Token Economics: BYOK vs Managed Billing

Version: 2.0 Date: 2026-02-18 Owner: BizOps Status: Accepted (Token Bank model approved per DR-2026-004) Product: Legionis Related: DR-2026-001 (Pricing Model), DR-2026-004 (Token Bank Pricing), pricing-strategy.md, Legionis Agent Catalog


1. Executive Summary

Legionis currently operates a BYOK (Bring Your Own Key) model where users provide their own Anthropic API keys. The platform charges $10-25/mo for team-based modules. This analysis explores adding a managed billing option where Legionis handles Claude API calls and bills users with a markup on token costs.

The core tension: BYOK gives Legionis near-zero COGS and clean margins. Managed billing introduces variable COGS, payment processing drag, and token cost risk, but removes a significant friction point for users who don't want to manage API keys.

Recommendation (v2.0): Offer managed billing via Prepaid Token Banks at 15% markup, replacing the previously proposed 30% metered model. Users purchase dollar-denominated credit packs ($10/$25/$50/$100) with tiered bonuses at higher amounts. No expiration at launch. Optional auto-top-up. Per-task cost preview before execution. BYOK remains the hero path: "Bring your own keys for zero markup, or use our credits for instant setup."

Why the change from 30% metered to 15% prepaid: Prepaid Token Banks eliminate credit risk (cash collected before service rendered), reduce Stripe fees (one charge per top-up vs. recurring metered charges), deliver better UX (no surprise bills), and are competitively differentiated at 15% vs. industry-standard 20-40% markups. See DR-2026-004 for full decision record.


2. The Two-Segment Reality

Segment A: BYOK Users

DimensionValue
COGS per user~$0 (user pays Anthropic directly)
Platform fee$10-25/mo (100% gross margin minus infra)
User effortMust create Anthropic account, get API key, manage billing, monitor usage
User profileTechnical, comfortable with APIs, cost-conscious power users
Risk to LegionisZero token cost risk

Segment B: Managed Billing Users

DimensionValue
COGS per userVariable (Anthropic API costs + Stripe fees)
Platform fee$10-25/mo + token markup revenue
User effortZero API key management. Just use the product.
User profileNon-technical PMs, teams with procurement constraints, "just make it work" users
Risk to LegionisToken cost pass-through, heavy user exposure, Stripe fees on gross amount

Why This Matters

With BYOK, Legionis is a pure SaaS platform: predictable costs, clean margins. The moment you introduce managed billing, you become a reseller of AI compute on top of being a SaaS platform. These are fundamentally different business models running in parallel.

The good news: they can coexist. The key is ensuring the managed billing option is self-sustaining (covers its own costs + contributes margin) without subsidizing it from BYOK margins.


3. Markup Structure Analysis

The Markup Math

For managed billing to work, the markup must cover:

Markup Revenue = Anthropic API Cost x Markup %

Must cover:

  • Anthropic API cost (pass-through) = 100% of base
  • Stripe processing fee on token charges = ~2.9% + $0.30 per invoice
  • Billing system overhead (metering, invoicing) = [TBD - engineering cost]
  • Bad debt / failed payments = ~1-2% of billings
  • Margin contribution = the actual profit
  • Markup Model Options

    Option A: Flat Percentage Markup (v1.0 recommendation, superseded)

    Structure: User pays Anthropic rate x (1 + markup%)

    Markup %Anthropic CostUser PaysLegionis KeepsAfter Stripe (2.9%)Net Margin
    15%$10.00$11.50$1.50$1.1710.1%
    20%$10.00$12.00$2.00$1.6513.8%
    30%$10.00$13.00$3.00$2.6220.2%
    40%$10.00$14.00$4.00$3.5925.7%
    50%$10.00$15.00$5.00$4.5730.4%

    v2.0 update: 15% markup selected over 30% when combined with prepaid Token Banks (see new Section 5A below). Prepaid model eliminates the credit risk and Stripe fee drag that justified higher markup in the metered model.

    The "switch threshold" remains healthy at 15%: At what spend level does a user think "I should just get my own API key"?

    This self-selection is even healthier at 15%: The lower markup keeps moderate users on managed billing longer (more total revenue), while heavy users still naturally migrate to BYOK. The BYOT funnel works better because the switching threshold is higher.

    Option B: Tiered Markup

    Monthly Token SpendMarkup %Rationale
    $0-2535%Small amounts, high convenience value
    $25-7525%Moderate users, still convenient
    $75+15%Heavy users, keep them from switching to BYOK

    Pros: Retains heavy users on managed billing longer. Cons: Complex billing, harder to communicate, users may game tiers. Not recommended for MVP.

    Option C: Per-Operation Fee (Not Recommended)

    Structure: Flat fee per operation (e.g., $0.02 per skill invocation) regardless of actual token cost.

    Problem: Operations vary wildly in token cost. A /context-recall might use 1K tokens ($0.003) while a /qbr-deck with Opus might use 100K tokens ($7.50+). A flat per-op fee either overcharges simple operations or undercharges complex ones.

    Verdict: Only works if combined with model routing and tight operation cost estimates. Too complex for now.

    Recommendation (v2.0): Prepaid Token Banks at 15% Markup

    Replaces the v1.0 recommendation of 30% flat metered markup. The shift to prepaid Token Banks at 15% delivers better unit economics because:

  • Prepaid eliminates credit risk: Cash collected before API calls are made. No bad debt.
  • Fewer Stripe transactions: One charge per top-up vs. daily/monthly metered charges. Stripe's $0.30 fixed fee matters less on larger, less frequent transactions.
  • 15% feels fair: Below competitor markups (20-40% is standard), reducing BYOT switching pressure.
  • Tiered bonuses drive larger purchases: $5 bonus at $50, $15 bonus at $100. Larger prepaid amounts = better Legionis cash position.
  • See Section 5A for full Token Bank mechanics.


    4. Platform Fee: Same or Different?

    The Question

    Should managed billing users pay a different platform fee than BYOK users?

    Option 1: Same Platform Fee (Recommended)

    User TypePlatform FeeToken Cost
    BYOK$10-25/moPays Anthropic directly
    Managed$10-25/moPays Legionis (Anthropic rate + 30%)

    Why same fee works:

    Option 2: Lower Platform Fee for Managed Users

    User TypePlatform FeeToken Cost
    BYOK$10-25/moPays Anthropic directly
    Managed$5-15/mo (lower)Pays Legionis (Anthropic rate + 30%)

    Rationale: The token markup generates revenue, so you can afford a lower platform fee to attract more managed users.

    Problem: This incentivizes users to choose managed even if they'd be better off with BYOK. You're acquiring token cost risk for a platform fee discount. Bad trade.

    Option 3: Higher Platform Fee for Managed Users

    User TypePlatform FeeToken Cost
    BYOK$10-25/moPays Anthropic directly
    Managed$15-30/mo (higher)Pays Legionis (Anthropic rate + 30%)

    Rationale: Managed billing is a premium feature that requires infrastructure (metering, billing, support).

    Problem: Double-dipping. Users already pay a markup on tokens. Adding a platform premium feels punitive. Creates resentment.

    Verdict: Keep Platform Fees Identical

    The token markup is the managed billing business model. The platform fee is the SaaS business model. Keep them clean and separate.


    5. Minimum Token Spend ("Minimum Uptake") -- SUPERSEDED

    v2.0 Note: The minimum monthly spend concept from v1.0 is superseded by the Token Bank prepaid model (Section 5A). With prepaid credit packs, the Stripe micro-transaction problem is solved by design: users buy credits in $10+ increments, and Stripe's fixed fee is amortized over larger, less frequent transactions.

    The v1.0 analysis below is retained for reference but is no longer the active model.

    v1.0 Minimum Spend Analysis (historical reference)

    Why a Minimum Matters (v1.0)

    Without a minimum, managed billing users could:

    The Stripe Problem (v1.0)

    Stripe charges ~2.9% + $0.30 per transaction. On small token invoices:

    Token Spend+ 30% MarkupStripe FeeNet to LegionisEffective Margin
    $1.00$1.30$0.34-$0.04Negative
    $2.00$2.60$0.38$0.228.5%
    $3.00$3.90$0.41$0.4912.6%
    $5.00$6.50$0.49$1.0115.5%
    $10.00$13.00$0.68$2.3217.9%
    $20.00$26.00$1.05$4.9519.0%


    5A. Token Bank Mechanics (v2.0 -- ACTIVE MODEL)

    How Token Banks Work

    Users purchase dollar-denominated credit packs upfront. Credits are real dollars: $1 credit = $1 of Anthropic API cost at current rates. No fictional "tokens," "coins," or "gems."

    Credit Packs

    Credit PackPrice (with 15% markup)Bonus CreditsTotal AvailableEffective Markup
    $10$11.50None$10.0015.0%
    $25$28.75None$25.0015.0%
    $50$57.50$5.00 bonus$55.00~4.5% effective
    $100$115.00$15.00 bonus$115.00~0% effective

    Tiered bonuses incentivize larger purchases. The $100 pack at ~0% effective markup is intentional: large prepaid amounts improve cash flow, reduce transaction frequency, and these users are likely to become long-term retained users.

    Stripe Economics (Token Banks vs. Metered)

    ModelTransaction FrequencyAvg Transaction SizeStripe Fee % of Revenue
    30% Metered (v1.0)Monthly or daily$5-303.5-8% (high, esp. on small amounts)
    15% Token Banks (v2.0)Per top-up (infrequent)$11.50-115.002.9-3.2% (low, large transactions)

    Stripe fee on each credit pack:

    Pack PriceStripe Fee (2.9% + $0.30)Net to LegionisEffective Margin on Markup
    $11.50$0.63$0.877.6%
    $28.75$1.13$2.629.1%
    $57.50$1.97$5.539.6%
    $115.00$3.64$11.36 (before bonus cost)9.9%

    Even the smallest pack ($10) is comfortably profitable. No micro-transaction problem.

    Auto-Top-Up

    Optional, user-configured:

    Never forced: Auto-top-up is opt-in only. When a user's balance hits $0 without auto-top-up, operations pause with a clear prompt: "Your credit balance is $0.00. Add credits to continue, or switch to BYOT for zero markup."

    Per-Task Cost Preview

    Before executing any operation, the UI shows estimated cost:

    📝 PRD: Authentication Feature
    Estimated cost: ~$0.12 (Sonnet 4.5)
    Your balance: $8.43

    [Execute] [Cancel]

    This transparency is a key differentiator. Users always know what they're spending before they spend it.

    No Expiration Policy

    At launch: Purchased credits never expire. This is a strong trust signal and removes the "use it or lose it" anxiety that competitors impose.

    Revisit after 12 months: If credit breakage (purchased but unused credits) exceeds 15% of total purchases, evaluate whether expiration should be introduced (e.g., 24-month expiry). This is a re-decision trigger in DR-2026-004.

    Why Token Banks Over Metered Billing

    Dimension30% Metered (v1.0)15% Token Banks (v2.0)Winner
    Credit riskLegionis fronts API costs, bills laterPrepaid: cash before serviceToken Banks
    Stripe feesRecurring charges, micro-txn problemInfrequent, larger chargesToken Banks
    User experienceSurprise bills, usage anxietyPredictable, user-controlledToken Banks
    Markup perception"30% fee" feels expensive"15% with bonuses" feels fairToken Banks
    Cash flowDelayed (bill after usage)Immediate (prepaid)Token Banks
    BYOT switching pressureHigh (30% = noticeable)Lower (15% = tolerable longer)Token Banks
    ComplexityMetering + invoicing infrastructureCredit balance trackingSimilar


    6. Free Trial Implications (Critical)

    The Asymmetry

    Trial TypeBYOKManaged Billing
    Who pays for tokens?User pays AnthropicLegionis pays Anthropic
    Trial cost to Legionis$0$[actual token usage] per trial user
    User frictionMust set up Anthropic account during trialZero friction
    Conversion signalAlready invested (has API key)No investment signal

    This is the biggest economic difference between BYOK and managed billing. A 30-day free trial with managed billing means Legionis eats all token costs for trial users.

    Trial Token Cost Scenarios

    Assuming a trial user does 5-15 operations per day for 30 days:

    Usage LevelOps/DayMonthly OpsAvg Token Cost/OpMonthly Token Cost
    Light trial5150$0.01 (mostly Haiku)~$1.50
    Moderate trial10300$0.03 (Haiku + some Sonnet)~$9.00
    Heavy trial15450$0.05 (mixed models)~$22.50
    Power trial30+900+$0.05+~$45.00+

    Note: These token cost estimates are illustrative of the framework. Actual costs depend on specific operations and their token consumption, which needs to be measured in production.

    Trial Options for Managed Billing

    Option A: No Free Trial for Managed (Recommended for Launch)

    Rationale: Until you know actual trial conversion rates, unlimited managed trials are an open-ended cost liability.

    Option B: Capped Managed Trial

    ElementValue
    Duration14 days (shorter than BYOK trial)
    Token cap$5 worth of tokens (Legionis eats the cost)
    Model restrictionHaiku only during trial (lowest COGS model)
    After capMust add payment method or switch to BYOK to continue

    Max cost to Legionis: $5 per trial user. If 20% convert, CAC = $25 on tokens alone.

    Option C: Credit Card Required for Managed Trial

    Pros: Filters out tire-kickers. Higher conversion rate. CC on file reduces conversion friction. Cons: Higher barrier. Some users won't enter CC for trial.

    Recommendation: Asymmetric Trial Structure

    User TypeTrial DurationToken Cost During TrialModel Access
    BYOK30 daysUser pays Anthropic (no cost to Legionis)All models (user's API key)
    Managed14 daysLegionis covers up to $5 in tokensHaiku only
    Managed (CC on file)30 daysLegionis covers up to $10 in tokensHaiku + Sonnet

    This creates a natural funnel:

  • Easiest: BYOK trial (full access, 30 days, zero Legionis cost)
  • Low friction: Managed trial without CC (limited, 14 days, Haiku only)
  • Best experience: Managed trial with CC (full access, 30 days, auto-converts)

  • 7. Unit Economics Comparison

    Per-User Monthly Economics (v2.0 -- Token Banks at 15%)

    MetricBYOK UserManaged User ($20 token spend)Managed User ($50 token spend)
    Platform fee$10-25$10-25$10-25
    Token revenue$0$23.00 (= $20 x 1.15)$57.50 (= $50 x 1.15)
    Token COGS$0-$20.00-$50.00
    Stripe on platform-$0.59 to -$1.03-$0.59 to -$1.03-$0.59 to -$1.03
    Stripe on tokens$0-$0.97 (single top-up charge)-$1.97 (single top-up charge)
    Infra cost~-$1.00~-$1.00 (simpler than metering)~-$1.00
    Net margin$8.41-23.97$10.44-26.00$3.94-19.50
    Gross margin %~84-96%~32-79%~5-26% (on total)

    Key insight (v2.0): At 15% markup, per-user margin is lower than 30%, but this is offset by: (1) lower Stripe fees from prepaid top-ups, (2) zero credit risk (prepaid), (3) higher user retention on managed billing (lower switching pressure), and (4) better cash flow (prepaid). The net effect on blended portfolio economics is positive because more users stay on managed billing longer.

    Comparison to v1.0 (30% metered):

    Blended Portfolio Economics

    ScenarioBYOK %Managed %Blended Gross Margin
    Mostly BYOK80%20%High (~75-85%)
    Even split50%50%Moderate (~55-65%)
    Mostly managed20%80%Lower (~40-50%)

    The healthy mix: You WANT a majority of heavy users on BYOK (zero COGS) and convenience-seeking moderate users on managed. The markup pricing naturally creates this self-selection.


    8. Practical Token Cost Reference

    For context, here's what Anthropic's current rates mean in practice:

    Cost per Typical Operation (Framework)

    OperationModel~Input Tokens~Output Tokens~Cost
    Context recallHaiku 3.55,0001,000~$0.008
    User storyHaiku 3.53,0002,000~$0.010
    PRD (standard)Sonnet 4.510,0005,000~$0.105
    Agent spawn (@pm)Sonnet 4.515,0008,000~$0.165
    Strategic betOpus 420,00010,000~$1.050
    PLT gatewayOpus 430,00015,000~$1.575

    Note: These are rough estimates. Actual token counts will vary significantly by operation complexity, context size, and prompt caching effectiveness. These should be validated with production measurements.

    Monthly Spend Profiles (Illustrative)

    User TypeDaily PatternMonthly Token Cost (est.)With 15% Markup (v2.0)With 30% Markup (v1.0)
    Light PM5 Haiku ops/day~$1.50~$1.73~$1.95
    Regular PM10 mixed ops/day~$10-20~$11.50-23~$13-26
    Power PM20 mixed ops/day~$30-60~$34.50-69~$39-78
    Strategic leader10 heavy ops/day (Sonnet/Opus)~$50-100+~$57.50-115+~$65-130+

    At 15% markup (Token Banks), a regular PM pays roughly $11.50-23/mo in tokens on top of their $10-25 platform fee. Total: $21.50-48/mo. This is $1.50-3/mo cheaper than the 30% model, which reduces BYOT switching pressure and improves retention on managed billing.


    9. Risk Analysis

    Risk 1: Heavy Users Blow Up COGS

    Scenario: A managed user runs 50 Opus-heavy PLT sessions in a month = potentially $50-80 in token costs. Mitigation (v2.0): With Token Banks, users can only spend what they've prepaid. No credit risk. If balance hits $0, operations pause until top-up. The 15% markup covers operational overhead on all prepaid amounts. Protection: At $100+ monthly spend, surface BYOT suggestion: "You're spending $100+/mo on credits. Switch to BYOT for zero markup and save $15+/mo." This is good customer service AND good business.

    Risk 2: Anthropic Raises Prices

    Scenario: Anthropic increases API prices by 30%. Mitigation (v2.0): Token Bank credits are dollar-denominated against current Anthropic rates. If Anthropic raises prices, existing credits buy fewer operations (the credit represents dollars, not token counts). New credit purchases reflect current rates. Protection: Terms of service should state: "Credits represent dollar value applied at current Anthropic API rates plus a 15% platform fee. Underlying API rates may change."

    Risk 3: Anthropic Lowers Prices (Happy Problem)

    Scenario: Anthropic drops Haiku to $0.40/MTok input. Impact: Your 30% markup now generates less absolute revenue per operation. But users are happier (cheaper) and may use more. Action: No action needed. Lower costs = more usage = more operations = more total markup revenue.

    Risk 4: Abuse / Resale

    Scenario: Someone uses Legionis managed billing as a cheap API proxy. Mitigation: Rate limiting, fair use policy, monitoring for non-product-org usage patterns. Your agent/skill architecture naturally limits this -- you can't just send raw prompts.

    Risk 5: Stripe Fee Drag on Micro-Transactions

    Scenario (v1.0): User's monthly token charge is $2.00. Stripe takes $0.36 (18%). Mitigation (v2.0): Eliminated by Token Bank design. Minimum credit pack is $10 ($11.50 with markup). Stripe fee on $11.50 = $0.63 (5.5%). The prepaid model solves the micro-transaction problem by design.


    10. Implementation Considerations

    What Needs to Be Built

    ComponentComplexityNotes
    Token meteringMediumTrack tokens per user per operation. Vercel AI SDK may provide hooks.
    Usage dashboardMediumShow users their token consumption in real-time
    Billing aggregationMediumRoll up daily token usage into monthly Stripe invoices
    Managed API key poolLowLegionis uses its own Anthropic API key for managed users
    BYOK/Managed toggleLowUser setting to choose billing mode
    Spend alertsLowNotify at 50%, 80%, 100% of projected spend
    Rate displayLowShow current per-model rates on pricing page

    Anthropic Account Setup


    11. Decision Framework Summary (v2.0)

    Questionv2.0 Recommendationv1.0 (superseded)Rationale for Change
    Markup model?Prepaid Token Banks at 15%30% flat meteredEliminates credit risk, reduces Stripe fees, better UX
    Credit structure?$10/$25/$50/$100 packs with bonuses at $50+N/A (metered)Encourages larger purchases, improves cash flow
    Expiration?No expiration at launch (revisit at 12 months)N/ATrust signal, competitive differentiator
    Auto-top-up?Optional, user-configured thresholdN/AConvenience without forcing spend
    Cost transparency?Per-task estimated cost before executionN/AUsers approve before spending
    Different platform fee?No -- same fee for bothSameToken markup IS the managed revenue. Don't double-dip.
    Free trial for managed?Asymmetric: shorter, capped, Haiku-onlySameLimit trial cost exposure
    BYOT positioning?Hero path: "zero markup, or use credits for instant setup"NeutralBYOT is the brand promise; Token Banks are the on-ramp
    Cap on managed spend?No cap, but suggest BYOT at $100+/moSameNatural BYOT funnel for power users


    12. Re-Decision Triggers (v2.0)

    Revisit this analysis if:

  • Managed token net margin drops below 8% after Stripe fees for 2 consecutive months (15% markup insufficient)
  • >70% of users choose managed (may indicate BYOT friction is too high -- investigate and consider raising markup to 20%)
  • <10% of users choose managed (may indicate Token Bank UX friction -- simplify purchase flow, consider smaller packs)
  • Credit breakage exceeds 15% of total purchased credits (users buying but not using -- evaluate whether expiration is needed)
  • Average managed user purchases >$100/mo in credits consistently (natural BYOT migration should be happening -- ensure BYOT is being surfaced)
  • Anthropic offers volume discounts (opportunity to improve margins at 15% or introduce larger bonuses)

  • Document Control

    Version: 2.0 Created: 2026-02-14 Last Updated: 2026-02-18 Owner: BizOps Next Review: After managed billing launch (90-day data review) Distribution: Founder, Product Leadership

    Related Documents:

    Change Log:

    End of Document