Every provider hands you its own SDK, its own option names, and its own shape coming back. Add a second provider and you write the same feature twice.
Splendid AI gives you one call. Name the provider, send the prompt, read the answer off the same fields every time.
import { ai } from '@splendidlabz/ai'
const answer = await ai({ provider: 'gemini', model: 'gemini-3.6-flash', systemPrompt, prompt: 'When are you free?',})
console.log(answer.text)Swap provider to claude, openai or claudep and the rest of the call stays where it is. Pass an option the new provider can’t take and it throws, naming what broke — rather than quietly sending a different call.