Replicate

Verified 💳 Trial Credits

Run open-source models with a single line of code. Thousands of models available, from LLMs to Stable Diffusion, running on scalable GPU infrastructure.

Open Source Hub Image Gen Fine-tuning Scalable
Get API Key Suggest Edit
3851

Overview

Provider Type

Trial Credits

API Endpoint

https://api.replicate.com/v1

Free Tier Highlights

Varies by model

Why Choose Replicate?

Replicate runs thousands of open models, from LLMs to image, video and audio models, each with a simple API.

Best for: quickly trying unusual models, especially for images and media.

Watch out: free use is limited to a few runs on select models; it is not an OpenAI-compatible chat API.

Quick Start Guide

1

Sign up at https://replicate.com/

2

Link GitHub account

3

Add payment method (or use trial)

4

Get API Token

5

Use Python/JS SDK

Available Models

2 free models
Model Name ID Context
meta/llama-3-70b-instruct
meta/meta-llama-3-70b-instruct
8,000 tokens
stability-ai/sdxl
stability-ai/sdxl
Image

Integration Examples

Ready-to-use code snippets for your applications.

main.py
import replicate

# pip install replicate
# export REPLICATE_API_TOKEN=YOUR_TOKEN

output = replicate.run(
    "meta/llama-3-70b-instruct",
    input={
        "prompt": "Write a short poem about AI",
        "max_tokens": 512
    }
)

print("".join(output))

Free Tier Pricing & Limits

Rate Limit

Requests per minute

Varies by model

Daily Quota

Requests per day

Credit-based

Token Limit

Tokens per minute

Pay-per-prediction

Monthly Quota

Per month limit

Billing required after the free runs

Free Credits

One-time

Limited free runs on select models

Use Cases

Image Generation Workflows

Running specific niche models

Prototyping with new research papers

Scalable backend for ML apps

Limitations & Considerations

Pay-per-second billing (can be expensive)

Cold starts for less popular models

Trial credits are minimal

Requires credit card for sustained use

Community Hub

Live

Join the discussion, share tips, and rate Replicate.

Quick Reactions

Add Discussion

Comments are moderated. Be helpful and respectful.

Recent Activity

0 comments

Ready to try Replicate?

Create your key on the official site, then use the quickstart above. Limits can change: we re-check them regularly.