Usage-dependent electric costs?

My electricity costs depend on how much I’ve used so far in the month. Does anyone have a handy recipe for building a rate card?