AgentSea.ModelPricing (agentsea_core v0.1.0)

Copy Markdown

Coarse relative price tiers for models (not exact pricing) — enough for the auction's :cheapest bid and the gateway's cost-optimized routing to prefer cheaper models. Higher weight = pricier. For precise costs, track usage tokens against a real pricing table.

Summary

Functions

Relative price weight for a model id.

Functions

weight(model)

@spec weight(String.t() | nil) :: float()

Relative price weight for a model id.