The Application Fee and the Change of Status Fee are both payable to (The Costa Rican Immigration Department (DGME)) when the application is filed.
The DIMEX (Resident ID Card/Cédula) and the Guarantee Deposit about are both payable (The Costa Rican Immigration Department (DGME)) once the application is approved.
The amount for the Guarantee Deposit depends on your country of origin.
The purpose of the deposit is for the Costa Rican Government to have available funds to send you back home should you be deported for any reason. This deposit is refundable and will be returned to you if you should decide to become a permanent resident.
Other costs will also include power of attorney, passport photos, certified copies, translations and any other incidentals.
These expenses do not include the costs related to procurement of documents from your home country.
Once you have been approved by immigration you will need to sign up for social security (CCSS known as Caja). If you have a passive income you can sign up for Seguro Voluntario which will cost approximately 9% of your stated monthly income.
For example, a pensioner with a $1,000/month income can expect to pay around $90/month once you receive your DIMEX (Resident ID Card/Cédula). Caja covers all family members for healthcare.
Once the application is filed, you will have a receipt (Certificado tramite Migratorio) in hand from Costa Rica immigration, allowing you to stay in the country while the application is being processed. Therefore, you will not be required to leave the country every 90 days to renew the visitor visa.