Machine learning doesn’t need to be so hard.

Run open-source models with a cloud API.

Explore models or, learn more about our API

Featured models

Publish models

Define your model with Cog, an open-source tool to package a machine learning model in a container:

  gpu: true
    - "libgl1-mesa-glx"
    - "libglib2.0-0"
  python_version: "3.8"
    - "torch==1.8.1"
predict: ""

Then, push it to Replicate:

$ cog push

Your model can now be run in the cloud on the web and via an API.

Replicate is not open for everyone to create models yet. Join our waitlist and we'll notify you when we're ready for new users.

Run models from your code

Run open-source or private models with just a few lines of Python code:

import replicate
model = replicate.models.get("hooli/hotdog-detector")

Or query the API directly using your tools of choice:

curl -s -X POST \
-d '{"version": "...", "input": {"image": ""}}' \
-H "Authorization: Token $REPLICATE_API_TOKEN" \
-H 'Content-Type: application/json' \

Explore models or, learn more about our API