Gene synthesis cost is affected mainly by gene length and complexity.
Gene expression (protein production) cost is mainly affected by:
1. Expression system you choose (E coli? insect? or mammalian?)
2. The amount and purity of protein yield you require.
3. Other special requirements (e.g. tag removal, endotoxin level control, special tags, etc.)