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

# SDK configuration

> Configure OpenAI, Anthropic, and Gemini clients

<Tabs>
  <Tab title="OpenAI Python">
    ```python theme={null}
    from openai import OpenAI
    client = OpenAI(base_url="https://api.bianxie.ai/v1", api_key="API_KEY")
    ```
  </Tab>

  <Tab title="OpenAI Node.js">
    ```javascript theme={null}
    import OpenAI from "openai";
    const client = new OpenAI({ baseURL: "https://api.bianxie.ai/v1", apiKey: process.env.BIANXIE_API_KEY });
    ```
  </Tab>

  <Tab title="Anthropic Python">
    ```python theme={null}
    from anthropic import Anthropic
    client = Anthropic(base_url="https://api.bianxie.ai", api_key="API_KEY")
    ```
  </Tab>
</Tabs>

Support for custom base URLs varies across Gemini SDK versions. Use the HTTP examples when in doubt.
