Money in brokerage account counted towards AGI?

I am receiving conflicting answers in regards to putting some of my income in a brokerage account.

1. Hypothetically if my total income is $100,000 and I put $30,000 into a brokerage account do I pay federal taxes on the original $100,000 or do I pay taxes based on $70,000?