Reliability layer for AI API calls
Replace your OpenAI/Anthropic base URL with ReliAPI:
// Before
const client = new OpenAI({ baseURL: "https://api.openai.com/v1" })
// After
const client = new OpenAI({
baseURL: "https://api.kikuai.dev/v1/reliapi/proxy/openai"
})Smart Retries
Automatic retry with exponential backoff on 429/5xx errors.
Semantic Caching
Cache identical prompts to reduce latency and costs.
Fallback Chains
Automatically failover to backup providers on errors.
// Headers for configuration X-ReliAPI-Cache: true // Enable caching X-ReliAPI-Cache-TTL: 3600 // Cache TTL in seconds X-ReliAPI-Retries: 3 // Max retry attempts X-ReliAPI-Fallback: anthropic // Fallback provider
1% of proxied API costs. Minimum $5/month. Cache hits are free.