I've found all the necessary formulas for determining the cost of peace. We need to know the rivals' power values.
To get peace immediately after founding a city, we would have to pay:
Roosevelt 50g
Churchill, Mao or De Gaulle 60g
Gandhi 70g
Stalin 140g
That'll be one or two cheap techs.
Churchill (Fish+Mini) 8000 + 2k for Hunting
Mao (Agri+Mini) 8000 + 2k for Hunting
Gandhi (Mini+Myst) 8000 + 6k for Alphabet and Hunting
De Gaulle (Agri+Wheel) 12000 + 2k for Hunting, -2k for miscalculation (Wheel is only 4k)
Roosevelt (Agri+Fish) 6000 + 2k for Hunting
Spoiler workings :
half-ceasefire: We pay
(100+(ourCities+theirCities)*3+ourpop+theirpop+theirsuccess)
*(Theirpower+10)/(OurPower+TheirPower+10)
--------------------------------------
forDaggerAIs: *9*Theirpower/10*OurPower
forAIsw/morelandthanus: *Theirland/Ourland*.9
forWarPlanAIs: *35*TheirPower/10*(OurPower+4*TheirPower)
forTotalWarAI: *2
eitherDogpileAI: *1.5
---------------------------------------
if theirendangeredcities>ourendangeredcities /3
round down to nearest 10
half-peace treaty, we pay in addition:
(50+Turn+(OurCities+TheirCities)*8)
*3(Annoyed) or *5(Furious)
*40/(Turnsatwar+10)
The treaty doesn't matter too much - it costs us both the same, so I won't calculate it as it has no effect on the trade.
Their warsuccess = 42. Our warsuccess = 10
Powers: 284 total.
Stalin 230
DG: 12
Church: 10
Mao: 10
Gandhi: 14
Roos: 8
Us: 4
After settling (and we won't have a chance before that)
Gandhi:
We pay
150*24/28 = 120 for the CF
He pays
118*14/28 = 50 for the CF
so atm we owe 70 value in tech (likely to change)
Roos:
We pay
150*18/22 = 120 for the CF
He pays
118*14/22 = 70 for the CF
so atm we owe 50 value in tech
Mao, Church:
We pay
150*20/24 = 120 for the CF
He pays
118*14/24 = 60 for the CF
so atm we owe 60 value in tech
DG:
We pay
150*22/26 = 120 for the CF
He pays
118*14/26 = 60 for the CF
so atm we owe 60 value in tech
Stalin
We pay
150* 240/244 = 140 for the CF
He pays
118*14/244 = 0 for the CF
so atm we owe 140 value in tech
(100+(ourCities+theirCities)*3+ourpop+theirpop+theirsuccess)
*(Theirpower+10)/(OurPower+TheirPower+10)
--------------------------------------
forDaggerAIs: *9*Theirpower/10*OurPower
forAIsw/morelandthanus: *Theirland/Ourland*.9
forWarPlanAIs: *35*TheirPower/10*(OurPower+4*TheirPower)
forTotalWarAI: *2
eitherDogpileAI: *1.5
---------------------------------------
if theirendangeredcities>ourendangeredcities /3
round down to nearest 10
half-peace treaty, we pay in addition:
(50+Turn+(OurCities+TheirCities)*8)
*3(Annoyed) or *5(Furious)
*40/(Turnsatwar+10)
The treaty doesn't matter too much - it costs us both the same, so I won't calculate it as it has no effect on the trade.
Their warsuccess = 42. Our warsuccess = 10
Powers: 284 total.
Stalin 230
DG: 12
Church: 10
Mao: 10
Gandhi: 14
Roos: 8
Us: 4
After settling (and we won't have a chance before that)
Gandhi:
We pay
150*24/28 = 120 for the CF
He pays
118*14/28 = 50 for the CF
so atm we owe 70 value in tech (likely to change)
Roos:
We pay
150*18/22 = 120 for the CF
He pays
118*14/22 = 70 for the CF
so atm we owe 50 value in tech
Mao, Church:
We pay
150*20/24 = 120 for the CF
He pays
118*14/24 = 60 for the CF
so atm we owe 60 value in tech
DG:
We pay
150*22/26 = 120 for the CF
He pays
118*14/26 = 60 for the CF
so atm we owe 60 value in tech
Stalin
We pay
150* 240/244 = 140 for the CF
He pays
118*14/244 = 0 for the CF
so atm we owe 140 value in tech
To get peace immediately after founding a city, we would have to pay:
Roosevelt 50g
Churchill, Mao or De Gaulle 60g
Gandhi 70g
Stalin 140g
That'll be one or two cheap techs.