You should pick whatever comes the first, and
still keep the relationship with company A. There's always more job security to work for large corporation rather than small company.Also since company B want you so bad, which means that position you're going to fill in is highly demanded.Meantime, I guess that company A is still watching.They are unsure whether you worth that much salary or not in terms of the budget.