API Documentation
DCP Cloud is 100% OpenAI-compatible. Use your existing SDKs, simply change the Base URL and API key.
Base Endpoint
All API requests should be routed to this base URL:
https://api.dcp.sa/v1Available Models
Pass these exact strings into the `model` parameter:
dcp/fastdcp/prodcp/deep-research
Quickstart Examples
Select your preferred language below to see how to connect using standard OpenAI libraries.
from openai import OpenAI
client = OpenAI(
base_url="https://api.dcp.sa/v1",
api_key="dcp_your_api_key_here"
)
response = client.chat.completions.create(
model="dcp/pro",
messages=[
{"role": "user", "content": "Tell me a knock-knock joke about vibe coding."}
]
)
print(response.choices[0].message.content)