Skip to content

Drop-in Replacement

The DeepIntShield Gateway exposes compatibility routes for popular AI SDKs. For a supported operation, you can usually retain application-level request and response handling while changing the base URL and authentication configuration.

Some clients also require a DeepIntShield header, provider prefix, beta-header allowlist, or endpoint-version change. Provider-specific and beta operations must be verified against the matching integration guide.

DeepIntShield exposes provider-shaped endpoints for popular SDKs. Update the client configuration and test every operation you depend on. Gateway features apply according to route support and workspace configuration.

# Before: Direct to OpenAI
client = openai.OpenAI(
api_key="your-openai-key"
)
# After: Through DeepIntShield
client = openai.OpenAI(
base_url="https://app.deepintshield.com/openai",
api_key="sk-ds-your-virtual-key" # Authenticate with your DeepIntShield virtual key
)

Once your SDK points to DeepIntShield, you automatically get:

  • Multi-provider support with automatic failovers
  • Load balancing across multiple API keys
  • Semantic caching for faster responses
  • Governance controls for usage monitoring and budgets
  • Request/response logging and analytics
  • Rate limiting and circuit breakers

The Python package can construct these native clients and add the required headers for you. See Python SDK providers and frameworks.

DeepIntShield provides drop-in compatibility for multiple popular AI SDKs and frameworks:

For detailed setup instructions and compatibility information: Complete Integration Guide