Create a new meter for the authenticated merchant. Meters define fee models for API request billing.
Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'
Display name of the meter
"GPT-4 Usage"
Fee model: 'fixed' (fixed added cost per unit) or 'percentage' (percentage of base cost)
fixed, percentage "fixed"
Unit type for pricing tiers
tokens_1m, characters_1m, minutes, requests "tokens_1m"
Pricing tiers (at least one required, must be in ascending start order)
Unique slug identifier for the meter. If not provided, one will be auto-generated.
"gpt4-usage"
Meter created
Unique identifier for the meter
Slug identifier for the meter used in forward token authentication
Display name of the meter
Fee model: 'fixed' (fixed added cost) or 'percentage' (percentage of base cost)
fixed, percentage Token counting method: 'input+output' or 'output' only
input+output, output Who pays the base AI provider cost
merchant, wallet Who pays the Lava service charge
merchant, wallet Pricing tiers for the meter
When the meter was created