--- title: Language Model slug: /components-models --- import Icon from "@site/src/components/icon"; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import PartialGlobalModelProviders from '@site/docs/_partial-global-model-providers.mdx'; Language model components in Langflow generate text using a specified Large Language Model (LLM). These components accept inputs like chat messages, files, and instructions in order to generate a text response. Langflow includes a **Language Model** core component that has built-in support for many LLMs. Alternatively, you can use any [additional language model](#additional-language-models) in place of the **Language Model** core component. ## Use language model components in flows Use language model components anywhere you would use an LLM in a flow. One of the most common use cases of language model components is to chat with LLMs in your flows. The following example uses a language model component in a chatbot flow similar to the **Basic Prompting** template. 1. :::tip My preferred provider or model isn't listed If you want to use a provider or model that isn't built-in to Langflow's global Some components use a language model component to perform LLM-driven actions. Typically, these components prepare data for further processing by downstream components, rather than emitting direct chat output. For an example, see the [**Smart Transform** component](/smart-transform). A component must accept a `LanguageModel` input to use a language model component as a driver, and you must set the language model component's output type to `LanguageModel`. For more information, see [Language Model output types](#language-model-output-types). If you don't want to use the **Agent** component's built-in LLM, you can use a language model component to connect your preferred model: 1. Add a language model component to your flow. You can use the **Language Model** core component or browse ## Language model parameters The following parameters are for the **Language Model** core component. Other language model components can have additional or different parameters. import PartialParams from '@site/docs/_partial-hidden-params.mdx'; | Name | Type | Description | |------|------|-------------| | provider | String | Input parameter. The model provider to use. Options depend on your global