Libraries tagged by prompt cache
martinkup/symfony-profiler-optimization-advisor-bundle
397 Downloads
Symfony Profiler bundle that analyzes per-request signals and produces scored, actionable optimization opportunities with ready-made AI agent prompts.
ykachala/semantic-cache
0 Downloads
Embedding-similarity response cache for LLM calls. Serve a cached answer when a new prompt is semantically close to a previous one — cutting cost and latency.
sanjarani/openai-laravel
1 Downloads
A comprehensive PHP package for seamless integration with the OpenAI API, featuring support for the latest models (GPT-4o, o1), Assistants API v2, Tools, streaming, prompt caching, and full compatibility with Laravel 12+.
alle-ai/anthropic-api-php
26405 Downloads
The go-to PHP library for the Anthropic API — Messages, streaming, tool use, vision, prompt caching, extended thinking, MCP, Files, Batches. Maintained by Alle-AI.
promptphp/intercept
2 Downloads
A modular, drop-in middleware kit for Laravel AI agents. Protect, observe, and govern your AI agents with granular, install-what-you-need middleware packages.
token27/nexus-ai-pricing
49 Downloads
Financial cost calculation for LLM API usage. Supports token-accurate pricing for OpenAI, Anthropic (with Prompt Caching discounts), Google Gemini, DeepSeek, Groq, Mistral, and more.