Token Generation in AI