> ## Documentation Index
> Fetch the complete documentation index at: https://docs.deepshi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The Deepshi API is an OpenAI-compatible gateway. Base URL: https://api.deepshi.ai/v1. API keys start with sk-bf- and go in the Authorization: Bearer header. Prefer the official OpenAI SDKs pointed at the Deepshi base URL. Model ids are clean with no provider prefix (e.g. deepshi-3.0, claude-opus-4.8, gpt-5.5). Chat and image requests are synchronous; video and music requests are asynchronous job APIs (create, then poll). Every synchronous response carries usage.cost.total_cost in USD. Do not reference the internal /api/* admin plane or virtual keys.

# OpenClaw

> Use Deepshi models in OpenClaw via a custom OpenAI-compatible provider.

OpenClaw lets you bring a custom OpenAI-compatible model provider. Add Deepshi as a provider in your
config (`~/.openclaw/openclaw.json`) and reference its models with the `<provider>/<model>` form.

## Configure

```json5 theme={null}
{
  models: {
    providers: {
      deepshi: {
        baseUrl: "https://api.deepshi.ai/v1",
        apiKey: "${DEEPSHI_API_KEY}",
        api: "openai-completions",
        models: [
          { id: "deepshi-3.0", name: "Deepshi 3.0" },
        ],
      },
    },
  },
  agents: {
    defaults: {
      model: { primary: "deepshi/deepshi-3.0" },
    },
  },
}
```

Set `DEEPSHI_API_KEY` in your environment. OpenClaw substitutes `${VAR}` in any config string. See
OpenClaw's configuration reference for the full provider schema.

<Tip>
  OpenClaw runs agentic workflows, so pick a model with the **tools** capability. See
  [Chat models](/models/text-models).
</Tip>
