Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

IRIX 7 — Cost Model

Status: living document Target: $0/month in recurring service costs; a small one-off hardware budget. Related: github.md §17, release.md.

1. Free tiers

ServiceFree allowance (verify current terms)IRIX 7 use
GitHub public reposUnlimited repos, unlimited collaboratorsEverything except irix6
GitHub Actions (public)Unlimited standard-runner minutesCI, security, docs, release
GitHub Actions (private)2,000 minutes/monthirix6 has no Actions
GitHub Actions cache10 GB/repoCargo, Nix, iris
GitHub Actions artefactsFree-tier storage, 90-day retentionBuild outputs, boot logs
GitHub Releases2 GB per fileKernel, bundle, image, SBOM
GitHub PackagesFree for public packages; 500 MB privateOptional MCP client
GitHub LFS10 GiB storage + 10 GiB/month bandwidthSmall binaries only
GitHub PagesFree for public repos; ~1 GB site, ~100 GB/month soft bandwidthDocs site
GitHub Codespaces120 core-hours + 15 GB-month (personal)Docs/onboarding
GitHub Discussions/Wiki/ProjectsFreeProject management
Cloudflare R210 GB-month storage, 1M Class A + 10M Class B ops/month, free egressOS image, bundle, large media
Oracle/other free VMVariesOptional lab mirror

2. Cost drivers

DriverRecurring?EstimateMitigation
R2 storage above 10 GBYes$0.015/GB-monthContent-addressed images; prune old releases; 10 GB is plenty for v1
R2 Class A/B ops above freeYes$4.50/M writes, $0.36/M readsCache; read-ahead; immutable objects
GitHub LFS above 10 GiBYesPay-as-you-goKeep the OS image on R2; LFS for small binaries only
GitHub Actions private minutesYes$0.008/min (Linux)Keep actions on public repos; self-hosted for heavy jobs
Domain nameYes~$10–15/yearUse github.io until a domain is needed
Electricity (Indy + lab host)Yes~$100–300/yearPower off when idle; smart plugs
Hardware sparesOne-off~$300–800Buy slowly; use BlueSCSI/ZuluSCSI
Smart plugs/UPS/cablesOne-off~$150–300Essential for remote reset
Backup storageYes~$5–10/monthLocal disk + GitHub/R2; no cloud backup tier
Legal/trademark reviewOne-offVariableDefer until distribution; use a disclaimer now

3. Budget

PeriodRecurringOne-off
Year 1$0–120 (electricity, domain)$450–1,100 (spares, plugs, cables)
Year 2+$0–120$0–200 (replacements)

The project does not need a paid GitHub plan, a paid CI service, or a paid CDN for v1. If R2 outgrows the free tier, the next cheapest option is a self-hosted mirror plus GitHub Releases.

4. Quotas and monitoring

  • GitHub: billing page → Actions/Packages/LFS usage; set a $0 budget for LFS to block overages.
  • R2: dashboard → storage, Class A/B ops; set a budget alert.
  • Pages: bandwidth is soft-limited; a popular release could hit it. Mirror the image on R2.
  • LFS: 10 GiB/month; never put the OS image there.
  • Actions: public repos are unlimited; keep private work in irix6 without Actions.

Review monthly in the project update.

5. Scaling scenarios

ScenarioImpactResponse
10 usersFree tier fineNothing
100 usersR2 reads may approach 10M/monthAdd a caching mirror; reduce block size; read-ahead
1,000 usersR2 storage/ops likely paidSelf-hosted mirror; sponsor; GitHub Releases as fallback
Many contributorsPublic Actions fineAdd reviewers; split repos; don’t add private CI
Large mediaR2 storage growsUser pays for their own R2/Git LFS; the OS image stays small

The OS image should stay under ~256 MB; the boot bundle under ~16 MB. A smaller image keeps the free tier comfortable and the 10 Mbit boot tolerable.

6. Sustainability

  • No paid tier is required to use or contribute.
  • Donations/sponsors are optional; the project does not depend on them.
  • The hardware lab is the main real cost; spares are bought second-hand.
  • If the project grows, the first paid item is a domain and a backup disk, not CI.

7. Open questions

  • Whether to accept donations or sponsors.
  • Whether a paid GitHub plan is ever needed for private CI.
  • The long-term R2/GitHub free-tier terms.
  • The electricity cost of leaving the lab on.