Skip to main content

Supported Providers

Lava supports 27 AI service providers out of the box, enabling you to route requests to dozens of different AI APIs through a single, unified billing system.
All providers are accessible through Lava’s /v1/forward endpoint with automatic usage tracking, billing, and cost calculation.

Provider Categories

Large Language Models (LLMs)

Chat completions, text generation, and conversational AI:
ProviderModelsKey Features
OpenAIGPT-4, GPT-3.5, GPT-4oChat, embeddings, streaming, function calling
AnthropicClaude 3 (Opus, Sonnet, Haiku)Long context (200K), vision, tool use
GoogleGemini Pro, FlashMultimodal inputs, code generation
xAIGrokReal-time data, advanced reasoning
MistralLarge, Medium, SmallEfficient inference, multilingual
DeepSeekDeepSeek modelsCost-effective, high performance
CohereCommand, EmbedEnterprise features, RAG support
GroqUltra-fast inferenceLow latency, high throughput
together.aiOpen-source LLMsLlama, Mixtral, custom models
See detailed LLM reference →

AI Infrastructure & Hosting

Platforms that host and serve AI models at scale:
  • Fireworks, DeepInfra, Hyperbolic, Cerebras, SambaNova
  • Nebius AI Studio, GMI Cloud, Inference.net, Baseten

Voice & Audio

Speech synthesis, recognition, and voice AI:
ProviderCapabilitiesBilling
ElevenLabsText-to-speech, speech-to-text, voice cloningCharacter-based
RetellAI phone calls, real-time responsesDuration-based
See detailed voice/audio reference →

Developer Platforms

  • Vercel (AI SDK integration)
  • Novita AI (model marketplace)

Specialized Services

  • kluster.ai (workflow automation)
  • Parasail, Chutes, Targon, Pearch

How Provider Integration Works

When you send a request through Lava:
  1. Automatic Routing: Lava identifies the provider from your target URL
  2. Authentication: Lava adds the appropriate provider API key
  3. Request Forwarding: Your request is sent to the provider unchanged
  4. Usage Tracking: Lava extracts usage metrics (tokens, characters, duration, etc.)
  5. Cost Calculation: Costs are calculated based on provider pricing + your configured fees
Lava handles provider-specific authentication formats, response parsing, and usage extraction automatically - you only need to provide the target URL.

Provider Authentication Methods

Lava automatically handles different authentication formats for each provider:
Authentication TypeProvidersHeader Format
Bearer TokenOpenAI, Anthropic, DeepSeek, Mistral, xAI, most LLMsAuthorization: Bearer <key>
x-api-keyStandard API key headerx-api-key: <key>
x-goog-api-keyGoogle Geminix-goog-api-key: <key>
xi-api-keyElevenLabsxi-api-key: <key>
Query ParameterGoogle (alternative)?key=<key>
You don’t need to manage provider API keys yourself - Lava uses managed keys for all providers. Your forward token handles authentication on the Lava side.

Metering by Provider Type

Token-Based Metering

Providers: OpenAI, Anthropic, Google, Mistral, xAI, Groq, Cohere, most LLMs Metrics: Input tokens, output tokens, cached tokens, audio tokens Pricing: Per million tokens (1M)

Character-Based Metering

Providers: ElevenLabs (text-to-speech) Metrics: Character count of input text Pricing: Per million characters (1M)

Duration-Based Metering

Providers: Retell (voice calls), ElevenLabs (speech-to-text) Metrics: Audio duration, call duration Pricing: Per minute or per second

Request-Based Metering

Providers: Image generation services Metrics: Number of API requests Pricing: Per request

Provider Availability

All providers are available on Lava’s production infrastructure with:
  • Global edge deployment - Requests routed to nearest region
  • Less than 20ms latency overhead - Minimal proxy delay
  • 99.9% uptime SLA - Enterprise-grade reliability
  • Automatic failover - Provider outages handled gracefully
  • Real-time monitoring - Usage tracking and error logs

Next Steps