Clarifai 11.6: Introducing Local Runners — Ngrok for AI Models | Clarifai Blog

This blog post focuses on new features and improvements. For a comprehensive list, including bug fixes, please see the release notes.

Introducing Local Runners: Run Models on Your Own Hardware

Building AI models often starts locally. You experiment with architecture, fine-tune on small datasets, and validate ideas using your own machine. But the moment you want to test that model inside a real-world pipeline, things become complicated.

You usually have two options:

Neither path is ideal, especially if you're:

Local Runners solve this problem.

They allow you to develop, test, and run models on your own machine while still connecting to Clarifai's platform. You don’t need to upload your model to the cloud. You simply run it where it is — your laptop, workstation, or server — and Clarifai takes care of routing, authentication, and integration.

Once registered, the Local Runner opens a secure connection to Clarifai's control plane. Any requests to your model’s Clarifai API endpoint are securely routed to your local runner, processed, and returned. From a user perspective, it works like any other model hosted on Clarifai, but behind the scenes it's running entirely on your machine.

Here’s what you can do with Local Runners:

Getting Started

Before starting a Local Runner, make sure you've done the following:

You can set up the context easily by logging in through the CLI, which will walk you through entering all the required values:

clarifai login

Starting the Runner

Once everything is set up, you can start your Local Dev Runner from the directory containing your model (or provide a path):

clarifai model local-runner [OPTIONS] [MODEL_PATH]

If the runner doesn’t find an existing context or config, it’ll prompt you to generate one with default values. This will create:

Once launched, it also auto-generates a client code snippet to help you test the model.

Local Runners give you the flexibility to build and test models exactly where your data and compute live, while still integrating with Clarifai’s API, workflows, and platform features. Check out the full example and setup guide in the documentation here.

You can try Local Runners for free. There's also a $1/month Developer Plan for the first year, which gives you the ability to connect up to 5 Local Runners to the cloud API with unlimited runner hours.

Compute UI

Published New Models

We published the Gemma-3n-E2B and Gemma-3n-E4B models. We’ve added both the E2B and E4B variants, optimized for text-only generation and suited for different compute needs.

Gemma 3n is designed for real-world, low-latency use on devices like phones, tablets, and laptops. These models leverage Per-Layer Embedding (PLE) caching, the MatFormer architecture, and conditional parameter loading.

You can run them directly in the Clarifai Playground or access them via our OpenAI-compatible API.

Token-Based Billing

We’ve started rolling out token-based billing for select models on our Community platform. This change aligns with industry standards and more accurately reflects the cost of inference, especially for large language models.

Token-based pricing will apply only to models running on Clarifai’s default Shared compute in the Community. Models deployed on Dedicated compute will continue to be billed based on compute time, with no change. Legacy vision models will still follow per-request billing for now.

Playground

Additional Changes

Ready to start building?

With Local Runners, you can now serve models, MCP servers, or agents directly from your own hardware without uploading model weights or managing infrastructure. It’s the fastest way to test, iterate, and securely run models from your laptop, workstation, or on-prem server. You can read the documentation, watch the demo video to get started.