When it comes to tech, San Francisco on the west coast of the US has a well established reputation as being the world's number one city.
But San Francisco's crazy living costs led real estate firm Savills to choose another US city as its number one tech hub in its Tech Cities 2017 report, which ranks 22 cities across the world "at the forefront of the global tech industry."
In addition to rent, Savills looked at over 100 metrics, ranging from the number of days needed to start a business through to the cost of a flat white coffee. Researchers also looked at access to venture capital and transportation times for the average tech worker.
Savills said that all of the cities are "at the top of global shopping lists for tech companies looking for space in which to locate."
22. Cape Town, South Africa

Summary: "One of Africa's most popular tourist destinations is now also one of its hottest tech environments, aided by initiatives such as French Tech's recently-launched incubator in Century City — with another one scheduled to appear in Johannesburg. Known as the 'digital gateway to Africa', the Western Cape is home to four top universities, and some 59% of South Africa's startups are born here."
City population: 3.7 million
City GDP per capita: $8,735
Established tech firm office rent per week per sq ft: $13
Prime residential rent per week: $840
Cost of a Flat White: $1.78
Startups per 1,000 people: 0.1
Average commute by employees working in key tech districts: 35 minutes
Cost of a single journey on local transport: $0.77
Annual passengers across the city's airports: 9.7 million
21. Buenos Aires, Argentina

Summary: "Buenos Aires may be known for its party atmosphere, but a tech start-up environment is also taking hold – spurred on by the city's many highly-rated universities and an increased appetite for venture capital funding. Despite Argentina's troubled economy and political situation, Buenos Aires has emerged as a key player in renewable energy and aerospace technology." City population: 2.9 million
City GDP per capita: $15,285
Established tech firm office rent per week per sq ft: $28
Prime residential rent per week: $374
Cost of a Flat White: $2.50
Startups per 1,000 people: 0.2
Average commute by employees working in key tech districts: 38 minutes
Cost of a single journey on local transport: $0.43
Annual passengers across the city's airports: 8.6 million
20. Bangalore, India

Summary: "Bangalore has enjoyed a status as India's leading tech city since the 1970s, when a 330-acre industrial park was created to house the city's electronics factories. The tradition continues today: around two-fifths of India's IT and software exports come from Bengalaru, and the city's low labour costs and wealth of technical talent make it particularly attractive for outside investment." City population: 9.8 million City GDP per capita: $4,368 Established tech firm office rent per week per sq ft: $12 Prime residential rent per week: $911 Cost of a flat white: $1.35 Startups per 1,000 people: 0.4 Average commute by employees working in key tech districts: 47 minutes Cost of a single journey on local transport: $0.31 Annual passengers across the city's airports: 18.1 million
See the rest of the story at Business Insider