IBeam.Credits 2.9.43

dotnet add package IBeam.Credits --version 2.9.43
                    
NuGet\Install-Package IBeam.Credits -Version 2.9.43
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IBeam.Credits" Version="2.9.43" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IBeam.Credits" Version="2.9.43" />
                    
Directory.Packages.props
<PackageReference Include="IBeam.Credits" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add IBeam.Credits --version 2.9.43
                    
#r "nuget: IBeam.Credits, 2.9.43"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package IBeam.Credits@2.9.43
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=IBeam.Credits&version=2.9.43
                    
Install as a Cake Addin
#tool nuget:?package=IBeam.Credits&version=2.9.43
                    
Install as a Cake Tool

IBeam.Credits

IBeam.Credits contains provider-neutral credit accounting contracts and models for IBeam-backed applications.

Credits are intentionally generic. A host can use them for AI chat, dictation, document processing, SMS, workflow runs, storage, or any other metered capability.

dotnet add package IBeam.Credits

Core Concepts

Concept Meaning
Bucket A host-defined consumption category such as ai-chat, sms, or workflow-runs.
Account A tenant-owned credit account, optionally tied to a user, agent, API credential, or external subject.
Grant A positive credit allocation such as one-time, monthly, expiring, or rollover-capable credits.
Ledger entry An append-only accounting entry. Grants are positive and debits are negative.
Balance A calculated view of granted, debited, expired, and available credits for one bucket.

Grant Types

CreditGrantInfo supports common credit grants without naming them tokens:

  • one-time
  • monthly
  • expiring
  • adjustment

Rollover behavior is represented separately with CreditRolloverPolicies: none, rollover, or capped-rollover. Host-specific rollover caps or renewal metadata belong in Metadata.

Append-Only Ledger

The core store contract only exposes AppendLedgerEntryAsync and ledger reads. Services may add reservations and settlement workflows later, but the accounting model should preserve history rather than mutating prior entries.

Package Relationships

Package Role
IBeam.Credits Core credit buckets, accounts, grants, ledger entries, balance calculations, and store contract.
IBeam.Credits.Services Future reservation, settlement, policy-mode, and local store services.
IBeam.Credits.Api Future runtime/admin balance and ledger endpoints.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on IBeam.Credits:

Package Downloads
IBeam.Credits.Services

Credit reservation, settlement, usage recording, and in-memory store services for IBeam-backed applications.

IBeam.Commerce.Repositories.AzureTable

Azure Table Storage providers for IBeam licensing, billing, and credit stores.

IBeam.Licensing.Credits

Optional IBeam integration that combines license entitlement checks with credit reservations and settlements.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.9.43 47 7/29/2026