The dependent care credit is a percentage of the expenses, not the full amount. The percentage is a sliding scale depending on your income. Form 2441 shows how the credit is calculated.
Also, if you had dependent care benefits from your job, that reduces the amount of the credit that you can get on your tax return.