|
| 1 | +--- |
| 2 | +title: The Graph Network vs. Self Hosting |
| 3 | +navTitle: Benefits |
| 4 | +seo: |
| 5 | + openGraph: |
| 6 | + images: |
| 7 | + - url: https://thegraph.com/docs/img/seo/benefits.jpg |
| 8 | + alt: The Graph Network vs. Self Hosting |
| 9 | +--- |
| 10 | + |
| 11 | +The Graph’s decentralized network has been engineered and refined to create a robust indexing and querying experience—and it’s getting better every day thanks to thousands of contributors around the world. The benefits of this decentralized protocol cannot be replicated by running a graph node locally. The Graph Network is more reliable, more efficient, and less expensive. Here is an analysis: |
| 12 | + |
| 13 | +## Why You Should Use The Graph Network |
| 14 | + |
| 15 | +- 60-98% lower monthly cost |
| 16 | +- $0 infrastructure setup costs |
| 17 | +- Superior uptime |
| 18 | +- Access to 168 Indexers (and counting) |
| 19 | +- 24/7 technical support by global community |
| 20 | + |
| 21 | +## Breaking Down the Benefits of Using The Graph Network |
| 22 | + |
| 23 | +### Lower & more Flexible Cost Structure |
| 24 | + |
| 25 | +No contracts. No monthly fees. Only pay for the queries you use—with an average cost-per-query of $0.0002\*<sup>†</sup> |
| 26 | + |
| 27 | +\*Queries are priced in USD and paid for with GRT |
| 28 | + |
| 29 | +<sup>†</sup>Query costs may vary; quoted cost is the average at time of publication |
| 30 | + |
| 31 | +## Low Volume User (less than 30,000 queries per month) |
| 32 | + |
| 33 | +| Cost Comparison | Self Hosted | Graph Network | |
| 34 | +| :--------------------------: | :-------------------------------------: | :------------------: | |
| 35 | +| Monthly server cost\* | $350 per month | $0 | |
| 36 | +| Query costs | $0+ | ~$15 per month | |
| 37 | +| Engineering time<sup>†</sup> | $400 per month | Included | |
| 38 | +| Queries per month | Limited to infra capabilities | 30,000 (autoscaling) | |
| 39 | +| Cost per query | $0 | $0.0005<sup>‡</sup> | |
| 40 | +| Infrastructure | Centralized | Decentralized | |
| 41 | +| Geographic redundancy | $750+ per additional node | Included | |
| 42 | +| Uptime | Varies | 99.9%+ | |
| 43 | +| Total Monthly Costs | <span className="highlight-row" />$750+ | ~$15 | |
| 44 | + |
| 45 | +\*including costs for backup: $50-$100 per month |
| 46 | + |
| 47 | +<sup>†</sup>Engineering time based on $200 per hour assumption |
| 48 | + |
| 49 | +<sup>‡</sup>using the max query budget function in the budget billing tab, while maintaining high quality of service |
| 50 | + |
| 51 | +## Medium Volume User (3,000,000+ queries per month) |
| 52 | + |
| 53 | +| Cost Comparison | Self Hosted | Graph Network | |
| 54 | +| :--------------------------: | :--------------------------------------------------: | :------------------: | |
| 55 | +| Monthly server cost\* | $350 per month | $0 | |
| 56 | +| Query costs | $500 per month | $750 per month | |
| 57 | +| Engineering time<sup>†</sup> | $800 per month | Included | |
| 58 | +| Queries per month | Limited to infra capabilities | 3,000,000+ | |
| 59 | +| Cost per query | $0 | $0.00025<sup>‡</sup> | |
| 60 | +| Infrastructure | Centralized | Decentralized | |
| 61 | +| Engineering expense | $200 per hour | Included | |
| 62 | +| Geographic redundancy | $1,200 in total costs per additional node | Included | |
| 63 | +| Uptime | Varies | 99.9%+ | |
| 64 | +| Total Monthly Costs | <span className="highlight-row" /> $1,650+ per month | $750 per month | |
| 65 | + |
| 66 | +\*including costs for backup: $50-$100 per month |
| 67 | + |
| 68 | +<sup>†</sup>Engineering time based on $200 per hour assumption |
| 69 | + |
| 70 | +<sup>‡</sup>using the max query budget function in the budget billing tab, while maintaining high quality of service |
| 71 | + |
| 72 | +## High Volume User (30,000,000+ queries per month) |
| 73 | + |
| 74 | +| Cost Comparison | Self Hosted | Graph Network | |
| 75 | +| :--------------------------: | :-----------------------------------------: | -------------------- | |
| 76 | +| Monthly server cost\* | $1100 per month, per node | $0 | |
| 77 | +| Query costs | $4000 | $4,500 per month | |
| 78 | +| Number of nodes needed | 10 | Not applicable | |
| 79 | +| Engineering time<sup>†</sup> | $6,000 or more per month | Included | |
| 80 | +| Queries per month | Limited to infra capabilities | 30,000,000+ | |
| 81 | +| Cost per query | $0 | $0.00015<sup>‡</sup> | |
| 82 | +| Infrastructure | Centralized | Decentralized | |
| 83 | +| Geographic redundancy | $1,200 in total costs per additional node | Included | |
| 84 | +| Uptime | Varies | 99.9%+ | |
| 85 | +| Total Monthly Costs | <span className="highlight-row" /> $11,000+ | $4,500 per month | |
| 86 | + |
| 87 | +\*including costs for backup: $50-$100 per month |
| 88 | + |
| 89 | +<sup>†</sup>Engineering time based on $200 per hour assumption |
| 90 | + |
| 91 | +<sup>‡</sup>using the max query budget function in the budget billing tab, while maintaining high quality of service |
| 92 | + |
| 93 | +Estimated costs only for Ethereum Mainnet subgraphs— costs are even higher when self hosting a graph node on other networks. |
| 94 | + |
| 95 | +Curating signal on a subgraph is an optional one-time, net-zero cost (e.g., $1k in signal can be curated on a subgraph, and later withdrawn—with potential to earn returns in the process). |
| 96 | + |
| 97 | +Some users may need to upgrade subgraphs. Due to Ethereum gas fees, upgrades cost ~$50 per upgrade at time of this writing. |
| 98 | + |
| 99 | +## No Setup Costs & Greater Operational Efficiency |
| 100 | + |
| 101 | +Zero setup fees. Get started immediately with no setup or overhead costs. No hardware requirements. No outages due to centralized infrastructure, and more time to concentrate on your core product . No need for backup servers, troubleshooting, or expensive engineering resources. |
| 102 | + |
| 103 | +## Reliability & Resiliency |
| 104 | + |
| 105 | +The Graph’s decentralized network gives users access to geographic redundancy that does not exist when self-hosting a graph node. Queries are served reliably thanks to 99.9%+ uptime, achieved by 168 Indexers (and counting) securing the network globally. |
| 106 | + |
| 107 | +Bottom line: The Graph Network is less expensive, easier to use, and produces superior results compared to running a graph node locally. |
| 108 | + |
| 109 | +Start using The Graph Network today - [learn how to migrate or deploy your subgraph](https://thegraph.com/blog/how-to-migrate-ethereum-subgraph). |
0 commit comments