The mammalian kidney consumes a large amount of energy to support the reabsorptive work it needs to excrete metabolic wastes and to maintain homeostasis. Part of that energy is supplied via the metabolism of glucose. To gain insights into the transport and metabolic processes in the kidney, we have developed a detailed model of the renal medulla of the rat kidney. The model represents water and solute flows, transmural fluxes, and biochemical reactions in the luminal fluid of the nephrons and vessels. In particular, the model simulates the metabolism of oxygen and glucose. Using that model, we have identified parameters concerning glucose transport and basal metabolism that yield predicted blood glucose concentrations that are consistent with experimental measurements. The model predicts substantial axial gradients in blood glucose levels along various medullary structures. Furthermore, the model predicts that in the inner medulla, owing to the relatively limited blood flow and low tissue oxygen tension, anaerobic metabolism of glucose dominates.