No, this is not a gift. Instead, you are making an investment and the interest earned is not tax-free. There would be no charitable deduction unless you elect to forgive a portion of the investment or give back some interest earned to the nonprofit.