Docs
Search⌘ K
  • Home
  • About The Graph
  • Supported Networks
  • Protocol Contracts
  • AI Tooling
  • Subgraphs
    • Substreams
      • Indexer Software
        • Gateway Software
          • Data Services
            • Resources
              Subgraphs > Providers > Subgraph Studio

              8 minutes

              Subgraph Studio

              Querying Plans

              There are two plans to use when querying Subgraphs on The Graph Network.

              • Free Plan: The Free Plan includes 100,000 free monthly queries with full access to the Subgraph Studio testing environment. This plan is designed for hobbyists, hackathoners, and those with side projects to try out The Graph before scaling their dapp.

              • Growth Plan: The Growth Plan includes everything in the Free Plan with all queries after 100,000 monthly queries requiring payments with GRT or credit card. The Growth Plan is flexible enough to cover teams that have established dapps across a variety of use cases.

              Learn more about pricing here.

              How to Set Up Billing on The Graph Network

              Query Payments with credit card

              • To set up billing with credit/debit cards, users should access Subgraph Studio (https://thegraph.com/studio/)
                1. Go to the Subgraph Studio Billing page.
                2. Click on the “Connect Wallet” button on the top right corner of the page. You’ll be redirected to the wallet selection page. Select your wallet and click on “Connect”.
                3. Choose “Upgrade plan” if you are upgrading from the Free Plan or choose “Manage Plan” if you have already added GRT to your billing balance in the past. Next, you can estimate the number of queries to get a pricing estimate, but this is not a required step.
                4. To choose a credit card payment, choose “Credit card” as the payment method and fill out your credit card information. Those who have used Stripe before can use the Link feature to autofill their details.
              • Invoices will be processed at the end of each month and require an active credit card on file for all queries beyond the free plan quota.

              Query Payments with GRT

              Subgraph users can use The Graph Token (or GRT) to pay for queries on The Graph Network. With GRT, invoices will be processed at the end of each month and require a sufficient balance of GRT to make queries beyond the Free Plan quota of 100,000 monthly queries. You’ll be required to pay fees generated from your API keys. Using the billing contract, you’ll be able to:

              • Add and withdraw GRT from your account balance.
              • Keep track of your balances based on how much GRT you have added to your account balance, how much you have removed, and your invoices.
              • Automatically pay invoices based on query fees generated, as long as there is enough GRT in your account balance.

              Your GRT Must Be on Arbitrum One

              The Graph protocol started on Ethereum Mainnet and now runs on Arbitrum One, so Subgraph Studio’s billing contract holds your balance on Arbitrum One. Before you add GRT to your billing balance, make sure you have:

              • GRT: GRT on Arbitrum One is the simplest option. Studio also accepts GRT from Ethereum Mainnet and bridges it to Arbitrum One for you during deposit, which takes about 15-20 minutes.
              • ETH on Arbitrum One: You need a small amount of ETH on Arbitrum One to pay gas for the deposit transaction.

              Don’t have GRT or ETH yet? See Getting GRT. To move GRT you already hold on Ethereum Mainnet into your wallet on Arbitrum One, see Bridging GRT.

              Adding GRT using a wallet

              1. Go to the Subgraph Studio Billing page.
              2. Click on the “Connect Wallet” button on the top right corner of the page. You’ll be redirected to the wallet selection page. Select your wallet and click on “Connect”.
              3. Select the “Manage” button near the top right corner. First time users will see an option to “Upgrade to Growth plan” while returning users will click “Deposit from wallet”.
              4. Use the slider to estimate the number of queries you expect to make on a monthly basis.
                • For suggestions on the number of queries you may use, see How many queries will I need?.
              5. Choose “Cryptocurrency”. GRT is currently the only cryptocurrency accepted on The Graph Network.
              6. Select the number of months you would like to prepay.
                • Paying in advance does not commit you to future usage. You will only be charged for what you use and you can withdraw your balance at any time.
              7. Pick the network from which you are depositing your GRT. GRT on Arbitrum or Ethereum are both acceptable.
              8. Click “Allow GRT Access” and then specify the amount of GRT that can be taken from you wallet.
                • If you are prepaying for multiple months, you must allow access to the amount that corresponds with that amount. This interaction will not cost any gas.
              9. Lastly, click on “Add GRT to Billing Balance”. This transaction will require ETH on Arbitrum to cover the gas costs.
              • Note that GRT deposited from Arbitrum will process within a few moments while GRT deposited from Ethereum will take approximately 15-20 minutes to process. Once the transaction is confirmed, you’ll see the GRT added to your account balance.

              Withdrawing GRT using a wallet

              1. Go to the Subgraph Studio Billing page.
              2. Click on the “Connect Wallet” button on the top right corner of the page. Select your wallet and click on “Connect”.
              3. Click the “Manage” button at the top right corner of the page. Select “Withdraw GRT”. A side panel will appear.
              4. Enter the amount of GRT you would like to withdraw.
              5. Click ‘Withdraw GRT’ to withdraw the GRT from your account balance. Sign the associated transaction in your wallet. This will cost gas. The GRT will be sent to your Arbitrum wallet.
              6. Once the transaction is confirmed, you’ll see the GRT withdrawn from your account balance in your Arbitrum wallet.

              Adding GRT using a multisig wallet

              1. Go to the Subgraph Studio Billing page.
              2. Click on the “Connect Wallet” button on the top right corner of the page. Select your wallet and click on “Connect”. If you’re using Gnosis-Safe⁠, you’ll be able to connect your multisig as well as your signing wallet. Then, sign the associated message. This will not cost any gas.
              3. Select the “Manage” button near the top right corner. First time users will see an option to “Upgrade to Growth plan” while returning users will click “Deposit from wallet”.
              4. Use the slider to estimate the number of queries you expect to make on a monthly basis.
                • For suggestions on the number of queries you may use, see How many queries will I need?.
              5. Choose “Cryptocurrency”. GRT is currently the only cryptocurrency accepted on The Graph Network.
              6. Select the number of months you would like to prepay.
                • Paying in advance does not commit you to future usage. You will only be charged for what you use and you can withdraw your balance at any time.
              7. Pick the network from which you are depositing your GRT. GRT on Arbitrum or Ethereum are both acceptable.
              8. Click “Allow GRT Access” and then specify the amount of GRT that can be taken from you wallet.
                • If you are prepaying for multiple months, you must allow access to the amount that corresponds with that amount. This interaction will not cost any gas.
              9. Lastly, click on “Add GRT to Billing Balance”. This transaction will require ETH on Arbitrum to cover the gas costs.
              • Note that GRT deposited from Arbitrum will process within a few moments while GRT deposited from Ethereum will take approximately 15-20 minutes to process. Once the transaction is confirmed, you’ll see the GRT added to your account balance.

              Billing FAQs

              How many queries will I need?

              You don’t need to know how many queries you’ll need in advance. You will only be charged for what you use and you can withdraw GRT from your account at any time.

              We recommend you overestimate the number of queries you will need so that you don’t have to top up your balance frequently. A good estimate for small to medium sized applications is to start with 1M-2M queries per month and monitor usage closely in the first weeks. For larger apps, a good estimate is to use the number of daily visits your site gets multiplied by the number of queries your most active page makes upon opening.

              Of course, both new and existing users can reach out to Edge & Node’s BD team for a consult to learn more about anticipated usage.

              Where can I get GRT to pay for queries?

              You can buy GRT on centralized exchanges like Coinbase and Binance, or swap for it on Uniswap on Arbitrum One. See Getting GRT for step-by-step instructions, including how to get the ETH you need for gas.

              Does my GRT need to be on Arbitrum One?

              Your billing balance is held on Arbitrum One. You can deposit GRT from Arbitrum One directly, or deposit GRT from Ethereum Mainnet and Subgraph Studio will bridge it for you. To move GRT in your own wallet between networks, see Bridging GRT.

              Can I withdraw GRT from my billing balance?

              Yes, you can always withdraw GRT that has not already been used for queries from your billing balance. The billing contract is only designed to bridge GRT from Ethereum mainnet to the Arbitrum network. Withdrawals are sent to your wallet on Arbitrum One. If you’d like to move that GRT back to Ethereum Mainnet, see Bridging GRT.

              What happens when my billing balance runs out? Will I get a warning?

              You will receive several email notifications before your billing balance runs out.

              ⁠Edit on GitHub⁠

              Quick StartManaging API Keys
              On this page
              • Querying Plans
              • Query Payments with credit card
              • Query Payments with GRT
              • Your GRT Must Be on Arbitrum One
              • Adding GRT using a wallet
              • Withdrawing GRT using a wallet
              • Adding GRT using a multisig wallet
              • Billing FAQs
              • How many queries will I need?
              • Where can I get GRT to pay for queries?
              • Does my GRT need to be on Arbitrum One?
              • Can I withdraw GRT from my billing balance?
              • What happens when my billing balance runs out? Will I get a warning?
              The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service