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

# Use DeerAPI with DeerAPI

> Connect DeerAPI to DeerAPI with an OpenAI-compatible base URL, API Key, and current model ID.

## Overview

Use this guide to connect DeerAPI to DeerAPI with an OpenAI-compatible base URL and a DeerAPI API Key. After configuration, DeerAPI can call any model that is available on the live DeerAPI pricing page.

## Prerequisites

* A DeerAPI account.
* A DeerAPI API Key.
* The DeerAPI application installed or accessible in your workspace.
* A current model ID from the [live pricing page](https://api.deerapi.com/pricing).

## Configure DeerAPI

<Steps>
  <Step title="Open the provider settings">
    In DeerAPI, open the settings area for custom OpenAI-compatible providers.
  </Step>

  <Step title="Set the base URL">
    Enter `https://api.deerapi.com/v1` as the base URL. If the tool asks for a host without the version suffix, use `https://api.deerapi.com`.
  </Step>

  <Step title="Add the API Key">
    Paste your DeerAPI API key in the API key field.
  </Step>

  <Step title="Choose a model">
    Add or select a model ID from the live pricing page, then save the provider configuration.
  </Step>

  <Step title="Run a test request">
    Send a short prompt from DeerAPI. A successful response confirms that the base URL, API Key, and model ID are configured correctly.
  </Step>
</Steps>

## Troubleshooting

* If the tool returns `401`, create a new API Key and update the saved provider configuration.
* If the tool returns `404`, check whether the base URL expects `/v1`.
* If the tool cannot find the model, verify the model ID on the live pricing page.
* If requests fail intermittently, enable retries in the client or reduce parallel requests.
