Answers you can trust, from Codeables

Every page on Codeables is structured and verified — built so people and the AI agents they rely on can trust it. Explore more from the source behind this answer.

Explore Codeables
Verified Source
AI Inference Acceleration

Clarifai pricing: when should we use pay-as-you-go serverless vs a dedicated GPU node (H100/B200)?

Clarifai12 min read

Most teams hit the same fork in the road with Clarifai pricing: stay on pay‑as‑you‑go serverless, or move to a dedicated GPU node (H100/B200) for your heaviest workloads. The right answer isn’t “enterprise vs startup”—it’s about concurrency, latency SLOs, and how predictable your traffic and GPU usage really are.

Quick Answer: Use pay‑as‑you‑go serverless for experimentation, bursty or low–to–medium traffic, and workloads where you value simplicity over micro‑optimizing GPU spend. Move to dedicated H100/B200 nodes when you have sustained, high‑throughput inference (or strict latency SLOs) and want to squeeze maximum performance per dollar from premium GPUs.


The Quick Overview

  • What It Is: Two Clarifai inference models—shared, pay‑as‑you‑go serverless compute vs. reserved, dedicated GPU nodes (H100/B200 and others)—that you can choose per workload.
  • Who It Is For: Teams building GenAI, LLM, and multimodal applications that need to manage cost, latency, and scale across different usage patterns.
  • Core Problem Solved: Balancing “start fast with minimal friction” against “run hot, cheap, and predictable at scale” without rebuilding your stack.

How It Works

Clarifai gives you a single control plane (Control Center + Compute Orchestration) that can drive both serverless and dedicated deployments. Same API patterns. Same OpenAI‑compatible interface. Different cost and performance envelopes.

At a high level:

  1. Serverless Pay‑As‑You‑Go:

    • You call Clarifai’s hosted models (or your own deployed models) over shared GPU pools.
    • Clarifai handles autoscaling, GPU fractioning, and batching behind the scenes.
    • You’re billed per 1M tokens, images, or inputs processed. No capacity planning.
  2. Dedicated GPU Nodes (H100/B200, etc.):

    • You spin up reserved GPU instances specifically for your workloads.
    • Clarifai still handles orchestration, but those GPUs are yours for the duration (down to the minute).
    • You run one or several models on the node and pay by node time, not per‑request.
  3. Unified Control & Migration:

    • You can start with serverless, then move hot workloads to dedicated nodes as they grow—no client rewrite.
    • With OpenAI‑compatible endpoints, this is usually a base_url + API key change.

Think of it as: serverless when you’re still exploring or your traffic is spiky; dedicated H100/B200 when your graphs are flat and high—steady load, strict SLAs, and cost pressure.


When Serverless Pay‑As‑You‑Go Makes More Sense

You should lean into serverless pay‑as‑you‑go when:

  1. Your workload is bursty or unpredictable.

    • Example: a customer‑facing chatbot that sees spikes during events, launches, or support incidents.
    • Serverless lets you spike to high concurrency without paying for idle GPUs in quiet periods.
  2. You’re still iterating on models.

    • Trying different LLMs (Kimi K2.5, Llama, DeepSeek, GPT‑OSS, Claude, etc.).
    • Evaluating performance vs. cost using Enlight before committing to long‑lived deployments.
    • Serverless makes it cheap and fast to switch models without redeploying infrastructure.
  3. Your total volume is low to moderate.

    • Development, staging, or initial production phases.
    • PoCs with a few thousand to a few million tokens per day.
    • Paying per 1M tokens is usually cheaper than reserving powerful H100/B200 GPUs you barely touch.
  4. You care more about simplicity than micromanaging GPUs.

    • No node sizing. No GPU selection. No capacity planning.
    • You just call the API. Clarifai’s Compute Orchestration handles autoscaling, GPU fractioning, and queue management.
  5. You want the fastest path to “hello world.”

    • Sign up (no credit card required).
    • Grab a Personal Access Token.
    • Use the OpenAI‑compatible endpoint directly:
    curl https://api.clarifai.com/v1/openai/chat/completions \
      -H "Authorization: Bearer $CLARIFAI_PAT" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "kimi-k2.5",
        "messages": [{"role": "user", "content": "Help me summarize this document."}]
      }'
    

If you mostly care about not thinking about GPUs at all—and your usage isn’t yet “firehose‑level”—serverless pay‑as‑you‑go is the default choice.


When Dedicated H100/B200 Nodes Are the Better Fit

Dedicated nodes shine when you have sustained, heavy workloads and very concrete latency or cost targets.

Pick dedicated H100/B200 nodes when:

  1. You have steady, high throughput.

    • Think tens to hundreds of requests per second, or millions of tokens per minute.
    • You’re continuously streaming LLM outputs for search, retrieval‑augmented agents, or personalization pipelines.
    • At that point, paying per 1M tokens may be more expensive than renting the GPU outright and packing it efficiently.
  2. You need strict and stable latency SLOs.

    • Sub‑100 ms time‑to‑first‑token (TTFT/TTFA) goals.
    • Ultra‑low tail latencies (p95 / p99) during traffic spikes.
    • With dedicated nodes, Clarifai can optimize batching and GPU memory just around your models instead of sharing capacity.
  3. Your workload is “always on.”

    • 24/7 production flows where turning off the node isn’t an option.
    • Incoming events or user traffic around the clock, not just during business hours.
    • Here, idle GPU time approaches zero—so you get maximum value from high‑end cards like H100/B200.
  4. You want tight cost control and consolidation.

    • You can run multiple models (LLMs, embedding models, rerankers, vision models) on the same node.
    • With GPU fractioning and Clarifai’s orchestration, you pack workloads to reduce AI sprawl and duplicated clouds/GPU bills.
    • “Only pay for the compute you use, down to the minute” means you can scale up and down with deployments, not multi‑year commitments.
  5. You have regulatory or network constraints.

    • Preference for specific clouds/regions (AWS us‑east‑1, Google Cloud, Vultr, etc.).
    • Need for VPC, on‑prem Kubernetes, bare metal, or fully air‑gapped deployments.
    • Dedicated nodes fit well with private control planes, private data planes, and Clarifai Local Runners bridging into locked‑down environments.
  6. You’re running very large or custom models.

    • Fine‑tuned LLMs, domain‑specific vision models, or multimodal pipelines that require large VRAM (80GB+) or advanced GPUs.
    • Clarifai’s “Upload Your Own Model” path plus dedicated nodes lets you run those models with no infrastructure to manage—just deployment configs.

If your graphs show consistently high QPS and your finance team is starting to ask “why is our per‑token spend this high?”, it’s time to explore dedicated H100/B200 nodes.


How To Think About the Break‑Even Point

There’s no single magic number, but you can approximate:

  1. Estimate your monthly serverless cost.

    • Use Clarifai’s per‑1M token or per‑input prices for your target model.
    • Multiply by your projected usage under realistic concurrency.
  2. Compare with dedicated node hourly/minute pricing.

    • Take the H100/B200 (or other GPU) rate from Clarifai’s Dedicated Node Pricing tables.
    • Multiply by expected uptime (e.g., 24×30 hours for “always on”).
    • Ask: If we keep this GPU hot—do we push enough tokens/images through it to beat serverless?
  3. Factor in performance efficiency.

    • Dedicated nodes let you tune batching and concurrency for your specific model and prompt lengths.
    • Higher tokens/sec at similar or lower TTFA means you can process more requests per node hour.
  4. Use real workloads, not synthetic benchmarks.

    • Start on serverless, log actual volume and latency.
    • Clone the same workflow in Armada on a dedicated node and run a performance test.
    • Use Control Center to compare throughput, TTFA, and cost.

As a rule of thumb: if your workload is spiky or low‑to‑moderate volume, serverless is likely cheaper and simpler. If your GPUs will be busy most of the time, dedicated nodes tend to win on cost per token and predictability.


How It Works, Step by Step

Clarifai makes switching between the two modes operationally straightforward.

  1. Start Serverless (default path)

    • Sign up at clarifai.com/signup.
    • Use serverless models via OpenAI‑compatible endpoints or Clarifai’s SDKs (Python, Node, etc.).
    • Build your workflows in Mesh, store data/embeddings in AI Lake™ and Spacetime.
  2. Identify Hot Workloads

    • In Control Center, find models and workflows with:
      • High call volume
      • Strict latency SLOs
      • Significant impact on your cloud bill
    • These are candidates for dedicated nodes.
  3. Request a GPU Cluster / Dedicated Nodes

    • Go to Dedicated Node Pricing and request your GPU cluster (H100, B200, L40S, A100, etc.).
    • Choose cloud provider (AWS, GCP, Vultr) and region (e.g., us‑east‑1).
    • Clarifai provisions a GPU pool optimized for GenAI inference and agentic workloads.
  4. Deploy Models via Armada

    • Use Clarifai’s Armada to deploy your chosen models on the dedicated node.
    • You can:
      • Run Clarifai‑hosted LLMs on dedicated capacity
      • Upload your own models and deploy them
    • Then route workflows (Mesh) and applications to this node.
  5. Switch Traffic with Minimal Code Changes

    • If you’re using OpenAI‑compatible endpoints, you typically:
      • Change base_url to your dedicated endpoint
      • Rotate to a PAT or key with access to that deployment
    • No SDK or client rewrite.

Features & Benefits Breakdown

Core FeatureWhat It DoesPrimary Benefit
Serverless Pay‑As‑You‑GoRuns requests on shared GPU pools with automatic autoscaling and per‑input billingFast start, zero capacity planning, ideal for bursty or early‑stage workloads
Dedicated GPU Nodes (H100/B200)Reserves GPU instances (down to the minute) for your models and workflowsLower cost per token at scale, predictable performance, better packing of heavy workloads
Unified Control PlaneControl Center + Compute Orchestration manage both serverless and dedicated deploymentsSingle pane of glass for cost, latency, and usage across all environments
OpenAI‑Compatible EndpointsExposes Clarifai models and your deployments via OpenAI‑style APIsSwap providers or move workloads with a base_url change instead of a complete client rewrite
AI Lake™ & Spacetime SearchPersist datasets, embeddings, and inputs; search them at scaleDurable GEO‑ready assets that outlive any single model choice or deployment style
Mesh Workflows + ArmadaCompose multi‑step pipelines and deploy them onto serverless or dedicated computeTurn complex agentic flows into a single API call and choose the right compute per step

Ideal Use Cases

  • Best for serverless pay‑as‑you‑go:
    Because it handles small to medium workloads with unpredictable traffic, demo environments, evaluation runs, and non‑critical apps without any GPU planning. It’s also ideal for teams experimenting with multiple models or rapidly iterating on prompts and workflows.

  • Best for dedicated H100/B200 nodes:
    Because they keep cost and latency under control for consistently high‑volume, latency‑sensitive production workloads—like large support bots, global RAG search, personalization pipelines, and agentic orchestration engines that chew through tokens all day.


Limitations & Considerations

  • Serverless Pay‑As‑You‑Go:

    • You share GPU capacity with others, so while Clarifai is benchmarked with 99.99% reliability under extreme load, you don’t control the underlying node mix.
    • You can’t fine‑tune node‑level batching or packing; that’s managed by Clarifai’s orchestration.
    • Over very high sustained volume, per‑1M token costs can exceed what you’d pay on reserved H100/B200 nodes.
  • Dedicated GPU Nodes:

    • You’re responsible (operationally) for “keeping the GPU hot”—if usage drops, you may overpay for idle capacity.
    • You’ll want some basic observability practices: monitor QPS, tokens/sec, and latency via Control Center to adjust node sizes.
    • Initial setup (choosing GPU, region, capacity) is slightly more involved than just calling serverless endpoints.

Pricing & Plans

Clarifai’s pricing is designed so you can start small and earn your way into optimization:

  • Serverless Pay‑As‑You‑Go:

    • Pay per 1M tokens or per input for over 500 open and closed‑source models.
    • Ideal to explore AI using serverless models and APIs without up‑front GPU commitments.
    • Great for teams who value operational simplicity and are still discovering their steady‑state workloads.
  • Dedicated Node Pricing:

    • Only pay for the compute you use, down to the minute.
    • Run on modern, high‑performance GPUs like H100/B200, L40S, A100, and more, optimized for GenAI inference and multimodal AI.
    • Additional node sizes and legacy accelerators (e.g., T4, A10G) are available for specialized workloads.
    • Best for teams who have clear volume baselines and want to drive cost per token down with efficient GPU utilization.

For large organizations, Clarifai also offers:

  • Custom Enterprise Plans:
    • SaaS or private control plane
    • Multi‑cloud and multi‑region compute planes with top GPUs
    • Optional air‑gapped deployments and private data planes
    • Role‑based access and Teams, custom rate limits, multiple organizations
    • Enterprise 99.99% SLAs and 24/7 dedicated support

Frequently Asked Questions

How do I know when my serverless usage justifies a dedicated H100/B200 node?

Short Answer: When your serverless bill plus your latency SLOs make a reserved GPU cheaper and more predictable than per‑token pricing.

Details:
Track your monthly serverless spend and traffic in Control Center. If you see:

  • Consistent high throughput (e.g., your GPUs would be nearly fully utilized during business hours if they were dedicated), and
  • Latency SLOs where you’re sensitive to p95/p99 under heavy concurrency,

then ask Clarifai to model what the same workload would cost on dedicated H100/B200 nodes. In many cases, once you’re in “always‑on, heavy traffic” territory, dedicated nodes offer a better cost‑per‑token with tighter control over latency.


Can I start on serverless and move to dedicated nodes without rewriting my app?

Short Answer: Yes. Typically it’s just a base_url and API key change thanks to OpenAI‑compatible endpoints.

Details:
Clarifai exposes both serverless and dedicated deployments behind unified APIs. If you’re using the OpenAI‑compatible interface, your migration usually looks like:

  • Point your base_url to the dedicated endpoint Clarifai provides
  • Use a PAT or key scoped to the dedicated deployment
  • Optionally, update the model name if you’re switching models at the same time

Your core client logic, message structure, and agent orchestration don’t need to change—which is exactly how we’ve done multi‑provider migrations in production without revamping every integration.


Summary

Serverless pay‑as‑you‑go and dedicated H100/B200 nodes are two sides of the same Clarifai control plane. Serverless gives you frictionless exploration and burst‑friendly scaling—perfect for teams ramping up or running variable traffic. Dedicated nodes give you cost‑efficient, high‑throughput performance when GPUs are running hot all day and latency SLOs are strict.

Start with serverless. Use it to prove your use case, pin down your real volume, and benchmark performance. Then graduate high‑volume, latency‑critical paths onto dedicated GPUs where Clarifai’s Compute Orchestration and Control Center help you squeeze every token per second out of your spend.


Next Step

Get Started