Overview
Bifrost provides 100% Google GenAI API compatibility with enhanced features:- Zero code changes - Works with existing Google GenAI SDK applications
- Same request/response formats - Exact Google GenAI API specification
- Enhanced capabilities - Multi-provider fallbacks, MCP tools, monitoring
- Full Gemini model support - All Gemini models and features
- Any provider under the hood - Use any configured provider (Google, OpenAI, Anthropic, etc.)
POST /genai/v1beta/models/{model}:generateContent
Provider Flexibility: While using Google GenAI SDK format, you can specify any model like"gemini-pro"(uses Google) or"openai/gpt-4o-mini"(uses OpenAI) - Bifrost will route to the appropriate provider automatically.
Quick Migration
Python (Google GenAI SDK)
JavaScript (Google GenAI SDK)
Supported Features
Fully Supported
| Feature | Status | Notes |
|---|---|---|
| GenerateContent | ✅ Full | All parameters supported |
| Multi-turn Chat | ✅ Full | Conversation history |
| System Instructions | ✅ Full | Model behavior control |
| Vision/Multimodal | ✅ Full | Images, videos, documents |
| Streaming | ✅ Full | Currently returns full response |
| Safety Settings | ✅ Full | Content filtering |
| Generation Config | ✅ Full | Temperature, top-k, etc. |
| Function Calling | ✅ Full | Google + MCP tools |
Enhanced Features
| Feature | Enhancement | Benefit |
|---|---|---|
| Multi-provider Fallbacks | Automatic failover | Higher reliability |
| MCP Tool Integration | External tools available | Extended capabilities |
| Load Balancing | Multiple API keys | Better performance |
| Monitoring | Prometheus metrics | Observability |
| Cross-provider Tools | Use with any provider | Flexibility |