Global edge distribution
Serve cached responses from the nearest region to your user.
Offload repetitive agent traffic at the edge to reduce latency and inference costs with a lightweight integration.
Request path
Illustrative cache behavior
Agent request
chat.completions.create()
Edge cache
Check for a reusable response
Model provider
Run only when no reusable response is found
Multi-layer caching
From edge CDNs to regional Redis and local memory, Alchymos routes agent traffic to the fastest available layer.
Selected layer · CDN edge
Serve common, read-heavy responses close to users for low-latency global access.
A lightweight integration
Connect an existing OpenAI client and keep working with familiar APIs. Start with the SDK, then configure the caching behavior that fits your workflow.
See SDK documentationimport OpenAI from "openai";
import { Alchymos } from "@alchymos/openai";
const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });
const alchymos = new Alchymos(process.env.ALCHYMOS_API_KEY);
alchymos.withLlm(openai);
const response = await openai.chat.completions.create(params);Built for control
Choose how requests are scoped, routed, inspected, and refreshed.
Serve cached responses from the nearest region to your user.
Scope cached data to organizations, licenses, or individual users.
Configure behavior by tool, parameters, or request type.
Purge entries when upstream data changes.
Clear cache entries manually or programmatically.
Review cache hits, latency, and tokens saved.
Inspect headers to understand why requests are cached or bypassed.
Set performance targets for enterprise workloads.
Explore the SDK to see integration examples, or talk with us about caching for your agent workflows.