# Replicate

CreateWithAI Hub page: https://createwithaihub.com/inference/replicate
Latest version of this file: https://createwithaihub.com/inference/replicate.md

- Type: Tool · Category: Endpoints & Inference
- Publisher: Replicate (Cloudflare)
- Pricing: Paid
- Runs on: Web, API (cloud)

Cloud API for running thousands of community and proprietary models, mostly image and video, plus custom model deployment with Cog.

Replicate lets you run published AI models through a cloud API without managing infrastructure, fine-tune image models with your own data, or deploy custom models packaged with its open-source Cog tool. Most public models are billed by the time they run on the chosen hardware, while some are billed per output (per image, per second of video or per token). Replicate became part of Cloudflare in December 2025 and keeps its own brand and API.

Useful for: Generating images or video from an app with a single API call to a model such as FLUX, or hosting your own model behind an autoscaling endpoint.

## Key features

- Thousands of community-contributed and proprietary models callable over one HTTP API
- Per-second hardware billing (CPU, T4, L40S, A100, H100, H200) or per-output pricing on some models
- Fine-tuning of image models with your own training data
- Deploy private models packaged with the open-source Cog tool
- Official Python, Node.js, Swift and Go clients and an MCP server

## Connection

- Model families: DeepSeek, FLUX
- Modality: Text, Image, Audio, Video, Embeddings
- API compatibility: Native API only
- Pricing structure: Per token, Per request / unit, Per GPU-second
- Kind: Inference provider

## Before you start

- Replicate account and API token (REPLICATE_API_TOKEN)

## Install steps from the official documentation

Python client:

```
pip install replicate
```

## Limitations

- Only select models can be run for free, and billing must be set up after a short trial
- Private models (except fast-booting fine-tunes) bill for setup and idle time as well as active time
- Models are called through Replicate's own HTTP API and client libraries; no OpenAI-compatible endpoint is documented

## Official links

- Website: https://replicate.com
- Documentation: https://replicate.com/docs
- Source: https://replicate.com/pricing (Per-second hardware prices, per-output pricing examples (FLUX images, DeepSeek-R1 tokens, Wan video seconds), private model billing)
- Source: https://replicate.com/docs (Run models, fine-tune image models, deploy custom models)
- Source: https://replicate.com/docs/topics/billing (Select models free to try, then billing setup required)
- Source: https://replicate.com/docs/reference/client-libraries (Official Python, Node.js, Swift, Go clients and MCP server)
- Source: https://replicate.com/docs/get-started/python (pip install replicate and REPLICATE_API_TOKEN)
- Source: https://replicate.com/blog/replicate-cloudflare (Replicate is joining Cloudflare; brand kept, API unchanged)
- Source: https://replicate.com/collections (Collections incl. text-to-speech, speech-to-text, music generation and embedding models)
- Source: https://blog.cloudflare.com/why-replicate-joining-cloudflare/ (Cloudflare announcement (2025-12-01) that Replicate is officially part of Cloudflare)
