Whether you qualify for a tax deduction for an IRA contribution depends on your income, filling status, and other factors. If you participated in a workplace plan, then you follow the limits for someone who participated in a plan, even if you did not contribute the maximum allowed.
https://www.irs.gov/retirement-plans/ira-deduction-limits