Use prompt caching for repeated context
On the API, mark the long, unchanging start of your prompt as cacheable. Cached reads cost a fraction of normal input tokens.
No ratings yet
Loading…
On the API, mark the long, unchanging start of your prompt as cacheable. Cached reads cost a fraction of normal input tokens.
If results can wait, batch requests cost about half the normal price.