Skip to main content
Many AI coding tools let you bring your own OpenAI-compatible endpoint. Because the Deepshi API is OpenAI-compatible, you can route these tools through Deepshi by setting the base URL and your key.

What you’ll need

  • The Deepshi base URL: https://api.deepshi.ai/v1
  • Your API key (sk-bf-...). See Authentication
  • A model id from the catalog, e.g. deepshi-2.0 or deepshi-3.0

Cursor

In Cursor → Settings → Models, enable a custom OpenAI-compatible provider:
  1. Set the Base URL to https://api.deepshi.ai/v1.
  2. Set the API key to your sk-bf-... key.
  3. Add a model with the id of a Deepshi catalog model (for example deepshi-3.0).

Other OpenAI-compatible tools

Most assistants and CLIs read the same two settings, often from environment variables:
export OPENAI_BASE_URL="https://api.deepshi.ai/v1"
export OPENAI_API_KEY="sk-bf-..."
Set those, choose a Deepshi model id, and the tool will route through Deepshi.
Exact configuration steps vary by tool and version. The constant is always the same: point the tool’s OpenAI base URL at https://api.deepshi.ai/v1 and use your Deepshi key.