Medications like olanzapine have been associated with the development of weight gain and diabetes in some patients. It is not known if the increased risk of developing diabetes is a direct effect on insulin or simply related to weight gain.