Credits in one minute
What a credit is
The unit ModuleX uses to meter managed usage. **100 credits = 0.01). Allowances and the wallet are both counted in credits.
What spends them
Managed work: a workflow run, an Assistant
turn, a tool call, and managed-knowledge retrieval and ingest. See
what costs credits.
What does not
Bring-your-own-key (BYOK) usage is not charged in
credits β your own provider bills you directly.
The credit value is fixed. 100 credits always equal 25/month plan includes 5,000
credits (100/month plan includes 20,000 credits
($200). See Plans & pricing for current figures.
What costs credits
Credits are spent on managed actions β work ModuleX runs for you on ModuleX-provisioned providers. The table below is the plain-language summary; Credits & metering has the exact per-action numbers.What does not cost credits
Bring-your-own-key usage
Model and tool calls made on your own provider accounts are tracked for
analytics only β never billed in credits. See
managed versus BYOK.
BYOK knowledge stores
Retrieval and ingest on a knowledge base backed by your own vector store
(Qdrant, Pinecone, MongoDB Atlas, or Weaviate) are not charged by ModuleX.
Reading and managing
Browsing workflows, editing the canvas, viewing runs, and managing settings
are not metered in credits.
Building before you run
Designing a workflow does not spend credits. Credits apply when managed work
actually executes.
Managed versus BYOK usage
Every model, tool, and knowledge action runs in one of two modes. The mode decides whether ModuleX meters it in credits.Managed usage
ModuleX provides the model, tool, or vector store on your behalf β the managed
providers are modulexai (models and tools) and modulexdb (knowledge).
Managed usage is billed in credits.
Bring your own key (BYOK)
You connect your own provider accounts and ModuleX uses your keys. BYOK usage
is not charged in credits β your provider bills you directly, with no ModuleX
markup.
The rule in one line. Managed (modulexai / modulexdb) usage spends credits.
BYOK usage is uncosted by ModuleX and tracked for analytics only. For how to
connect your own providers, see LLM providers
and external knowledge providers.
When the allowance runs out
Credits are drawn first from your planβs monthly allowance. What happens next depends on your plan and settings.1
Plan allowance is spent first
Managed usage draws down your monthly credit allowance until it reaches zero.
2
A paid plan can switch to the wallet
If you are on a paid plan and have overage turned on, further managed usage
is funded by your prepaid wallet. You can top the wallet up
manually, or set auto top-up to refill it before it runs dry.
3
Otherwise, managed usage pauses
Without an allowance or a funded wallet, the next managed action is declined
rather than billed silently. See the usage gate.
The usage gate: when a run is paused
ModuleX checks your credit and limit status before it starts a piece of managed work. This check is the usage gate, and it is live today. If you do not have the budget or are over a limit, the gate declines the action up front β so you are never charged for work that could not run. The gate applies on the managed-usage surfaces: starting a workflow run, using the AI Composer, taking an Assistant turn, and managed-knowledge retrieval and ingest. Plain read-and-manage actions β listing workflows, editing settings, viewing runs β do not go through this gate. When the gate declines an action, ModuleX returns a structured billing denial. The gate itself emits two of these β 402 (out of credits) and 429 (rate limited). A related 403 can also stop you, but it comes from a plan-limit check on the resource route rather than from the gate, so it carries a plainer error shape:402 β out of credits
Your plan allowance is used up and the wallet cannot cover the action (no
overage, or an empty or insufficient balance). Top up the
wallet or upgrade your plan. Emitted by
the gate as a structured billing denial.
403 β quota reached
You have hit a plan limit on a resource, such as the number of knowledge bases.
Upgrade or free up the resource. This comes from the resource routeβs own
limit check β a plain
detail error, not the gateβs structured denial.429 β rate limited
You are sending managed requests faster than your planβs per-minute rate. Slow
down and retry; the response tells you how long to wait. Emitted by the gate
as a structured billing denial.
The gateβs denials (402 and 429) are structured responses that tell you exactly
what was hit β the kind of limit, the value, and the cap β so you can react
automatically. The plan-limit 403 uses the plainer
detail shape instead. The
full response shapes and how to handle them in code live on
Usage gating & limits and
Errors & status codes.How it fits together
Billing & credits overview
The whole billing picture: plans, credits, the wallet, and the gate.
Plans & pricing
Free, Pro, Max, and Enterprise β allowances, limits, and pricing.
Credits & metering
The exact rules for what a credit is and what each action costs.
Usage gating & limits
The admission gate and its 402 / 403 / 429 responses, in detail.