Skip to content

Expand dynamic model pricing support #23

Description

@amoreX

Furnace prefers provider-reported costs, but direct providers that only return token usage depend on a manually maintained USD pricing catalog. Unknown models—including some GLM models—show cost unavailable.

Acceptance criteria

• Prefer exact provider-returned cost when available.
• Support provider model-catalog pricing metadata.
• Allow custom providers to configure input, output, cache-read, and cache-write rates.
• Do not silently treat non-USD prices as USD.
• Clearly mark estimates versus provider-reported costs.
• Add tests for unknown models, dated model aliases, caching, and per-session totals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions