Skip to content

Refresh model pricing when an unknown model appears #2017

Description

@iam-brain

Problem

CodexBar can temporarily miss pricing for newly released models even after models.dev has published them. The pricing catalog is refreshed on a 24-hour TTL, so an unknown model may remain unpriced until the next scheduled refresh.

We should keep the exact model and token usage, trigger a bounded refresh when pricing is missing, and let the existing pricing fingerprint reprice cached usage once the model appears.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions