Skip to content
pricemeter
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Select language
Türkçe
English
Menu
Start
Getting started
The “how much / when” boundary
Concepts
Catalog
Tariffs and models
price() and the plan
observe and hold
Recipes
Modules
/rates
/gauge
/adjustments
/calendar
/testing
Writing adapters
Examples
Messaging (Cloudflare)
LLM gateway (SQLite)
SaaS seats (SQLite)
Reference
API overview
API (English)
pricemeter
Namespaces
StandardSchemaV1
StandardSchemaV1
interfaces
FailureResult
Issue
PathSegment
Props
SuccessResult
Types
type-aliases
InferInput
InferOutput
Result
Classes
InsufficientCredit
QuotaExceeded
RateError
Interfaces
BaseContext
BoundApi
BreakdownRow
CaptureLine
CaptureOp
CaptureOptions
CaptureSuccess
CatalogApi
CatalogState
ChargeOp
ContextOptions
ExtendOp
Failure
Hold
HoldLine
HoldOp
HoldSuccess
InitialState
MeterEntry
MeterInfo
MeteringPriceOptions
MeteringState
ObserveOptions
Plan
Planned
PriceContext
Priced
PricedLine
PriceOptions
QuotaDetails
Rate
RateAnswer
Rated
RateInput
RateIssue
RatePolicy
Ref
ReleaseOp
ResultLine
StandardSchemaV1
Success
Tier
Typed
UsageDetail
UsageRow
Type Aliases
Bound
CaptureLineOf
CaptureResult
Commit
CommitResult
Dims
DimsFromSpec
DimsOf
DimsSpec
FailureReason
FeedsOf
FeedWeight
GetRate
HoldLike
HoldResult
LedgerOp
LineOf
MeterId
Metering
MicroUsd
PoolId
PricedLineOf
RateIssueCode
RateModel
RateValidation
RefOf
Result
ValidRate
Variables
FREE_RATE
Functions
buildMetering
canonicalJson
defineRate
holdUpperBound
isInsufficientCredit
isQuotaExceeded
lineKey
microUsd
price
rate
requiresCarry
requiresUsage
tierAt
typed
usd
validateRate
pricemeter/adjustments
Functions
flatCredit
minimumCommit
volumeTrueUp
pricemeter/calendar
Interfaces
Window
Variables
LIFETIME
Functions
cycleKey
cycleWindow
monthKey
monthWindow
pricemeter/cloudflare
Interfaces
AccountState
ApplyOptions
D1Like
DurableStorageLike
SqlCursor
SqlStorage
Type Aliases
CommitReply
Variables
D1_USAGE_SCHEMA
Functions
accountState
accountUsed
ackOutbox
applyPlan
commitReply
creditAccount
d1UsageSink
doCommit
flushOutbox
migrateAccount
readOutbox
pricemeter/gauge
Interfaces
IntegrateInput
Sample
Window
Functions
integrate
window
pricemeter/rates
Interfaces
LayeredRatesOptions
PriceVersion
Type Aliases
VersionIssue
Functions
applyDiscount
layeredRates
resolveLayered
scaleTiers
validateVersion
withPolicy
pricemeter/sqlite
Interfaces
AccountBalance
SqliteAdapter
SqliteAdapterOptions
SqliteLike
SqliteStatement
Functions
schema
sqliteAdapter
References
canonicalJson
pricemeter/testing
Interfaces
AccountState
ContractCheck
ContractOptions
ContractSubject
ExpectedPlan
MemoryAdapterOptions
MemoryAdapters
MemoryStore
Functions
commitContract
expectPlan
memoryAdapters
Project
Migration
Decisions
GitHub
Select theme
Dark
Light
Auto
Select language
Türkçe
English
pricemeter API
This content is not available in your language yet.
Modules
Bölüm başlığı “Modules”
pricemeter
pricemeter/adjustments
pricemeter/calendar
pricemeter/cloudflare
pricemeter/gauge
pricemeter/rates
pricemeter/sqlite
pricemeter/testing