i would say it would depend on your need, imho.
rav4, even though if you compare it with the vios of course would consume more fuel. but it can be as fuel-efficient in its class already, if you would compare this to the CRV, to X-Trail or to the ford escape.
and besides, i would think that the value of the rav4 would be still higher after a few years.