Skip to content

Cache tokens in Logfire #1539

@anuar12

Description

@anuar12

Description

We are using Pydantic AI (1.0.7) with Logfire (4.7.0) with OpenAI chat completions API.
Currently can't see cached tokens in Logfire, and it would be very helpful for us to track it to make sure we can hit the cache most times, and also track costs better.

Would it be in Logfire anytime soon?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions