Quickstart
Get started with AutoDo
AutoDo provides an OpenAI-compatible API that gives you access to ChatGPT, Claude, Gemini, and other frontier models through a single endpoint with unified billing and usage tracking.
There are two ways to integrate with AutoDo, depending on how much control you want:
| Approach | Best for |
|---|---|
| API | Full control, any language, no extra SDK required |
| OpenAI SDK | Existing OpenAI SDK code where you only want to swap the base URL |
Note: Create an API key in the dashboard first, and make sure your account has available credits. All examples use https://autodo.work/v1 as the base URL.
Tip: AutoDo returns OpenAI-compatible responses, so standard SDKs usually only need a new base URL and API key.
export BASE_URL="https://autodo.work/v1"
export API_KEY="sk-***"
curl "$BASE_URL/chat/completions" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5.5","messages":[{"role":"user","content":"Hello"}]}'import OpenAI from 'openai';
const openai = new OpenAI({
baseURL: 'https://autodo.work/v1',
apiKey: process.env.AUTODO_API_KEY,
});
const completion = await openai.chat.completions.create({
model: 'gpt-5.5',
messages: [
{ role: 'user', content: 'Write a one sentence product tagline.' },
],
});
console.log(completion.choices[0]?.message);import os
from openai import OpenAI
client = OpenAI(
base_url='https://autodo.work/v1',
api_key=os.environ['AUTODO_API_KEY'],
)
completion = client.chat.completions.create(
model='gpt-5.5',
messages=[
{'role': 'user', 'content': 'Write a one sentence product tagline.'},
],
)
print(completion.choices[0].message)