A Raspberry Pi Zero W with case and SD card is ~20€ and smaller than a smartphone. Usefulness of the additional phone features really depends on what you're doing. The Pi has features the phone doesn't (i.e. GPIOs) - but again only useful if happen to match what you need.