Picking a serverless GPU inference API in 2026 looks like a simple three-way comparison. It is not. Together AI and Fireworks AI sell managed LLM APIs where you pay per token and never think about GPUs. Replicate sells per-second compute on thousands of models, including image, video, and audio pipelines that have nothing to do with chat. Comparing them feature-by-feature without first asking what your workload looks like is how teams end up migrating twice.
This guide compares the three platforms the way a developer actually buys: what each one is built for, how the billing unit shapes your architecture, where latency and cold starts bite, and which workloads each one is a bad fit for. Rates change constantly in this market, so pricing is discussed by model rather than by number. Check the official pricing pages the day you commit.
Quick Verdict
| Together AI | Fireworks AI | Replicate | |
|---|---|---|---|
| Billing unit | Per token (serverless); per GPU-hour for dedicated | Per token (serverless); per GPU-second for dedicated | Per second of compute; some models per output or per token |
| Catalog | 100+ open-weights models, mostly text/vision | 400+ open and multimodal models | 1,000+ community models plus your own via Cog |
| Fine-tuning | LoRA, full fine-tuning, DPO preference tuning | LoRA, SFT, DPO, reinforcement fine-tuning; multi-LoRA serving | Deploy custom models (packaged with Cog) on private hardware |
| Agentic features | Function calling, structured output, batch API | FireFunction tool-calling models, constrained JSON, batch inference | Webhooks, versioned models, scale to zero |
| Compliance posture | Enterprise tiers with dedicated deployments | SOC 2 Type II, ISO 27001/27701/42001, zero data retention by default | Limited enterprise governance features per third-party research |
| Best for | Open-weight LLM apps that may later need fine-tuning or dedicated capacity from the same vendor | Latency-sensitive agents with heavy tool calling, many fine-tuned variants, regulated workloads | Multimodal experiments, custom model hosting, bursty scale-to-zero compute |
Together AI: The Open-Weights Platform
Together AI was founded in 2022 by a team with roots in Stanford ML and systems research, and it has always been open-weights only. Its core product is Serverless Inference: a shared fleet of popular open models you call through a per-token API, with no GPUs to provision. Its docs list three deployment modes on the same API surface, which is the interesting part: serverless for prototyping and variable traffic, provisioned throughput for reserved capacity with an SLA, and dedicated model inference for steady production traffic or serving your own fine-tunes. You swap the model parameter and your code works across all three, per the official inference docs.
That ladder matters more than any single feature. Teams that start on serverless and later need predictable throughput do not have to re-platform. Together also offers fine-tuning (LoRA, full-parameter, and DPO preference tuning), GPU clusters for rent, and an async batch API for offline workloads like dataset labeling. Its inference engine uses FlashAttention-3 and speculative decoding to speed up token generation, and on its own blog it reports serving a large share of OpenRouter traffic for models like DeepSeek and Kimi variants. Treat vendor traffic claims the way you treat any vendor number: directional, not audited.
The honest limitation: the catalog is open-weights only. If your product also needs a frontier closed model from a major lab, you will carry a second vendor regardless. Together makes sense when you want one vendor for the full open-model lifecycle: prototype on serverless, fine-tune in place, then graduate to provisioned or dedicated capacity without rewriting your client code.
Fireworks AI: The Speed-First Inference Engine
Fireworks AI is led by co-founder and CEO Lin Qiao, formerly Head of PyTorch at Meta, and its product thesis is performance engineering on open models. The headline features are proprietary: the FireAttention CUDA kernel, disaggregated serving, semantic caching, and speculative decoding, all aimed at lower latency and higher throughput than running the same open models on general-purpose stacks. The catalog spans 400+ open-source and multimodal models, with new releases typically landing quickly after upstream publication.
Where Fireworks differentiates for developers building agents is tool use. Its FireFunction models are fine-tuned specifically for function calling, and the platform supports constrained decoding for reliable structured JSON output, which is what agentic workflows actually depend on. Multi-LoRA support lets you serve many fine-tuned variants on a single base model at base-model inference cost, so teams personalizing models per customer or per task do not pay for a dedicated deployment per variant. Dedicated GPU deployments (H100 through GB300-class hardware) are billed per GPU-second for workloads that need reserved capacity.
Compliance is the other differentiator. Fireworks holds SOC 2 Type II and ISO 27001/27701/42001 certifications with zero data retention by default on open models, which makes it the natural pick among the three for teams in regulated industries. Fireworks names production users like Cursor and Vercel in third-party listings, but treat customer logos as marketing, not due diligence.
The honest limitation mirrors Together’s: the catalog and optimizations center on open-weight and custom models. Teams whose core need is access to the newest proprietary closed models are shopping in the wrong place.
Replicate: Run Any Model, Pay Per Second
Replicate is the odd one out, and that is its strength. Where Together and Fireworks sell curated LLM APIs, Replicate is a marketplace for running models: over a thousand community models plus your own, packaged with its Cog toolchain and deployed behind one API. The model coverage is broadest in generative media. If you need image, video, or audio models alongside LLMs, Replicate’s catalog is the deepest of the three, and many standard workloads are already deployed and callable with an API key.
The billing model is the key architectural fact. Public models bill per second of GPU time based on the hardware they run on, and instances scale to zero between requests, so bursty traffic pays only for active compute. Some models use per-output pricing instead (for example, per image), and some LLM listings use per-token rates. Private custom models run on dedicated hardware and accrue idle-time charges, which is the catch to read carefully: custom deployments are not scale-to-zero in the same way public models are. Multi-GPU configurations are available through committed-spend contracts.
Two honest weaknesses. First, there is no free tier; billing starts on the first API call, which raises the experimentation barrier compared to providers that hand out starter credits. Second, cold-start latency on shared-queue public models can be significant for latency-sensitive production workloads. Replicate is excellent for experimentation, batch-style jobs, and bursty traffic that tolerates warmup. For strict interactive latency on a custom model, budget for dedicated deployments and the idle cost that comes with them.
The Billing Unit Is the Real Decision
Developers tend to compare per-token rates and per-second rates as if they were the same kind of number. They are not, and the billing unit shapes your system more than any rate card does.
Per-token billing (Together, Fireworks serverless). You never think about GPUs. Your cost per request is predictable, scaling is someone else’s problem, and the provider keeps the efficiency gains from its own inference optimizations. This is the right model for chat products, agents with variable traffic, and teams that want infrastructure to disappear. The tradeoff is opacity: you cannot tune the serving stack, and heavy sustained traffic may cost more than reserved capacity.
Per-second billing (Replicate). You think in GPU time. Bursty workloads that scale to zero are cheap because idle time costs nothing. The tradeoff is that your bill follows your traffic shape: a model that runs hot all day on per-second billing loses to a reserved hourly deployment, and dynamic per-second pricing makes cost forecasting harder under spiky load.
Reserved and dedicated (all three). When traffic becomes steady and predictable, reserved capacity wins. Together’s provisioned throughput and dedicated endpoints, Fireworks’ per-GPU-second dedicated deployments, and Replicate’s committed contracts all exist for this reason. A common and sane pattern: prototype on serverless, measure your actual utilization over a month, then move steady-state traffic to reserved capacity and keep the bursty tail on pay-as-you-go.
Published rates in this market move constantly. Model-level pricing shifts as providers renegotiate hardware costs and optimize their engines. The decision framework above survives rate changes; any specific number you read in a comparison article from six months ago does not.
Latency and Cold Starts: What to Actually Measure
Vendor benchmarks are marketing. What matters is your prompt shape, your traffic pattern, and your latency budget, and you can measure all three in an afternoon.
For interactive products, the metric that matters is time to first token (TTFT): the delay between sending a request and receiving the first output token. Both Together and Fireworks run heavily optimized inference engines (FlashAttention and speculative decoding on Together’s side; FireAttention and disaggregated serving on Fireworks’), which is why they compete well for interactive LLM workloads. Tokens per second (throughput) matters for long generations and batch jobs.
Cold starts are the Replicate caveat. Shared-queue public models can take meaningful time to warm up, which is fine for async jobs and tolerable for many prototypes but disqualifying for a real-time product. If you go with Replicate for latency-sensitive serving, test cold starts under your actual load pattern, not just on a warm demo call, and price the dedicated option that eliminates them.
Run this checklist before committing to any of the three: measure TTFT at p50 and p99 on your real prompts, measure sustained tokens per second on your longest outputs, test cold starts after idle periods, and run a small load test to see whether latency degrades under concurrency. Four numbers beat four whitepapers.
Developer Experience and Migration
Migration cost is low across the board, which is good news. Together and Fireworks both expose OpenAI-compatible endpoints, so existing code built on the OpenAI chat completions shape migrates by changing the base URL and the model identifier. Both also support function calling and structured outputs, the two features that make or break agent builds.
Replicate’s API is model-versioned rather than chat-shaped. You pick a model version and pass inputs. That is slightly more work per integration, but the payoff is uniformity. One client pattern runs every model in the catalog, including your own Cog-packaged custom models, which no per-token LLM API offers. For batch and offline work, Together’s batch API and Fireworks’ batch inference both accept large async jobs at lower cost than real-time inference.
One operational note applies to all three. When you send prompts to a hosted provider, your data leaves your infrastructure. Fireworks’ zero data retention default is the strongest posture of the three, and Together and Replicate both offer dedicated deployments for teams that need isolation. Read the data handling terms for the deployment tier you actually plan to use, not the marketing page.
Who Should Pick What
Pick Together AI if you are building an open-weight LLM product and want the fine-tune-to-production path inside one vendor: prototype on per-token serverless, fine-tune with LoRA or DPO in place, then graduate to provisioned throughput or dedicated endpoints without changing client code. The batch API is a genuine asset for offline pipelines.
Pick Fireworks AI if latency is the product requirement. Agentic workflows with heavy tool calling, structured JSON outputs that must validate, many fine-tuned variants served cheaply through multi-LoRA, or regulated workloads that need certified compliance and zero data retention. These are the workloads Fireworks engineered for.
Pick Replicate if your workload is multimodal or custom. Image, video, and audio generation, running community models without packaging them yourself, deploying your own model with Cog, or bursty traffic that benefits from true scale-to-zero per-second billing. It is the best experimentation surface of the three and the weakest choice for strict interactive latency on shared models.
Pick none of the three if your core need is frontier closed models. All three are open-weights-centric. For GPT-class or Claude-class models you go direct to the labs or use a router like OpenRouter, and possibly pair that with one of these three for your open-model workloads.
A pragmatic end state many teams land on: one per-token provider for the LLM chat and agent layer, Replicate for media models and custom experiments, and reserved capacity wherever traffic proved steady. The OpenAI-compatible endpoints make the first two interchangeable enough that starting with one and switching later is a week of work, not a replatforming.
FAQ
Which is the cheapest for a side project?
There is no universal answer. For a low-traffic LLM side project, per-token serverless from Together or Fireworks is usually cheapest because you pay only for requests. For a media-generation experiment, Replicate’s per-second billing with scale to zero is hard to beat. Run your expected request volume against the current pricing pages of two providers before deciding.
Can I use more than one provider?
Yes, and you should if your workloads differ. The OpenAI-compatible endpoints on Together and Fireworks make switching the LLM layer cheap, and a thin abstraction over model identifiers keeps you from hardcoding a vendor. Replicate covers the custom and multimodal side that the other two do not.
Which is best for image and video generation?
Replicate. Its catalog is deepest in generative media, per-output pricing fits generation workloads, and scale-to-zero billing matches the bursty usage pattern of most generation products.
Do they offer free tiers or credits?
Policies change, so verify on the day you sign up. Third-party listings report starter credits on Fireworks; Replicate is pure pay-as-you-go with billing from the first call; Together is pay-as-you-go on serverless. Never build a cost model on a free tier that a provider can change next quarter.
How do I avoid getting locked in?
Keep model identifiers in configuration, not code. Use OpenAI-compatible endpoints where available. Package custom models with portable tooling like Cog so the artifact outlives the hosting decision. The switching cost in this market is measured in days, and providers know it, which is exactly why they compete on migration ease.