thanks (n.) Look up thanks at Dictionary.com
mid-13c., plural of thank (n.), from Old English þanc, þonc in its secondary sense "grateful thought, gratitude," from the same root as thank (v.). In prehistoric times the Germanic noun seems to have expanded from "a thinking of, a remembering" to also mean "remember fondly, think of with gratitude." Compare Old Saxon thank, Old Frisian thank, Old Norse þökk, Dutch dank, German Dank. The Old English noun chiefly meant "thought, reflection, sentiment; mind, will, purpose," also "grace, mercy, pardon; pleasure, satisfaction."

As short for I give you thanks from 1580s; often with extensions, such as thanks a lot (1908). Spelling thanx attested by 1907.