In case you are currently connected to TANESCO, the utility of mainland Tanzania or ZECO, the utility of Zanzibar, you can check the current prices here. Naturally, this requires that you know how much electricity you are using per day, month or year. On the same page you can also find an estimate of the costs of running a diesel generator.