Skip to content

Should cost estimates reflect date dependent rates? #1453

Description

@machow

Problem / motivation

This is less of an issue now, but Sonnet 5 was originally set to have its rate increase September 1st. Currently, agentsview does not have the functionality to estimate that the Sonnet 5 costs before September were different from those after. This date-conditional pricing is done by tools like pydantic/genai-prices.

e.g. using a StartDateConstraint specifier: https://github.com/pydantic/genai-prices/blob/d492ce0fecbb0d0f74bf3119b867a1a051d4087b/packages/python/genai_prices/types.py#L1008-L1015

Proposed solution

It might be worth evaluating the relative effort (e.g. in genai-prices). But if it's not too high, seems potentially useful!

Alternatives considered

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions