Some of the new trucks have a gauge that tells you how much is in the tank which is a great feature. The DEF is injected into the exhaust stream and reduces particulate pollution by 99%.
There have been problems with the NOx sensors that tell the engine computer how much DEF to inject. If the sensors start to fail the DEF usage will jump and don't expect the engine codes to provide the correct information to the mechanic. Often the codes will state that the DEF is contaminated when it is simply a bad sensor giving bad information.
I fill up the tank before a trip and then get it as needed at truck stops at the pump and I take a very large funnel as the nozzles at the truck stops are meant for big rigs with saddle tanks and not the small filler spout in an engine compartment. GM's setup was definitely designed by monkeys and very stupid ones at that.