Run open-source models in the cloud with one line of code.
Developer API
Replicate is the model-hosting platform for open-source AI in 2026 — a cloud where developers run thousands of community-published models (image generation, video, LLMs, audio, embeddings, specialized fine-tunes) with a single line of code and per-second GPU billing, plus the ability to package and deploy their own models using the open-source Cog framework. If you have ever wanted to run Stable Diffusion XL, FLUX.1, ControlNet, Whisper, or one of the long-tail community fine-tunes without provisioning a GPU yourself, Replicate is where you go.
Founded in 2019 by Ben Firshman and Andreas Jansson (formerly of Docker and Spotify), Replicate has grown into the default distribution channel for open-source AI models — the closest thing the community has to a "GitHub for models that actually run." The catalog spans official releases from Black Forest Labs (FLUX), Stability AI (Stable Diffusion), Meta (Llama), OpenAI (Whisper), and thousands of community publishers who upload fine-tunes, novel architectures, and experimental workflows.
The one-line positioning: Replicate is the catalog-first, model-diversity-first inference platform — the pick when the specific model matters more than the fastest generic LLM inference. Where Together AI and Groq optimize a curated open-weight LLM catalog for serving at scale, Replicate optimizes for breadth — every image model, every video model, every audio model, every long-tail fine-tune. If your workload rides on FLUX, an SDXL LoRA, a specific ControlNet, a custom Whisper fine-tune, or a niche research model, Replicate is often the only host that has it.
The product surface has two real parts. First, the public model catalog: run any of the ~30,000 published models by calling replicate.run("owner/model-name", input={...}) and paying per-second of GPU time. Second, Cog: an open-source framework for packaging your own model into a container and deploying it on Replicate (or anywhere) with the same API. Together, these cover the two workflows that actually matter — consuming public models and shipping your own.
Replicate's feature set in 2026 has evolved substantially from its "run any model" origin, and now includes production-grade primitives that were missing in the early years.
cog push, or run the container anywhere else — the framework is not vendor-locked.replicate.run() one-liner is genuinely one line.Replicate's pricing is per-second GPU time for hosted models, with public models priced by their hardware tier and hot-catalog models priced per-run or per-token when the maintainer opts in. Approximate mid-2026 rates:
| Hardware | Price ($/second) | Typical models |
|---|---|---|
| CPU | $0.000100 | Text processing, lightweight tools |
| Nvidia T4 | $0.000225 | Small image models, older SD variants |
| Nvidia L40S | $0.000975 | Mid-tier image and video |
| Nvidia A40 | $0.000725 | SDXL, FLUX.1 schnell |
| Nvidia A100 40GB | $0.001400 | FLUX.1 dev, mid-tier LLMs |
| Nvidia A100 80GB | $0.001725 | Larger diffusion, Llama 70B |
| Nvidia H100 80GB | $0.004240 | Latest video models, largest LLMs |
| 8x H100 | $0.033900 | Video generation, large training |
Popular "hot" models are also often priced per-run or per-token — FLUX.1 pro runs approximately $0.055 per image, FLUX.1 dev around $0.025 per image, FLUX.1 schnell around $0.003 per image; Llama 3.3 70B on Replicate lands around $0.65/$2.75 per million tokens for input/output.
The pricing that actually matters: per-second billing means fast models are cheap and slow models are expensive. An SDXL image on an A40 that takes 3 seconds costs about $0.002; a 10-second video generation on 8x H100 costs about $0.34. This is fundamentally different from per-token pricing on LLM-focused platforms — you are paying for wall-clock GPU time, and expensive models on expensive hardware add up fast at production scale.
Free tier: new accounts get a small credit for evaluation. No committed monthly minimum on standard usage. Deployments (reserved capacity) have monthly minimums per GPU pinned.
Pros
Cons
Replicate competes across categories, and different competitors win on different axes:
For image and video workloads at moderate scale, Replicate remains the best-fit host. For LLM production traffic, the specialist LLM hosts (Together, Groq, Fireworks) are the better economics.
output = replicate.run("black-forest-labs/flux-schnell", input={"prompt": "a cinematic photo of a cat"}). In JavaScript: const output = await replicate.run("black-forest-labs/flux-schnell", { input: { prompt: "..." } }).If you plan to ship your own model, install Cog locally, wrap your model in a predict.py and a cog.yaml, and cog push to your Replicate account. The framework handles containerization, GPU environment setup, and API generation — you write model code, not infrastructure code.
For high-volume workloads, request a rate limit increase early and consider a Deployment for reserved capacity on your hottest model. The serverless surface is excellent for spiky traffic; sustained high-throughput workloads reward reserved capacity.
Does Replicate host frontier closed models like GPT-5 or Claude? No. Replicate is open-source-only. For GPT-5 use the OpenAI API; for Claude use the Anthropic API.
How does Replicate compare to Together AI for LLM inference? Together AI is significantly cheaper and faster for high-volume LLM workloads with per-token pricing. Replicate's per-second billing gets expensive at LLM production scale. Use Replicate for image/video/audio; use Together (or Groq, Fireworks) for LLM production traffic.
Can I run my own model on Replicate?
Yes, via the open-source Cog framework. Wrap your model in a container with a predictable API and deploy with cog push. The container also runs anywhere Docker runs — no vendor lock-in.
What are Replicate's cold-start times? On hot models (frequently called): 3-10 seconds. On cold long-tail models: 30 seconds to several minutes. This is the single biggest operational consideration for latency-sensitive workloads. Use Deployments for reserved warm capacity when latency matters.
How is fine-tuning on Replicate? Strong for image models (FLUX LoRAs, SDXL LoRAs) and select LLMs. For broader LLM fine-tuning, Together AI and Hugging Face offer more coverage.
Does Replicate train on my inputs? No — inputs are used to produce the prediction and are not used to train models. Model outputs and inputs are stored for a limited retention window; check the current privacy policy for specifics.
Replicate is the pick when the specific model matters more than the fastest generic inference. For image generation, video generation, audio, and every long-tail modality that lives in the open-source AI community, Replicate's catalog, one-line API, and per-second billing make it the easiest way to get from "there is a model for that" to "it is running in my product." The Cog framework additionally makes it a legitimate infrastructure choice for teams shipping their own models, not just consuming others'.
Where Replicate is not the obvious choice is on high-volume LLM production traffic. Per-second GPU billing is fundamentally more expensive than per-token pricing at scale, and the specialists — Together AI on catalog and cost, Groq on latency, Fireworks AI on production LLM serving — will run your LLM inference at a fraction of the cost. Teams that use Replicate for LLM production usually discover this after their first month's bill.
The honest recommendation for most AI-engineering teams in 2026: use Replicate as the multi-modality catalog host — image, video, audio, novel models — and pair it with a specialist LLM inference provider for text generation. Almost every serious AI product with multi-modal generation uses Replicate somewhere in its stack, usually for the FLUX-tier image generation and the video generation calls, while the text-heavy paths run through Together, Groq, or a closed frontier provider. That split is what Replicate optimizes for, and it is where the platform earns its place.
Explore more in the Developer API category, or read The Economics of AI Inference at Scale for the broader inference-pricing landscape.