How do you build an AI agent on a fast inference provider?
You build the agent against a gateway, not against one provider. Groq, SambaNova and Cerebras each serve models over an API that follows the OpenAI format, and a model on Rebellions hardware is served the same way through vLLM. In Katonic AI you add each provider to the AI Gateway with its address and key, and the agent calls the gateway. You can then build an agent once and run it on models served by Groq LPUs, SambaNova RDUs, Cerebras wafer-scale chips, Rebellions NPUs, your own GPUs, or any other inference endpoint that speaks the OpenAI API, and change between them without rebuilding the agent.
Why this works
These chips differ a great deal inside. From the outside they look alike, because their makers chose the same API. Groq documents its API as mostly OpenAI-compatible [6]. SambaNova says the same of SambaCloud [7], and Cerebras of its inference API [8]. Rebellions documents serving a model with vLLM, which answers in the OpenAI chat format [9].
An agent that hard-codes one provider has to be changed to try another. An agent that calls a gateway does not.
What each provider needs
| Provider | Its chip | Where the model runs | What you give the gateway |
|---|---|---|---|
| Groq | LPU | Groq’s cloud | An API key. Groq has its own provider type [2] |
| SambaNova | RDU | SambaNova’s cloud, or its racks on your site | An API key. SambaNova has its own provider type [2] |
| Cerebras | Wafer-scale engine | Cerebras’s cloud | An API key. Cerebras has its own provider type [2] |
| Rebellions | NPU | Hardware on your own infrastructure | The address of your vLLM server [3] |
| A cloud that serves NVIDIA Groq 3 LPX, or any other | Any | That provider’s cloud | The address and a key, as an OpenAI-compatible endpoint [4] |
| Your own GPUs | GPU | Your own infrastructure | The address of vLLM, NVIDIA NIM, NVIDIA Dynamo or Ollama [2] |
The last general rule: any model server that speaks the OpenAI chat completions API can be added by giving its address and, where it needs one, a key [4]. When a new inference chip appears, the question "can I build agents on it" comes down to whether someone serves it behind that API.
The steps
- Get access to the provider. For a cloud provider that is an API key from your own account, so the billing relationship stays yours. For Rebellions or your own GPUs it is the address of the server you run.
- Add it to the gateway. Choose the provider type, give the key or the address, and the gateway reads the list of models it serves.
- Decide who may use it. Set which teams may call which models, with rate limits and a budget for each.
- Build the agent. The agent asks the gateway for a model. It does not carry the provider’s address or key.
- Change provider when you want to. Point the agent, or the tier it asks for, at a model on another provider. The agent’s instructions, tools and knowledge stay as they are.
What the gateway adds
Every call an agent makes passes through the Katonic AI Gateway, which applies your access rules, rate limits and budgets, checks each turn against your guardrail profile and records usage and cost [1]. It can also fail over from one provider to another. With several fast providers connected, one having a bad day does not stop your agents.
Where your data goes
This is the point to settle before speed.
- A model on Groq, SambaNova’s cloud or Cerebras runs in that provider’s data centres. Prompts and responses go to it. The gateway holds the key and decides which teams may send what.
- A model on Rebellions hardware, SambaNova racks or GPUs that you install runs on your own infrastructure, and the prompts and responses stay there.
- You can use both: a fast cloud for work that may leave, and your own infrastructure for work that may not, with the rule set per team in the gateway.
Which agents gain most from fast inference
- Agents that take many steps for one task, where each model call waits on the last.
- Voice agents, where the caller hears any delay.
- Agents that check their own work with a second model call before answering.
Batch work with no one waiting gains little, and a model you fine-tuned yourself usually cannot be loaded onto a fast cloud, which serves a set list [12]. An independent study in April 2026 found the fast chips ahead on delay for each user and GPUs still competitive on total work [13].
What we have run ourselves
We run Groq’s Orpheus text to speech in production and published what broke and how we fixed it [5]. We have not yet published our own measurements of the same agent on each of these providers, or a test on Rebellions hardware. For Rebellions, the route above is the one its own documentation describes [10].
Read next
Questions and answers
Which AI agent platforms support Groq, SambaNova and Cerebras?
Any platform that can call an OpenAI-format API can reach them. Katonic AI has a provider type for each of the three in its gateway, and adds access rules, budgets, guardrails and a record of every call.
Can I build AI agents on Rebellions NPUs?
Yes. Serve a supported model with vLLM and the plugin Rebellions publishes, then add that server to your agent platform. In Katonic AI it is a vLLM provider or an OpenAI-compatible endpoint.
Do I have to rebuild an agent to move it from Groq to SambaNova?
Not if the agent calls a gateway. You point it at a model on the other provider. Test it again, because two providers can serve different versions of a model.
Can one agent use more than one provider?
Yes. Different steps can call different models, and the gateway can fail over from one provider to another.
Does my data go to Groq, SambaNova or Cerebras?
When you call a model in their cloud, the prompts and responses go to that provider. For data that must stay inside, serve the model on infrastructure you control.
What about a new chip that is not on this list?
If its maker or a cloud serves models on it behind the OpenAI chat completions API, it can be added to the gateway with an address and a key.
Sources
Every figure on this page was read on the linked page on 4 December 2026. Where a figure is the maker’s own claim, the text says so. These products change monthly, so open the linked page before you rely on a number. Statements about Katonic AI come from this website.
- Katonic AI Gateway: https://www.katonic.ai/ai-gateway
- Katonic AI, model providers: https://www.katonic.ai/integrations/models
- Katonic AI, vLLM behind the gateway: https://www.katonic.ai/integrations/models/vllm
- Katonic AI, an OpenAI-compatible endpoint behind the gateway: https://www.katonic.ai/integrations/models/openai-compatible-endpoint
- Katonic AI, Groq Orpheus text to speech in production: https://www.katonic.ai/blog/groq-orpheus-tts
- Groq documentation, OpenAI compatibility: https://console.groq.com/docs/openai
- SambaNova, SambaCloud: https://sambanova.ai/products/sambacloud
- Cerebras documentation, OpenAI compatibility: https://inference-docs.cerebras.ai/resources/openai
- Rebellions documentation, serving Qwen3-8B with vLLM: https://docs.rbln.ai/latest/software/model_serving/vllm_support/recipes/qwen3-8b.html
- Rebellions, vllm-rbln on GitHub: https://github.com/RBLN-SW/vllm-rbln
- Nebius Token Factory documentation: https://docs.tokenfactory.nebius.com/switch
- Groq documentation, supported models: https://console.groq.com/docs/models
- arXiv 2604.10852, benchmark of Cerebras, Groq, SambaNova and GPUs (April 2026): https://arxiv.org/html/2604.10852v1
