Skip to content

Meet DeepintShield at Bengaluru Tech Summit 2026, 17 to 19 November, BIEC Hall 1, booth H1A106. Book 20 minutes

Start For Free

Google GenAI SDK

Use native Google GenAI clients against the /genai endpoint.

Keep native Google GenAI code in Python or JavaScript (@google/genai) and route it through DeepintShield.

What works

  • generate_content and streaming with generate_content_stream
  • Async calls through client.aio
  • Chats with Python callable tools; clients from shield.genai() also govern automatic callable tools
  • Files, cached content, batches, and other providers by model prefix

Limits to know: Anthropic batches are inline only, and Bedrock batches need the Bedrock SDK.

How to connect

Create genai.Client with your Virtual Key as api_key and HttpOptions(base_url="https://app.deepintshield.com/genai", api_version="v1beta"), or use shield.genai() with deepintshield[genai]==3.2.3.

Read the Google GenAI SDK integration docs.

Read the integration docs

Start For Free