Connect Your AI Application

Replace YOUR_API_ENDPOINT with the endpoint from your Dashboard.

python
from openai import OpenAI

client = OpenAI(
    base_url="YOUR_API_ENDPOINT",  # Copy from Dashboard
    api_key="not-needed"
)

response = client.chat.completions.create(
    model="deepseek-ai/DeepSeek-V3-0324",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)

tips_and_updatesTips

Need help?