ryan christoffersen
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ###### tags: `Raid Guild x402` # Infrastructure Cost Analysis Comprehensive cost analysis for hosting infrastructure including Vercel (facilitator dashboard, facilitator service, and documentation) and Supabase subscriptions (database, authentication, and storage services). ## Table of Contents - [Executive Summary](#executive-summary) - [Deployment Architecture Considerations](#deployment-architecture-considerations) - [Vercel Platform Costs](#vercel-platform-costs) - [Hobby Tier](#hobby-tier) - [Pro Tier](#pro-tier) - [Enterprise Tier](#enterprise-tier) - [Supabase Platform Costs](#supabase-platform-costs) - [Free Tier](#free-tier) - [Pro Tier](#pro-tier-1) - [Team Tier](#team-tier) - [Enterprise Tier](#enterprise-tier-1) - [Project Management Costs](#project-management-costs) - [Pay-As-You-Use Breakdown](#pay-as-you-use-breakdown) - [Cost Optimization Strategies](#cost-optimization-strategies) - [Recommendations](#recommendations) ## Executive Summary This document provides a comprehensive cost analysis for hosting three projects on Vercel: 1. **Facilitator Dashboard** - The main dashboard interface 2. **Facilitator Service** - The backend service/API 3. **Documentation** - Shared documentation for all clients (not per-client) Additionally, this document analyzes Supabase subscription costs, which may be required per-client or shared across clients. The analysis covers three pricing tiers (Free, Pro, Enterprise) with example cost calculations. Final costs depend on deployment architecture (per-client vs shared). Documentation is always shared. This document also analyzes project management costs (initial setup and ongoing), addressing whether to extend Raid Guild's Infrastructure Maestro role or create a new dedicated role. ## Deployment Architecture Considerations The cost structure will vary significantly based on the deployment model chosen. There are three projects to consider: 1. **Facilitator Dashboard** - per-client or shared 2. **Facilitator Service** - per-client or shared 3. **Documentation** - shared (single deployment for all clients) Additionally, **Supabase Subscriptions** may be required: - **Supabase** - per-client or shared (one subscription for all clients) ### Deployment Models: 1. **Per-Client Deployments**: Each client requires their own deployed dashboard and facilitator service - Highest cost scenario (multiple deployments) - Best isolation and customization per client - Documentation: 1 shared deployment - Supabase: per-client (one subscription per client) or shared (one subscription for all) 2. **Shared Dashboard, Per-Client Facilitator**: All clients share one dashboard, but each client has their own facilitator service deployment - Moderate cost scenario - Dashboard costs are shared, facilitator costs scale with client count - Documentation: 1 shared deployment - Supabase: per-client (one subscription per client) or shared (one subscription for all) 3. **Fully Shared**: All clients share both the same dashboard and facilitator service - Lowest cost scenario (single deployment of each) - Requires multi-tenancy architecture - Documentation: 1 shared deployment - Supabase: shared (one subscription for all clients) **Note**: Examples assume single deployments. Multiply costs based on chosen architecture. Documentation is always shared. Supabase subscription model (shared vs per-client) is independent of Vercel deployment architecture. ## Vercel Platform Costs ### Hobby Tier **Cost**: $0/month **Included**: 100 GB data transfer, unlimited projects, CI/CD, preview deployments, basic functions/middleware **Limitations**: No team collaboration, limited analytics, no custom domains, no SSO **Suitable For**: Development/testing, low-traffic projects, proof-of-concept --- ### Pro Tier **Base Cost**: $20/month per developer seat **Included** ($20 credit applied): - 1 TB data transfer ($0.15/GB over) - 10M edge requests ($2.00/M over) - 1M function invocations ($0.60/M over) - 1,000 GB-hours compute ($0.18/GB-hour over) - Team collaboration, analytics, custom domains **Optional Add-Ons**: SAML SSO ($300/mo), HIPAA BAA ($350/mo), Observability Plus ($10/mo), Web Analytics Plus ($10/mo), Speed Insights ($10/project/mo) **Example Costs** (single deployment of all 3 projects): | Traffic Level | Data Transfer | Edge Requests | Functions | Compute | **Total/Month** | |--------------|---------------|---------------|-----------|---------|-----------------| | Low | 50 GB (included) | 500K (included) | 100K (included) | 200 GB-hr (included) | **$20** | | Moderate | 1.5 TB (+$75) | 15M (+$10) | 2M (+$0.60) | 1,500 GB-hr (+$90) | **$195.60** | | High | 5 TB (+$600) | 50M (+$80) | 10M (+$5.40) | 5,000 GB-hr (+$720) | **$1,425.40** | *Note: Documentation usage is minimal (static content). Usage is combined across all three projects.* **Multi-Deployment Scenarios** (10 clients, moderate traffic per deployment): | Architecture | Projects | Monthly Cost | |--------------|----------|--------------| | **Per-Client** | 10 dashboards + 10 facilitators + 1 docs | **$4,931** (21 deployments, usage accumulates) | | **Shared Dashboard** | 1 dashboard + 10 facilitators + 1 docs | **$1,776** (12 deployments) | | **Fully Shared** | 1 dashboard + 1 facilitator + 1 docs | **$195.60** (3 deployments, usage shared) | *Note: Base cost is $20/month (1 seat covers all projects). Documentation is always shared. Supabase costs are separate (see Supabase Platform Costs section).* --- ### Enterprise Tier **Cost**: Custom pricing (contact Vercel sales), typically $500-$2,000+/month base **Features**: All Pro features + custom limits, dedicated infrastructure, SSO, enhanced observability, SLAs, priority support **Benefits**: Volume discounts, consolidated billing, better cost predictability **Example Costs** (depending on traffic): - Small (10-50 deployments): $500-$2,000/month - Medium (50-200 deployments): $1,500-$5,000/month - Large (200+ deployments): $3,000-$10,000+/month --- ## Supabase Platform Costs Each client may require a Supabase subscription for database, authentication, and storage services. Similar to the facilitator dashboard, Supabase subscriptions can be: - **Shared**: One subscription for all clients (multi-tenancy) - **Per-Client**: One subscription per client (better isolation) ### Pricing Tiers ### Free Tier **Cost**: $0/month **Included**: - Up to 2 active projects per organization - 500 MB database storage per project - 1 GB file storage - 50,000 monthly active users (MAUs) - 5 GB bandwidth - 500,000 Edge Function invocations - Community support **Limitations**: Projects paused after 1 week of inactivity, limited storage, no backups, no SSO **Suitable For**: Development/testing, proof-of-concept, very low-traffic projects --- ### Pro Tier **Base Cost**: $25/month per project (includes $10 in compute credits) **Included**: - 100,000 MAUs (additional at $0.00325 per MAU) - 8 GB database storage (additional at $0.125 per GB) - 100 GB file storage (additional at $0.021 per GB) - 250 GB bandwidth (additional at $0.09 per GB) - 2 million Edge Function invocations (additional at $2 per million) - Email support - Daily backups stored for 7 days - 7-day log retention **Compute Add-ons**: Available to scale database up to 64 cores and 256 GB RAM **Example Costs** (single subscription): | Usage Level | Database Storage | File Storage | Bandwidth | MAUs | Edge Functions | **Total/Month** | |-------------|------------------|--------------|-----------|------|----------------|-----------------| | Low | 8 GB (included) | 50 GB (included) | 100 GB (included) | 50K (included) | 500K (included) | **$25** | | Moderate | 20 GB (+$1.50) | 150 GB (+$1.05) | 500 GB (+$22.50) | 150K (+$162.50) | 3M (+$2.00) | **$212.05** | | High | 50 GB (+$5.25) | 300 GB (+$4.20) | 1.5 TB (+$112.50) | 500K (+$1,300) | 10M (+$16.00) | **$1,462.95** | **Multi-Subscription Scenarios** (10 clients, moderate usage per subscription): | Architecture | Subscriptions | Monthly Cost | |--------------|---------------|--------------| | **Per-Client** | 10 Supabase subscriptions | **$2,120.50** (10 × $212.05) | | **Shared** | 1 Supabase subscription | **$212.05** (usage accumulates across all clients) | *Note: Shared subscription costs scale with combined usage across all clients. Per-client subscriptions provide better isolation but higher total cost.* --- ### Team Tier **Base Cost**: $599/month per project (includes $10 in compute credits) **Included**: - Everything in Pro Plan, plus: - SOC2 compliance - HIPAA compliance available as paid add-on - Read-only and billing member roles - Single Sign-On (SSO) for Supabase Dashboard - Priority email support and SLAs - Daily backups stored for 14 days - 28-day log retention **Additional compute resources**: Available as needed **Suitable For**: Organizations requiring compliance, SSO, enhanced support, and SLAs **Example Costs**: - Base: $599/month per subscription - With usage overages: $600-$1,500+/month per subscription (depending on traffic) - Multi-subscription: Multiply by subscription count --- ### Enterprise Tier **Cost**: Custom pricing (contact Supabase sales) **Features**: Designated support manager, uptime SLAs, on-premise support, 24×7×365 premium enterprise support, private Slack channel, custom security questionnaires **Benefits**: Volume discounts, consolidated billing, better cost predictability, enterprise-grade support **Suitable For**: Large-scale applications running at internet scale workloads **Example Costs** (depending on scale): - Small (1-5 subscriptions): $1,000-$3,000/month - Medium (5-20 subscriptions): $3,000-$10,000/month - Large (20+ subscriptions): $8,000-$25,000+/month --- ## Project Management Costs *Separate from Vercel platform costs - these are Raid Guild internal personnel costs.* ### Initial Setup **Activities**: Account/project setup, domain/SSL, CI/CD, environment variables, monitoring, documentation, initial deployment, Supabase project setup and configuration **Time & Cost**: - Simple (shared deployment): 10-12 hours → $500-$1,800 (includes Supabase setup) - Complex (per-client with automation): 16-20 hours → $800-$3,000 (includes Supabase setup) - *Based on $50-$150/hour member rates* ### Ongoing Management **Current State**: Infrastructure Maestro role exists and may already handle infrastructure management **Options**: 1. **Extend Infrastructure Maestro**: Add Vercel and Supabase management (3-5 hrs/mo) → $150-$750/month 2. **New Dedicated Role**: Separate Vercel/Supabase/platform management (5-10 hrs/mo) → $250-$1,500/month **Management Activities**: Monitoring, env vars/secrets, deployments/rollbacks, config updates, usage optimization, coordination, documentation, Supabase database management, backup monitoring **Factors Affecting Time**: Deployment architecture (shared vs per-client), number of clients, deployment frequency, incident rate **Cost Summary**: - Initial: $500-$3,000 (one-time, includes Supabase setup) - Ongoing: $150-$1,500/month (includes Supabase management) - First Year Total: $2,300-$21,000 (depending on option chosen) --- ## Pay-As-You-Use Breakdown ### Vercel Overage Costs Vercel charges for usage beyond included limits: | Resource | Included (Pro) | Overage Rate | Impact | |----------|----------------|--------------|--------| | **Data Transfer** | 1 TB | $0.15/GB | High (media-heavy sites) | | **Edge Requests** | 10M | $2.00/M | Moderate (scales with traffic) | | **Function Invocations** | 1M | $0.60/M | Low-Moderate (API usage) | | **Compute** | 1,000 GB-hours | $0.18/GB-hour | High (compute-intensive) | | **Origin Transfer** | 100 GB | $0.06/GB | Low | | **ISR Cache** | - | $0.40/M reads, $4.00/M writes | Low | *Compute includes Active CPU Time (varies by region, ~$0.128/hr) and Provisioned Memory (~$0.0106/GB-hour)* ### Supabase Overage Costs Supabase charges for usage beyond included limits (Pro Tier): | Resource | Included (Pro) | Overage Rate | Impact | |----------|----------------|--------------|--------| | **Database Storage** | 8 GB | $0.125/GB | Moderate (scales with data) | | **File Storage** | 100 GB | $0.021/GB | Low-Moderate (media files) | | **Bandwidth** | 250 GB | $0.09/GB | Moderate (API/data transfer) | | **MAUs** | 100,000 | $0.00325/MAU | High (scales with user count) | | **Edge Functions** | 2M invocations | $2.00/M | Low-Moderate (serverless functions) | *Compute add-ons available for additional database performance (scales up to 64 cores, 256 GB RAM)* --- ## Cost Optimization Strategies ### Vercel Optimization 1. **Deployment Architecture**: Shared deployments minimize costs vs per-client (better isolation but higher cost) 2. **Caching**: Reduce edge requests, data transfer, and function invocations 3. **Function Optimization**: Minimize execution time, optimize memory allocation, reduce I/O wait time 4. **Static Generation**: Use SSG where possible to reduce compute costs 5. **Monitoring**: Track usage with Vercel Analytics to identify optimization opportunities 6. **Enterprise Tier**: Volume discounts available for multiple deployments ### Supabase Optimization 1. **Subscription Model**: Shared subscription minimizes costs vs per-client (one subscription for all clients) 2. **Database Optimization**: Index queries, optimize schemas, archive old data to reduce storage 3. **File Storage**: Use CDN for static assets, compress images, implement lazy loading 4. **Bandwidth**: Cache API responses, minimize data transfer, use efficient serialization 5. **MAU Management**: Implement proper session management, clean up inactive users 6. **Monitoring**: Track usage in Supabase dashboard to identify optimization opportunities 7. **Enterprise Tier**: Volume discounts available for multiple subscriptions --- ## Recommendations ### Vercel Recommendations 1. **Start with Pro Tier**: $20/month base is reasonable; scales with usage 2. **Monitor Usage**: Set spending alerts (default $200 limit) to avoid surprises 3. **Architecture Impact**: Per-client deployments scale costs linearly; shared deployments keep costs constant. Documentation always shared. 4. **Enterprise Consideration**: Evaluate for 10+ deployments (volume discounts, consolidated billing, SLAs) 5. **Budget Planning**: - **Shared**: Low ($20-50), Moderate ($100-300), High ($500-2,000) per month - **Per-Client**: Multiply by client count (documentation remains shared) ### Supabase Recommendations 1. **Start with Pro Tier**: $25/month base per subscription; scales with usage 2. **Subscription Model**: Prefer shared subscription (one for all clients) unless isolation is required 3. **Monitor Usage**: Track database storage, bandwidth, and MAUs in Supabase dashboard 4. **Architecture Impact**: Per-client subscriptions scale costs linearly; shared subscription costs scale with combined usage 5. **Budget Planning**: - **Shared Subscription**: Low ($25-50), Moderate ($200-500), High ($1,000-2,000) per month - **Per-Client Subscriptions**: Multiply by client count (moderate usage: ~$200-500 per client/month) 6. **Enterprise Consideration**: Evaluate Team tier ($599/month) for compliance needs or Enterprise for 5+ subscriptions ### Combined Recommendations 1. **Include All Costs**: Factor in both Vercel and Supabase costs when pricing 2. **Include Management Costs**: Initial setup ($500-$3,000) + ongoing ($150-$1,500/month) - factor into pricing 3. **Total Budget Planning** (Vercel + Supabase, shared architecture): - **Low**: $45-100/month (Vercel $20-50 + Supabase $25-50) - **Moderate**: $300-800/month (Vercel $100-300 + Supabase $200-500) - **High**: $1,500-4,000/month (Vercel $500-2,000 + Supabase $1,000-2,000) 4. **Per-Client Architecture**: Multiply Vercel costs by deployment count + Supabase costs by subscription count ## References ### Vercel - [Vercel Pricing Page](https://vercel.com/pricing) - [Vercel Functions Usage and Pricing](https://vercel.com/docs/functions/usage-and-pricing) - [Vercel Bandwidth Pricing](https://vercel.com/docs/platform/limits#bandwidth) ### Supabase - [Supabase Pricing Page](https://supabase.com/pricing) - [Supabase Documentation](https://supabase.com/docs)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully