Retirement tax questions

I am active duty military and contribute part of my paycheck to the government TSP (Thrift Savings Plan) traditional and Roth. The TSP site says my limits are $18k. They are indeed listed already in box 12 of my W2.