They are both grammatically possible but the second one reads more smoothly to me. "for free" is common and widely accepted, but some people feel that it is not very good English. I would personally not use it in formal writing.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.