When a file is loaded to be printed, it will display the estimated cost of printing.
This plugin will display the estimated cost of the print based on filament cost per meter, and expected printing time.
These variables can be set via settings from an admin account. Estimating how much a meter of filament costs, is trivial. For hourly running costs, refer to your printer’s manual, or use a power meter to estimate power consumption in kWh and then simply multiply by the cost of 1kWh as billed to you by your electricity provider.