Ideally the energy to perform this acceleration comes from the rotation of the planet below, transmitted via the tether. The anchor station would have to be stabilized to prevent oscillation and rotation. However that technical challenge is minor compared to the tether material itself.
Another advantage of a space elevator is that we can use electrical power from a base station instead of onboard power on the vehicle alone. Also the power can be much lower than a comparable rocket. To ascend on the rail/tether you can accelerate much slower. It doesn't need to lift fast or fall. It can just slowly accumulate altitude and velocity.
I've not done the mechanics in a long time (not since college), but I believe the tether itself would be providing all horizontal propulsion. Essentially by riding the tether up, it starts pushing you faster and faster. Since the payload's mass would be small compared to the anchor, the drag on the anchor would be negligible.
There's likely some need for thrust compensation on the anchor over time to counteract the delta V lost to the lifting of payloads, but that would all be part of station-keeping and would be there for tether drag as well.
Station keeping may be used to dampen oscillations, but managing climbing rates works just as well.
Not arguing, just curious. It's been at least a decade since I've messed with orbital mechanics.
EX: https://www.researchgate.net/publication/312934526/figure/do...
Of course if you really dig into things it’s more complicated, but the basic principle is very similar.
In fact, the way to build a space elevator is not to build a "tower to space", but to put an anchor rock into geostationary orbit and then hang a cable down to earth from it. You can then connect the cable to terra firma so that it doesn't sway, but in terms of the main forces involved it's hanging down, not standing up.
If you crawl only to the LEO altitude (e.g. 300 km) on the space elevator, you will be in space, but not in orbit. If you let go of the elevator there, you will immediately start falling to a gruesome death.