Funding
Get funded, then build.
Three different things get funded on 0G: testnet gas while you develop, mainnet 0G when you ship, and compute credit for inference. Here is where each one comes from.
§ 01
Testnet gas
Free 0G on Galileo, from a faucet. No value, pays gas only.
§ 02
Mainnet 0G
Real tokens for production, bought or bridged.
§ 03
Compute credit
A spendable balance for inference. Not gas.
§ 01 · Testnet gas
Everything you build against Galileo, the 0G testnet, runs on free tokens. Claim them, deploy, break things, claim again.
Start here
0G Faucet
Connect a wallet on Galileo and claim testnet 0G. This is the canonical faucet and the one to try first.
faucet.0g.aiIf rate-limited
Google Cloud Web3 Faucet
Google Cloud runs a second Galileo faucet. Use it when the main faucet has already served your address today.
cloud.google.com/application/web3/faucet/0g/galileoTestnet 0G has no market value and only pays gas on Galileo. Nothing you claim here works on mainnet.
§ 02 · Mainnet 0G
Mainnet needs real 0G. How you get it depends on where your money already is, so we keep one guide that asks that question instead of a list of venues that goes stale.
Canonical route
get.0g.ai
An interactive decision tree. Pick your starting point (fiat, crypto on another chain, funds sitting on a centralized exchange, a DeFi position, or a wallet you already hold 0G in) and it routes you to the exchanges, bridges, and swaps that fit that path.
Open get.0g.aiExchange, bridge, and DEX listings live on get.0g.ai so there is a single place to keep them current.
§ 03 · Compute credit
Compute credit is the balance that pays providers on 0G Compute when your app generates tokens.
Credit is not gas
Gas pays for transactions on 0G Chain; compute credit pays providers for inference, and a funded wallet does not give you either one automatically.
Easiest
Top up in Private Computer
Add credit to your account from the PC dashboard and watch the balance draw down per request.
pc.0g.aiFrom the CLI
Deposit with 0g-compute-cli
Wallet-based flow: the first deposit creates your ledger, and 3 OG is the minimum that will do it.
0g-compute-cli deposit --amount 3 # 3 OG minimum, creates the ledger0g-compute-cli get-account # check the remaining balance
Wiring credit into an app? The broker flow is on the Compute page.
Not sure which of the three you need?
Ask the docs AI