Getting Started
Quickstart
Make your first API call in 60 seconds — no installation required.
You don't need to install anything to do your first inference. You only need your access token. DEVUP AI gives you access to 100+ open-source models at the best prices available.
Step 1: Get your API key
Go to the Dashboard and create an API key. If you're logged in, examples throughout the docs will have your token pre-filled.
Step 2: Make your first API call
from openai import OpenAI
client = OpenAI(
api_key="$DEVUP_API_KEY",
base_url="https://api.devupai.com/v1",
)
response = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V3",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)The response looks like this:
json
{
"id": "chatcmpl-guMTxWgpFf",
"object": "chat.completion",
"created": 1694623155,
"model": "deepseek-ai/DeepSeek-V3",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! It's nice to meet you. Is there something I can help you with?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 15,
"completion_tokens": 16,
"total_tokens": 31,
"estimated_cost": 0.0000268
}
}That's it
You're using the OpenAI Chat Completions API — the same interface you already know. The only changes are:
- Base URL:
https://api.devupai.com/v1 - API key: your DEVUP AI token
- Model: any model from our catalog
Install the SDK (optional)
pip install openai