Overview of GoAI SDK Supported Providers
mainGoAI SDK provides a unified API for over 25 LLM providers. While the core functions like GenerateText, StreamText, GenerateObject[T], StreamObject[T], Embed, EmbedMany, GenerateImage, and GenerateVideo share a single interface, specific capabilities (like image generation or tool support) vary by provider.
Providers are categorized into tiers based on their implementation depth:
- Tier 1: Dedicated implementations with extended API support (e.g., OpenAI, Anthropic, Google, Bedrock, Azure, Vertex AI).
- Tier 2: Standard implementations (e.g., Cohere, Mistral, xAI, Groq, DeepSeek, MiniMax).
- Tier 3: Providers that typically use the
internal/openaicompatcodec (e.g., Fireworks, Together, OpenRouter, Perplexity, Cloudflare). - Local / Custom: Local runners or generic compatible endpoints (e.g., Ollama, llama.cpp, vLLM, or any OpenAI-compatible endpoint).