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

# Models

> One SDK, every model

Dedalus is model-agnostic. Every model from every provider is accessible through a single, unified API. Switch providers by changing a string.

<CodeGroup>
  ```python Python theme={"theme":{"light":"github-light","dark":"github-dark"}}
  from dedalus_labs import Dedalus

  client = Dedalus()

  response = client.chat.completions.create(
      model="openai/gpt-4.1",
      messages=[{"role": "user", "content": "Hello!"}],
  )

  print(response.choices[0].message.content)
  ```

  ```typescript TypeScript theme={"theme":{"light":"github-light","dark":"github-dark"}}
  import Dedalus from "dedalus-labs";

  const client = new Dedalus();

  const response = await client.chat.completions.create({
  	model: "openai/gpt-4.1",
  	messages: [{ role: "user", content: "Hello!" }],
  });

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

Swap `openai/gpt-4.1` for `anthropic/claude-sonnet-4` or `google/gemini-2.5-pro` and everything else stays the same.

## Listing available models

<CodeGroup>
  ```python Python theme={"theme":{"light":"github-light","dark":"github-dark"}}
  models = client.models.list()

  for model in models.data:
      print(model.id, model.provider)
  ```

  ```typescript TypeScript theme={"theme":{"light":"github-light","dark":"github-dark"}}
  const models = await client.models.list();

  for (const model of models.data) {
  	console.log(model.id, model.provider);
  }
  ```
</CodeGroup>

Each model object includes `capabilities` (tools, vision, streaming, structured output, thinking) and `provider_info` (status, upstream API).

<Note>
  See [Response Schemas](/api-reference/schemas#models) for the full `ListModelsResponse` shape.
</Note>

## Provider format

Models use the format `provider/model-name`:

| Provider  | Example                        |
| --------- | ------------------------------ |
| OpenAI    | `openai/gpt-4.1`               |
| Anthropic | `anthropic/claude-sonnet-4`    |
| Google    | `google/gemini-2.5-pro`        |
| xAI       | `xai/grok-3`                   |
| DeepSeek  | `deepseek/deepseek-r1`         |
| Mistral   | `mistral/mistral-large-latest` |

## Read more

<CardGroup cols={2}>
  <Card title="Quickstart" href="/sdk/agents">
    Install the SDK and make your first call
  </Card>

  <Card title="BYOK" href="/sdk/agents/byok">
    Bring your own provider API keys
  </Card>

  <Card title="Tools" href="/sdk/agents/tools">
    Give models the ability to call functions
  </Card>

  <Card title="Streaming" href="/sdk/agents/streaming">
    Stream responses token by token
  </Card>
</CardGroup>
