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

OpenAI SDK

Point the OpenAI client at DeepintShield to reach all 29 provider identities.

The native OpenAI SDK is the primary way to call DeepintShield. One client reaches all 29 provider identities by model prefix, such as anthropic/claude-sonnet-4-5.

What works

  • Chat Completions, Responses, embeddings, images, speech, transcription and video, according to the model
  • Streaming, async clients and custom headers, for example for MCP tool filtering
  • Files and batch across OpenAI, Bedrock, Gemini and Anthropic (inline batch only)
  • Python and server-side JavaScript; in Python you can also use shield.openai() from SDK 3.2.3

Limits to know: Compatibility is route-specific, so test the exact endpoints and SDK version your application uses.

How to connect

Set OPENAI_BASE_URL to https://app.deepintshield.com/v1 (or base_url to https://app.deepintshield.com/openai) and use your Virtual Key as the API key.

Read the OpenAI SDK integration docs. Moving an existing app? Read the OpenAI gateway migration guide.

Read the integration docs

Start For Free