You cannot claim a credit for education expenses paid with tax-free funds. You must reduce the amount of expenses paid with tax-free grants, scholarships and fellowships and other tax-free education help.
What are tax-free funds
?
Are fellowship / tuition for grad students paid by faculty grants counted as tax free?