Integration
Python Integration
Use ScaleMind's Python SDK or the OpenAI client to add intelligent LLM routing to any Python application.
Features
- ✓ OpenAI SDK compatible
- ✓ Type hints included
- ✓ Sync and async support
- ✓ Works with any Python framework
Quick Start
from openai import OpenAI
client = OpenAI(
base_url="https://gateway.scalemind.ai/v1",
api_key="your-scalemind-key"
)
response = client.chat.completions.create(
model="gpt-4",
messages=[{"role": "user", "content": "Hello!"}]
) Ready to integrate Python?
Get started in minutes with our free tier.
Start Free →