Clientele - 1

Graziani Clientele

90-94 Crown Street is an address that is synonymous with Cars & Lifestyle.

The Graziani name that proudly adorns the building is a constant reminder that this family business is fuelled by passion to deliver motoring dreams to its clients and followers.

Approaching 40 years of automotive affair, Tony and his Team at Scuderia Graziani have had the honour of working with some of the world’s best Luxury Automotive Brands and an equally aspirational clientele.


I find it rewarding to be among the people who have invested in our product and long to gather and share their experiences and enthusiasm…

– Tony Graziani

MEET OUR CLIENTELE

G MG M
04:30 06 Nov 24
Tony, John and Stefania have been an absolute pleasure to deal with. They have made the process of purchasing the car so easy and simple. Thank you Graziani Team.
Ramy NiamiRamy Niami
03:42 31 Oct 24
What a wonderful experience, would not buy a luxury car from anywhere else!
JasonJason
12:50 26 Oct 24
Outstanding Customer Service! & Outstanding supportThank you Team
Hung ChuyHung Chuy
11:38 25 Oct 24
Purchased my first Supercar from them. The team , (Stefania in particular) were helpful every step of the way through the journey. I really needed to get everything in order before the weekend and they helped every step of the way. Thank you for this. I would definitely buy/sell from them again.
tony saltony sal
01:34 25 Oct 24
I had a great experience with Scuderia Graziani. The staff were very helpful, I sold my car within 2 weeks. The selling process was smooth and transparent. I’d definitely recommend them to others.
Gerard TiffenGerard Tiffen
05:44 11 Oct 24
⭐️⭐️⭐️⭐️⭐️I recently purchased my second car through Scuderia Graziani, and once again, the experience was outstanding! Gianpaolo and Stefania were incredibly helpful and professional throughout the entire process. They made everything seamless and straightforward, without any of the usual hassle when it comes to trades and purchasing. If you’re looking for a trustworthy dealership that values their customers, I highly recommend Scuderia Graziani. Thank you, G and Stefania, for making it such an easy and enjoyable experience!
Sam HassanSam Hassan
19:46 11 Sep 24
As a returning customer, I had high expectations when I recently visited Scuderia Graziani again, and I am thrilled to say that they exceeded every one of them. Tony and Stefania continue to provide the kind of exceptional service that keeps me coming back.This dealership truly embodies what it means to be a honest and genuine family business. From the moment I stepped through the door, I was welcomed with warm smiles and genuine care, let’s not forget the coffee by the man himself!!Their commitment, honesty and integrity is evident in every interaction.What truly touched my heart was their thoughtful gesture of surprising me with a birthday cake during my visit. This kind act turned what was already a positive experience into a memorable celebration. It’s this level of personal attention and care that sets Scuderia Graziani apart from any other dealership.If you’re looking for a dealership that treats you like family and consistently delivers outstanding service with honesty, look no further than Scuderia Graziani. I can’t recommend them highly enough.CheersSam
Arthur DArthur D
01:11 31 Jul 24
A sincere and warm thank you to the Scuderia Graziani Team.Purchased my 911 4S, and unlike dealing with other organisations (or people) buying a car, dealing with Tony and Stefania made the process very comfortable. Made you feel like you were dealing with family.From the initial engagement with Tony, where the discussion starts with a coffee and about getting to know each other, before getting into the discussion about the car.No pressure in making a decision, just there to help in the decision process.To dealing with Stefania, who made the whole process easy, from the transaction to the admin and the pick-up of the vehicle.Anyone looking for high end luxury cars, no better place to deal with.
Jim KopsarisJim Kopsaris
22:33 03 Jul 24
My recent purchased from Scuderia Graziani AMG E63S was outstanding service from Amir and Stefania, from there supercars and performance vehicles are highest level expectations and they delivery! I absolutely love new beast to my collection hopefully do more business in the future.Thank you for the gift bag was nice touch!
Joseph LoweryJoseph Lowery
00:35 27 Mar 24
Tony is a gentleman, I recently consigned my Rolls Royce Wraith with Tony ,he was highly recommended as a professional that can be trusted with a high value unencumbered carIn every he out performs expectations.A most trustworthy person is rare but is found in TonyAll the best Tony & FamilyMany Thanks Brian
JunJie ChengJunJie Cheng
20:18 26 Mar 24
The experience of purchasing a car from Scuderia Graziani has undoubtedly been a memorable journey. The Rolls-Royce Wraith I acquired not only impresses with its extraordinary craftsmanship but also, through the premium service provided by the dealership, offered an unparalleled joy of purchase. Tony, the founder, displayed incredible patience and enthusiasm. His expertise and attention to detail made the entire process smooth and enjoyable. Stefania's professional skills were also remarkably impressive. Her understanding of cars and her problem-solving abilities are truly top-notch. Benjamin, as an administrative officer, demonstrated professional demeanor and efficiency, ensuring all administrative processes were seamless. In summary, Scuderia Graziani is not just a dealership that sells high-end cars; it's a place where customers can feel esteemed and professional. I express my highest appreciation for them and look forward to more opportunities to collaborate in the future.
David NaamoDavid Naamo
12:52 26 Mar 24
The team at Graziani are amazing. Smooth sale of my MC20 Maserati. Very highly recommended
Sav MSav M
07:24 20 Mar 24
I purchased my very first Lamborghini Huracan Evo from Scuderia Graziani. Tony was a gentleman who made me one of the best coffees I’ve had and sold me one of the best cars I’ve owned till date. Thank you Stefania for also organising all the transport side of things and making sure the transaction was a smooth sail. Prompt reply from both Tony & Stefania during the whole deal, sale & freight.Once again Thank you team & will hopefully be back again for future purchases.P.s don’t spend more than an hour in the showroom as Tony will over dose you with his speciality Italian coffee! 😜
BmoneyBmoney
05:47 13 Mar 24
I sold my Lamborghini Huracan through Scuderia Graziani. They delivered what they promised in a timely manner. Gave constant updates and the whole team worked great. Would definitely use them again and would happily recommend.
David FraserDavid Fraser
11:20 26 Feb 24
Just had the most wonderful experience purchasing my Audi SQ7 from Scuderia Grazianj . Tony Graziani is a true Gentleman who treats his clients with respect and honour and also has a fantastic sense of humour. I truly enjoyed every moment when dealing with Tony and also his delightful daughter Stefania who was so warm and welcoming .I am so happy with my new Audi it is a beautiful drive and in excellent condition as described.Also a huge thanks to my beautiful wife Kate who suggested I need to buy this car .🥹Scuderia Graziani is also a treasure trove of exotic super cars that just enhances your overall experience being there .Also the coffee is great too !!Thank you so much team GrazianiYou are a true gem in the automotive industryCheers David 👏👏👏👏❤️
Adam ThomasAdam Thomas
10:32 12 Feb 24
I had the absolute pleasure of buying a vehicle from Tony And his team, After unfortunately missing out on one of their vehicles to another buyer, Tony quickly sourced me another G63 Which was even better. Tony, his family and team are lovely and a pleasure to deal with. They made me and my wife feel extremely welcome when we came to the showroom with our dogs, And I left with a beaut of a car!The process from start to end was seamless and Tony and his team kept me updated at all times.Their vehicles are all amazing, And you know that you are getting the best of the best when you buy from this garage!This was my first purchase from Tony , but I know I will be back time and time again When I decide to change my cars.I can’t recommend this garage highly enough.Great serviceAmazing carsPleasure to deal withI’m one happy customerThank you again to all the team at Scuderia Graziani !Regards - Adam
Delmas CDelmas C
01:10 25 Jan 24
From start to finish, my car buying experience at Scuderia Graziani was nothing short of exceptional. I recently had the pleasure of purchasing a continental from this dealership, and I am thoroughly impressed by Tony and Stefania professionalism and customer service provided.Stefania made payment method a seamless and transparent experience. She was efficient, clear in his explanations, and genuinely worked to find the best financial solution that suited my needs. His professionalism and expertise in handling the financial details were truly impressive.The Owner, Tony Graziani deserves a special mention for his outstanding leadership. The level of customer care and attention to detail under his management is evident in every interaction. tony was approachable, responsive, and ensured that the entire purchase experience was up to the high standards one expects when buying a luxury car.The car itself is a marvel – a testament to the Bentley brand. Driving it has been an absolute joy, and I couldn't be happier with my purchase. The quality, performance, and elegance of the vehicle are unparalleled.I would like to extend my sincere thanks to the entire team at Scuderia Graziani, especially Tony, and Stefania, for making my Bentley purchase an unforgettable experience. I wholeheartedly recommend this dealership to anyone considering a luxury vehicle. Their commitment to excellence in customer service and their impressive inventory of high-end cars is truly commendable.
js_loader

Select your service

Clientele - 35

Sell Your Car

If you would like to sell your quality pre-loved motorcars or If you wish to find your perfect Luxury or Sports Car, simply let us do the work for you.

Clientele - 36

Consign Your Car

If you are looking at selling your car, consigning is one of the best methods. We will work with you to get the ideal result whenever selling your prestige car.

Clientele - 37

Source Your Car

You are at the stage of buying your first or next motor vehicle. Talk with the team at Scuderia Graziani to discuss options of financing and insurance

Clientele - 38

Venue Hire

Scuderia Graziani is a unique showroom is an event space that will undoubtedly set you apart from the status quo.

JOIN THE SCUDERIA GRAZIANI COMMUNITY
DREAM CARS, NEW ARRIVALS, LATEST EVENTS!
PHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPnZhciBnZm9ybTtnZm9ybXx8KGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoImdmb3JtX21haW5fc2NyaXB0c19sb2FkZWQiLGZ1bmN0aW9uKCl7Z2Zvcm0uc2NyaXB0c0xvYWRlZD0hMH0pLGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoImdmb3JtL3RoZW1lL3NjcmlwdHNfbG9hZGVkIixmdW5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ICAgIGdmb3JtLnV0aWxzLnRyaWdnZXIoIHsgZXZlbnQ6ICdnZm9ybS9wb3N0X3JlbmRlcicsIG5hdGl2ZTogZmFsc2UsIGRhdGE6IHsgZm9ybUlkOiA2LCBjdXJyZW50UGFnZTogY3VycmVudF9wYWdlIH0gfSApOyAgICAgICAgICAgIGlmICggdmlzaWJpbGl0eVRlc3REaXYgKSB7ICAgICAgICAgICAgICAgIHZpc2liaWxpdHlUZXN0RGl2LnBhcmVudE5vZGUucmVtb3ZlQ2hpbGQoIHZpc2liaWxpdHlUZXN0RGl2ICk7ICAgICAgICAgICAgfSAgICAgICAgfSAgICAgICAgZnVuY3Rpb24gZGVib3VuY2UoIGZ1bmMsIHdhaXQsIGltbWVkaWF0ZSApIHsgICAgICAgICAgICB2YXIgdGltZW91dDsgICAgICAgICAgICByZXR1cm4gZnVuY3Rpb24oKSB7ICAgICAgICAgICAgICAgIHZhciBjb250ZXh0ID0gdGhpcywgYXJncyA9IGFyZ3VtZW50czsgICAgICAgICAgICAgICAgdmFyIGxhdGVyID0gZnVuY3Rpb24oKSB7ICAgICAgICAgICAgICAgICAgICB0aW1lb3V0ID0gbnVsbDsgICAgICAgICAgICAgICAgICAgIGlmICggIWltbWVkaWF0ZSApIGZ1bmMuYXBwbHkoIGNvbnRleHQsIGFyZ3MgKTsgICAgICAgICAgICAgICAgfTsgICAgICAgICAgICAgICAgdmFyIGNhbGxOb3cgPSBpbW1lZGlhdGUgJiYgIXRpbWVvdXQ7ICAgICAgICAgICAgICAgIGNsZWFyVGltZW91dCggdGltZW91dCApOyAgICAgICAgICAgICAgICB0aW1lb3V0ID0gc2V0VGltZW91dCggbGF0ZXIsIHdhaXQgKTsgICAgICAgICAgICAgICAgaWYgKCBjYWxsTm93ICkgZnVuYy5hcHBseSggY29udGV4dCwgYXJncyApOyAgICAgICAgICAgIH07ICAgICAgICB9ICAgICAgICBjb25zdCBkZWJvdW5jZWRUcmlnZ2VyUG9zdFJlbmRlciA9IGRlYm91bmNlKCBmdW5jdGlvbigpIHsgICAgICAgICAgICB0cmlnZ2VyUG9zdFJlbmRlcigpOyAgICAgICAgfSwgMjAwICk7ICAgICAgICBpZiAoIHZpc2liaWxpdHlUZXN0RGl2ICYmIHZpc2liaWxpdHlUZXN0RGl2Lm9mZnNldFBhcmVudCA9PT0gbnVsbCApIHsgICAgICAgICAgICBjb25zdCBvYnNlcnZlciA9IG5ldyBNdXRhdGlvbk9ic2VydmVyKCAoIG11dGF0aW9ucyApID0+IHsgICAgICAgICAgICAgICAgbXV0YXRpb25zLmZvckVhY2goICggbXV0YXRpb24gKSA9PiB7ICAgICAgICAgICAgICAgICAgICBpZiAoIG11dGF0aW9uLnR5cGUgPT09ICdhdHRyaWJ1dGVzJyAmJiB2aXNpYmlsaXR5VGVzdERpdi5vZmZzZXRQYXJlbnQgIT09IG51bGwgKSB7ICAgICAgICAgICAgICAgICAgICAgICAgZGVib3VuY2VkVHJpZ2dlclBvc3RSZW5kZXIoKTsgICAgICAgICAgICAgICAgICAgICAgICBvYnNlcnZlci5kaXNjb25uZWN0KCk7ICAgICAgICAgICAgICAgICAgICB9ICAgICAgICAgICAgICAgIH0pOyAgICAgICAgICAgIH0pOyAgICAgICAgICAgIG9ic2VydmVyLm9ic2VydmUoIGRvY3VtZW50LmJvZHksIHsgICAgICAgICAgICAgICAgYXR0cmlidXRlczogdHJ1ZSwgICAgICAgICAgICAgICAgY2hpbGRMaXN0OiBmYWxzZSwgICAgICAgICAgICAgICAgc3VidHJlZTogdHJ1ZSwgICAgICAgICAgICAgICAgYXR0cmlidXRlRmlsdGVyOiBbICdzdHlsZScsICdjbGFzcycgXSwgICAgICAgICAgICB9KTsgICAgICAgIH0gZWxzZSB7ICAgICAgICAgICAgdHJpZ2dlclBvc3RSZW5kZXIoKTsgICAgICAgIH0gICAgfSApO30gKTsKPC9zY3JpcHQ+Cg==