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 Deepshi API key. See Authentication
  • A model id from the catalog

Cursor

In Cursor → Settings → Models:
  1. Turn on Override OpenAI Base URL and set it to https://api.deepshi.ai/v1 (Cursor appends /chat/completions).
  2. Set the OpenAI API Key to your Deepshi key. The label says OpenAI, but the key is sent to the base URL you entered above.
  3. Click + Add Model and enter a Deepshi model id.
Cursor routes only its chat panel (Cmd/Ctrl+L) to a custom OpenAI base URL; the background coding agent keeps using Cursor’s own backend. This behavior changes between versions, so check yours.

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="YOUR_DEEPSHI_API_KEY"
Set those, choose a Deepshi model id, and the tool will route through Deepshi.