API Gateway for LLM Services

U

@

·

Design a comprehensive API gateway for LLM services with routing, rate limiting, authentication, observability, and provider normalization.

58 copies0 forks
Design an API gateway for managing multiple LLM services.

## LLM Providers
{{llm_providers}}

## Traffic Requirements
{{traffic_requirements}}

## Gateway Features
{{required_features}}

Design the gateway:

**Routing Layer**
- Provider selection logic
- Load balancing
- Failover handling

**Rate Limiting Layer**
- Per-user limits
- Per-provider limits
- Burst handling

**Authentication Layer**
- API key management
- Token validation
- Usage attribution

**Observability Layer**
- Request logging
- Metrics collection
- Cost tracking

**Transformation Layer**
- Provider API normalization
- Request/response mapping
- Streaming support

Provide:
- Architecture design
- Implementation approach
- Configuration schema
- Deployment recommendations

Details

Category

Analysis

Use Cases

API gateway designLLM orchestrationTraffic management

Works Best With

claude-sonnet-4-20250514gpt-4o
Created Shared

Create your own prompt vault and start sharing