LangChain.Providers.Replicate (langchainex v0.2.3)

Replicate's pricing structure is based on what hardware you use and how long you use it. More expensive hardware runs faster

Replicate's Pricing Structure

CPU

$0.0002 per second

(or, $0.012 per minute)

4x CPU

8GB RAM

Nvidia T4 GPU

$0.00055 per second

(or, $0.033 per minute)

4x CPU

16GB GPU RAM

8GB RAM

Nvidia A100 40GB GPU

$0.0023 per second

(or, $0.138 per minute)

Link to this section Summary

Functions

Used to report the price of a response from Replicate

Link to this section Functions

Link to this function

report_price(response)

Used to report the price of a response from Replicate