# Models

Seldon’s LLM Module provides an interface to deploy a wide variety of Large Language models, whether they be third party, hosted LLMs such as OpenAI and Gemini models, or open-source or custom LLMs to be deployed on your own infrastructure. In order to do this, the LLM module offers two separate runtimes: **API** and **Local**. Each runtime is set up so that requests and responses conform to Seldon’s Open Inference Protocol standard, and can easily be plug-and-played within Core 2 pipelines.

* [**API**](/llm-module/components/models/api.md): This runtime provides a pass-through to call OpenAI and Gemini models, hosted by the relevant third-party provider.
* [**Local**](/llm-module/components/models/local.md): This runtime integrates with DeepSpeed, vLLM, and a Hugging Face Transformers serving backends to deploy models on your own (local or cloud) infrastructure. These backends come with LLM-specific serving optimizations to manage resource-usage and optimize performance.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.seldon.ai/llm-module/components/models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
