The ending changes depending on the Case and Number.

Case |Singular |Plural
Им. |ты́сяча |ты́сячи
Р. | ты́сячи| ты́сяч
Д. |ты́сяче |ты́сячам
В. |ты́сячу| ты́сячи
Тв. |ты́сячью | ты́сячами...