A double layer δ-NH4V4O10, due to its high energy storage capacity and excellent rate capability, is a very promising cathode material for Li-ion and Na-ion batteries for large-scale renewable energy storage in transportation and smart grids.