The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs(caching.md): add doc on enabling caching for just rate limiting features
Krrish Dholakiade8eae20d9b1
diff --git a/docs/my-website/docs/proxy/caching.md b/docs/my-website/docs/proxy/caching.mdindex 2c21b939190..e1901a2e86a 100644--- a/docs/my-website/docs/proxy/caching.md+++ b/docs/my-website/docs/proxy/caching.md@@ -185,6 +185,8 @@ $ litellm --config /path/to/config.yaml</Tabs>++## Using Caching - /chat/completions<Tabs>@@ -230,6 +232,22 @@ curl --location 'http://0.0.0.0:4000/embeddings' \</TabItem></Tabs>+## Set cache for proxy, but not on the actual llm api call++Use this if you just want to enable features like rate limiting, and loadbalancing across multiple instances.++Set `supported_call_types: []` to disable caching on the actual api call.+++```yaml+litellm_settings:+ cache: True+ cache_params:+ type: redis+ supported_call_types: []+```++## Debugging Caching - `/cache/ping`LiteLLM Proxy exposes a `/cache/ping` endpoint to test if the cache is working as expected