ReadonlybaseAPI root such as https://api.openai.com/v1, without a trailing slash.
Optional ReadonlycredentialAPI key or token. Sent only on the request to baseUrl.
Optional ReadonlycredentialOverride the protocol's default credential header (Azure OpenAI uses api-key).
Optional ReadonlyheadersExtra static headers, such as OpenRouter attribution. Never used for credentials.
Optional ReadonlymaxOutput token ceiling. Anthropic requires one; the default is 4096. A request's maxTokens can only lower it.
ReadonlymodelExact provider model identifier.
ReadonlyprotocolOptional ReadonlyrequiresWhether continuing a conversation that contains toolCall parts needs opaque
or signed reasoning state NAP-LLM cannot represent (LLM-C17). When true,
history with toolCall parts is unsupported before any request is built.
Gemini defaults it from the model name (3 and later); an explicit value wins.
Optional ReadonlyresponsesOptions for the openai-responses dialect.
One configured provider endpoint. The credential is optional for local servers.