Skip to content

Agent Zero with Keln

Run Agent Zero on Keln models through its Other OpenAI compatible provider.

What you need to start

  • Agent Zero running.
  • A Keln API key. Sign up at app.keln.ai, then open Keys → Create key.

Connect Agent Zero to Keln

1. Open the model presets

Open Settings → Agent Settings → Models and click Edit Presets.

2. Set the main model

Under Main Model, set Provider first, then fill in the other fields:

Field Value
Provider Other OpenAI compatible
Model name zai-org/glm-5.3
API key sk-keln-… your key
API base URL https://api.keln.ai/v1

API base URL is under Advanced Settings. Agent Zero clears it when you change Provider, so set Provider first.

Type the model ID in Model name and replace the name that is already there. Agent Zero keeps the old model name when you change Provider.

Turn Supports Vision off for a text-only model such as zai-org/glm-5.3.

Edit Model Presets, Main Model: Provider Other OpenAI compatible, Model name zai-org/glm-5.3, a masked API key and Supports Vision off

Advanced Settings under Main Model with API base URL set to https://api.keln.ai/v1

3. Set the utility model

Agent Zero uses its Utility Model for background tasks, such as memory. Under Utility Model, fill in:

Field Value
Provider Other OpenAI compatible
Model name zai-org/glm-5.3-flash
API base URL https://api.keln.ai/v1

Agent Zero uses the key from the main model.

4. Save

Click Save in Edit Model Presets, then Save in Settings. Then start a chat.

Before your first message, add credit under Billing → Add credit. Keln returns a 402 error if your balance is empty.

Models

Agent Zero works with all Keln chat models. Type the model ID in Model name. See Models & pricing for the full list, with each model's context window, image support and pricing.

Usage

Your Keln Usage page shows your spend, tokens, latency and error rate. Keln stores metadata only (ZDR).

The Keln Usage page with sample data: spend, requests, tokens, time to first token, error rate and a spend-by-day chart

Switch back

Open Edit Presets and set Provider back to the provider you used before, for both Main Model and Utility Model. Save in both windows.

Where to go next

Try Keln

Create a Keln account and API key to run open models in Agent Zero.

Get an API key Models & pricing ↗