The contents most defintely do have an effect on how much is charged. You really see this on lower level boxes. On my level 30ish characters, if they are being charged 5k+ to get a box open, it has an enhancive or nice gems in it.

Of course, this has all been gone over before. :P