It depends on exactly where you are traveling within the city. If your hotel or other accommodation is within the boundary of the orbital motorway Autopista de Circunvalación M-30, or M-30, that encircles the city, you will be charged a flat fare of €30 one way.
However, if your final destination is outside of the M-30 boundary, your fare will be charged using a meter and will fluctuate based on the length and duration of your taxi ride.