12+ Providers
One SDK, Many Providers
Switch between providers with a single line of code. Same interface, different models.
✓Chat
⚡Streaming
📊Embeddings
👁️Vision
O
OpenAI
Industry-leading models including GPT-4o with vision and function calling.
Popular Models
GPT-4oo1 Proo1
✓⚡📊👁️
A
Anthropic
Claude models known for safety, helpfulness, and long context windows.
Popular Models
Claude 4.5 SonnetClaude 4.5 OpusClaude 3.5 Sonnet
✓⚡👁️
G
Google Gemini
Google's multimodal AI with excellent reasoning capabilities.
Popular Models
Gemini 3 FlashGemini 3 ProGemini 2.0 Flash
✓⚡📊👁️
O
Ollama
LocalRun open-source models locally. No API key required!
Popular Models
Llama 3.2MistralCode Llama
✓⚡📊👁️
G
Groq
Ultra-fast inference with their custom LPU hardware.
Popular Models
Llama 3Mixtral
✓⚡
M
Mistral
European AI with excellent multilingual support.
Popular Models
Mistral LargeMistral MediumCodestral
✓⚡📊
C
Cohere
Enterprise-focused with RAG and semantic search.
Popular Models
Command R+Command REmbed
✓⚡📊
T
Together AI
Access to many open-source models via API.
Popular Models
Llama 3MixtralWizardLM
✓⚡📊👁️
F
Fireworks AI
Optimized inference for speed and efficiency.
Popular Models
FireLLaVAMixtralLlama 3
✓⚡📊👁️
P
Perplexity
AI with real-time internet search capabilities.
Popular Models
SonarSonar Pro
✓⚡
D
DeepSeek
Strong reasoning and coding capabilities.
Popular Models
DeepSeek ChatDeepSeek Coder
✓⚡
x
xAI Grok
Elon Musk's AI with a unique personality.
Popular Models
Grok-1Grok-2
✓⚡
Switch Providers Instantly
// Same interface, any provider
// Use OpenAI
await ai.chat({ provider: 'google', model: 'gemini-3-flash', ... });
// Switch to Claude
await ai.chat({ provider: 'anthropic', model: 'claude-sonnet-4-5-20250915', ... });
// Or run locally with Ollama
await ai.chat({ provider: 'ollama', model: 'llama3.2', ... });