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

# List LLM models

> List the language models available to power your agents

Returns the LLM models you can assign to an agent. Pass a model `id` as
`llm_model_id` when [creating](/docs/api-reference/agents/create-agent) or
[updating](/docs/api-reference/agents/patch-update-agent) an agent.

Providers are listed separately at `GET /llm/providers`.

<CodeGroup>
  ```bash curl theme={null}
  curl https://api.agentic-os.com/api/v1/llm/models \
    -H "Authorization: Bearer $AGENTIC_OS_API_KEY"
  ```

  ```python Python theme={null}
  requests.get(
      "https://api.agentic-os.com/api/v1/llm/models",
      headers={"Authorization": f"Bearer {API_KEY}"},
  )
  ```

  ```javascript Node theme={null}
  await fetch("https://api.agentic-os.com/api/v1/llm/models", {
    headers: { Authorization: `Bearer ${API_KEY}` },
  });
  ```
</CodeGroup>
