DEVELOPER PORTAL & SDKS
One API Key. Multi-Cloud Resiliency.
Drop-in replacement for OpenAI and Anthropic SDKs. Point your base URL to CloudPilot and instantly inherit multi-cloud auto-scaling, semantic caching, and autonomous failover.
Python SDK (pip install cloudpilot)v3.2.0
import cloudpilot
client = cloudpilot.Client(api_key="cp_live_...")
# Query the multi-cloud orchestrator with sub-15ms semantic caching
response = client.chat.completions.create(
model="cloudpilot-auto-route",
messages=[{"role": "user", "content": "What is our enterprise refund SLA?"}],
cache_policy="semantic_aggressive", # Sub-15ms edge caching
cluster_failover=True # Auto-failover across AWS/GCP
)
print(response.choices[0].message.content)
print(f"Latency: {response.telemetry.latency_ms}ms (Cache: {response.telemetry.cache_hit})")cURL REST EndpointHTTP/2
curl -X POST https://api.cloudpilot.ai/v1/chat/completions \
-H "Authorization: Bearer cp_live_..." \
-H "Content-Type: application/json" \
-d '{
"model": "cloudpilot-auto-route",
"messages": [{"role": "user", "content": "Hello CloudPilot"}],
"telemetry": true
}'