% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model.R
\name{Model}
\alias{Model}
\title{A model configuration}
\usage{
Model(name = stop("Required"), params = list(), extra_args = list())
}
\arguments{
\item{name}{Name of the model (e.g. \code{"gpt-4.1"}, \code{"claude-sonnet-4-6"}).}

\item{params}{A list of standard parameters created by \code{\link[=params]{params()}}.}

\item{extra_args}{Arbitrary extra arguments to be included in the request
body.}
}
\value{
An S7 Model object.
}
\description{
A \code{Model} captures the details of a specific model: its name, standard
parameters, and any extra arguments to include in the API request body.
This is paired with a \link{Provider}, which captures \emph{who} you're talking to,
while the \code{Model} captures \emph{what} you're asking for.
}
\details{
You generally don't need to create \code{Model} objects directly; they are
created automatically by \verb{chat_*()} functions like \code{\link[=chat_openai]{chat_openai()}} and
\code{\link[=chat_anthropic]{chat_anthropic()}}.
}
\examples{
Model(name = "gpt-4.1")
Model(name = "claude-sonnet-4-6", params = params(temperature = 0))
}
