The metabolic pathway that produces glucose from non-carbohydrate sources such as amino acids and fatty acids.