# Anthropic (Claude) (/docs/providers/anthropic)


Overview [#overview]

[Anthropic](https://www.anthropic.com) is an AI safety company focused on building reliable, interpretable, and steerable AI systems. Their Claude models are known for strong reasoning, long context windows, and safety-focused design.

**Official Website:** [https://www.anthropic.com](https://www.anthropic.com)
&#x2A;*API Documentation:** [https://docs.anthropic.com](https://docs.anthropic.com)

Key Features [#key-features]

* **Extended Thinking** — Configurable thinking budget for enhanced reasoning
* **Long Context** — Large context windows for document analysis
* **Computer Use** — Native ability to interact with computer interfaces
* **Vision** — Image analysis and understanding
* **Agent SDK** — Building AI agents with tool use
* **MCP Connector** — Connect to external data sources

Usage Example [#usage-example]

<Tabs items="[&#x22;Python&#x22;, &#x22;JavaScript&#x22;, &#x22;cURL&#x22;]">
  <Tab value="Python">
    ```python
    from openai import OpenAI

    client = OpenAI(
        api_key="YOUR_API_KEY",
        base_url="https://api.yuhuanstudio.com/v1"
    )

    response = client.chat.completions.create(
        model="model-id",
        messages=[
            {"role": "system", "content": "You are a helpful assistant."},
            {"role": "user", "content": "Hello!"}
        ]
    )

    print(response.choices[0].message.content)
    ```
  </Tab>

  <Tab value="JavaScript">
    ```javascript
    import OpenAI from "openai";

    const client = new OpenAI({
      apiKey: "YOUR_API_KEY",
      baseURL: "https://api.yuhuanstudio.com/v1",
    });

    const response = await client.chat.completions.create({
      model: "model-id",
      messages: [
        { role: "system", content: "You are a helpful assistant." },
        { role: "user", content: "Hello!" },
      ],
    });

    console.log(response.choices[0].message.content);
    ```
  </Tab>

  <Tab value="cURL">
    ```bash
    curl https://api.yuhuanstudio.com/v1/chat/completions \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -d '{
        "model": "model-id",
        "messages": [
          {"role": "system", "content": "You are a helpful assistant."},
          {"role": "user", "content": "Hello!"}
        ]
      }'
    ```
  </Tab>
</Tabs>

Extended Thinking [#extended-thinking]

Enable extended reasoning for complex problems:

```python
response = client.chat.completions.create(
    model="model-id",
    messages=[{"role": "user", "content": "Solve this complex problem"}],
    extra_body={
        "thinking": {
            "type": "enabled",
            "budget_tokens": 10000
        }
    }
)
```

Available Models [#available-models]

Use the [Models API](/docs/models-api) to query available models:

```bash
curl https://api.yuhuanstudio.com/v1/models?provider=anthropic \
  -H "Authorization: Bearer YOUR_API_KEY"
```

<Callout type="info">
  Models and pricing are synced automatically from Anthropic. Check the dashboard for current availability and rates.
</Callout>

Official Resources [#official-resources]

* [Anthropic Website](https://www.anthropic.com)
* [API Documentation](https://docs.anthropic.com)
* [Console](https://console.anthropic.com)
* [Pricing](https://www.anthropic.com/pricing)
