Skip to main content
Inference through models.ageneral.ai draws from your Ageneral account credits on the project owner wallet. The platform enforces spend before requests reach the model layer.

Credits

Purchased credits increase the balance available for model usage. When balance is exhausted, you may receive 402 Payment Required on gated routes until you add credits.

Virtual keys

Use an Ageneral virtual key in sk-bf-… form for scripts, tools, and the IDE extension. Keys are scoped to your account or project; spend rolls up to the project owner’s wallet.

Private nodes

Nodes use a service identity JWT instead of pasting keys in every process. Ageneral applies the same credit rules and your project’s model credentials for inference.

Common errors

HTTPMeaning
401Missing or invalid Authorization, or unsupported API key shape
402Insufficient credits
503Billing or inference temporarily unavailable