A. Tapioca is arguably one of the best gluten-free substitutes for flour. Tapioca can roughly substitute wheat flour in a 1:1 ratio. Cakes and cookies need finer granules and if you’re looking to thicken something like soup, a little of the coarser stuff will suffice.