Skip to content

Does Prompt Caching Work? #446

@yennor

Description

@yennor

Issue

I'm using openrouter do access the models. when i start up with:
aider-ce --cache-prompts --no-stream

It shows me for some models (not all. Eg. for older sonnet models, it shows the prompt cache, but not for the newer 4.5 or 4.6).
"with diff edit format, prompt cache, infinite output"

But when I look at the openrouter infos (export the log), then no cache costs are listed at all.

also from:
https://cecli.dev/docs/usage/caching.html

in the screeen shot, it displays a "cache hit" entry after each prompt. Which aren't shown in cecli.

Version and model info

cecli 0.97.0

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