Overview
Vikat provides complete Google GenAI API compatibility through protocol adaptation. The integration handles request transformation, response normalization, and error mapping between Google’s GenAI API specification and Vikat’s internal processing pipeline. This integration enables you to utilize Vikat’s features like governance, load balancing, semantic caching, multi-provider support, and more, all while preserving your existing Google GenAI SDK-based architecture. Endpoint:/genai
Setup
- Python
- JavaScript
Provider/Model Usage Examples
Use multiple providers through the same GenAI SDK format by prefixing model names with the provider:- Python
- JavaScript
Adding Custom Headers
Pass custom headers required by Vikat plugins (like governance, telemetry, etc.):- Python
- JavaScript
Dynamic Thinking Budget
WhenthinkingConfig.thinkingBudget is set to -1, Vikat handles it differently per provider:
- Gemini: Preserves
-1for native dynamic thinking support - Anthropic, Bedrock, Cohere: Converts to minimum reasoning budget value (1024)
- OpenAI: Converts to medium reasoning effort
Supported Features
The Google GenAI integration supports all features that are available in both the Google GenAI SDK and Vikat core functionality. If the Google GenAI SDK supports a feature and Vikat supports it, the integration will work seamlessly.Next Steps
- OpenAI SDK - GPT integration patterns
- Configuration - Vikat setup and configuration
- Core Features - Advanced Vikat capabilities

