zen-agent-4b
Released by zenlm in 2025, zen-agent-4b is a 4 billion parameter chat model. zen-agent-4b is an open-weights chat model with roughly 4 billion parameters.
by zenlm · 4B parameters
Best for
Ways to use zen-agent-4b in osFoundry
Connect with your own key (BYOK)
Open the key dialog and paste your zenlm API key. osFoundry discovers zen-agent-4b automatically — assign it to a Maestro role (router, direct, orchestrator, or fallback) in the Pipeline tab and it is live in every chat. Your key, your provider account — no token markup.
Deploy a dedicated endpoint
zen-agent-4b is open-weights — run it locally for free, or deploy a dedicated GPU endpoint in your workspace for reserved capacity with no rate limits.
Use it in a Room App
Room Apps declare AI features in their manifest, then call them with invokeAI:
import { invokeAI } from '@osfoundry/app-sdk'
// 'summarize' is an AI feature declared in your app manifest.
const result = await invokeAI('summarize', userText)
Call it from your own apps
Once a model is wired into your workspace you can host it as an API and reach it from your own services, scripts, or CI — outside osFoundry.
What hardware can run zen-agent-4b
zen-agent-4b runs on a single 16GB consumer GPU (~3 GB VRAM with KV-cache headroom). Full-precision inference fits on a single H100 80GB at FP16 precision (~10 GB).
zen-agent-4b vs similar models
Licence
Unspecified — Licence terms not specified — verify the upstream model card before commercial use.
Check upstream documentation.
Frequently asked about zen-agent-4b
Is zen-agent-4b free to use?
zen-agent-4b is free to run locally on your own hardware. Hosted access through osFoundry is metered (input Free (local), output Free (local)). You can switch between local and hosted at any time.
Can I use zen-agent-4b commercially?
Commercial use is allowed with conditions. Licence terms not specified — verify the upstream model card before commercial use. Check upstream documentation.
How much VRAM does zen-agent-4b need?
Approximately 3 GB at Q4 quantisation, or 10 GB at full FP16 precision. Fits on a single 24GB consumer GPU.
Can I run zen-agent-4b locally?
Yes. zen-agent-4b is open-weights and runs locally on a workstation GPU. osFoundry's local runtime handles model loading, quantisation, and routing.
What is zen-agent-4b best at?
zen-agent-4b is well-suited to text generation.
How do I use zen-agent-4b in osFoundry?
Paste your zenlm API key in the key dialog (or deploy the open weights for self-hostable models), assign zen-agent-4b to a Maestro role in the Pipeline tab, then use it in chat, Room Apps via invokeAI, or your own apps.
Published by zenlm on September 28, 2025. Source: https://huggingface.co/zenlm/zen-agent-4b