This question has no simple answer.
The first layer of considerations has to be the cactus, you, and the world...
Different cacti can tolerate and appreciate radically different soils. A rich soil formulated for tomatoes which some of my trichocereus would absolutely love would kill an ariocarpus. Geohintonias can tolerate mineral soils that would be gradually lethal to most other cacti. There is a lot of variety in their needs and tolerances.
What you want from a cactus is just as relevant. Ever notice how Lophophoras in nature look little like those in cultivation, the same is true for most cacti because most people grow them in soils that foster faster, fatter growth. In cultivation the climate and soil determines what an individual cactus will look like.
Available materials should be considered as well. You'll encounter formulas that include materials expensive or unavailable in your area. When I go hiking I take along a big plastic jar just in case I find any good looking mineral to incorporate in mixes.
Book
s could be written about each of those three points.
If your growing non-columnars and prefer a more natural look to your cacti
and are patient the free cactus magazine
Xerophilia did their first special issue, a small book really, on just that issue. Its a good read if you like non-columnars to look authentic. Its 3/4 the way down that page.