OpenAI Compatible
Use MisterPilot as a drop-in OpenAI replacement
Point any OpenAI SDK at https://misterpilot.online/v1 — your API key, any model supported by DeepSeek.
1. Python OpenAI SDK
Install the OpenAI package and swap base_url — that's it.
2. cURL Direct HTTP
Call the API directly from the terminal with zero dependencies.
MethodPOSTEndpoint/v1/chat/completionsContent-Typeapplication/jsonAuthAuthorization: Bearer <key>
3. API Key Resolution
Your key is resolved in this priority order. You only need to provide it one way.
#1
Authorization: Bearer <key> header#2"apikey" field in the JSON body#3Default from config.yaml4. Built-in PII Protection
Every user message is automatically scanned and redacted before it reaches the LLM. Emails, phone numbers, IP addresses, credit card numbers, SSNs, and more are replaced with placeholders — no configuration required.
5. Supported Models
Defaultdeepseek-v4-proAlso availabledeepseek-v4-flash (any model your DeepSeek API key grants access to)