Learning resourcesReviewed · Cline

Cline SDK Model Providers guide

Cline's Model Providers guide helps developers connect Cline agents to language model services, but it leaves package installation and actual prices unspecified. It covers provider credentials, model IDs, OpenAI-compatible endpoints, AWS Bedrock configuration, gateway access and usage reporting.

Researched 14 Nov 2026

In short.

Cline's Model Providers guide is a configuration reference for developers connecting Cline agents to language model services, but it does not provide a complete setup or actual provider prices. It explains the @cline/llms layer used internally by @cline/agents and @cline/core, with examples for Agent configuration, OpenAI-compatible services, AWS Bedrock and direct gateway access. It also describes optional model metadata and usage fields. Package versions, exact API contracts, runtime compatibility and cost-calculation accuracy are not established by this page. Nothing was executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to the complete selected page at [https://docs.cline.bot/sdk/model-providers.md], including its documentation-index notice, configuration examples, gateway descriptions, metadata interface, usage example and Mintlify hosting notice. Linked pages, including the documentation index, Gateway reference and Mintlify site, are excluded. Package source, complete API definitions, provider terms and live service behavior were not assessed. Nothing was installed or executed.

The overview

Identity

Model Providers is a Cline SDK documentation page at [https://docs.cline.bot/sdk/model-providers.md]. It teaches configuration of the provider layer rather than supplying a standalone application.

The page identifies @cline/llms as the package containing provider registries, model catalogs, handlers and a gateway. It states that @cline/agents and @cline/core use this layer internally.

Assessment

The guide is useful for understanding which settings connect an existing Cline integration to a model service. Its concrete configuration fields and short TypeScript examples make it a practical starting reference.

It is insufficient as a complete first-time SDK tutorial: installation, the Agent import and complete API definitions are absent. Functional correctness and compatibility were not assessed through execution.

Users

The material fits developers building with Cline agents or seeking direct access to provider and model abstractions. Experienced developers can use the named configuration fields and registry helpers to identify relevant integration points.

Beginners receive examples of provider credentials and model selection, but the page assumes familiarity with TypeScript, environment variables and API access. It does not teach those prerequisites.

Capabilities

The documented configuration accepts providerId and modelId, with apiKey, baseUrl, headers and provider-specific settings where applicable. The page lists credential environment variables for Anthropic, OpenAI, Google, AWS Bedrock and Mistral, and shows a separate openai-compatible configuration.

Direct gateway access includes listing providers and creating an agent model. Named registry helpers include getAllProviders, getProviderIds, getModelsForProvider, registerProvider and registerModel. Optional model metadata covers context limits, token limits, pricing and capabilities.

Using it

Requirements

Following the examples requires a development environment that can use the Cline packages and credentials appropriate to the chosen service. An OpenAI-compatible service also needs its endpoint URL and model name; the Bedrock example uses AWS credentials and a configured region.

Supported runtime versions, package versions, installation commands and minimum hardware requirements are unspecified. The page does not establish which model IDs are currently available to a particular account.

Mechanism

Provider configuration identifies the service to contact, the requested model and the credentials or endpoint settings to use. The @cline/llms layer supplies the registries, catalogs, handlers and gateway used by the higher-level Cline packages.

The direct-access example creates a DefaultGateway, calls listProviders() and then createAgentModel() with providerId and modelId. Request routing details, retries, streaming and error handling are not explained.

Setup

Configure an Agent with the chosen providerId, modelId and relevant credentials. The examples read API keys from environment variables. Provider configuration can additionally contain baseUrl, headers and provider-specific settings.

For an OpenAI-compatible endpoint, the page uses providerId openai-compatible, a provider API key and a baseUrl ending in /v1. For Bedrock, it uses providerId bedrock, the standard AWS environment or SDK credential chain and providerConfig.awsRegion set to us-east-1. These are configuration fragments; package installation and complete application setup are not supplied.

Example

The Anthropic example configures an Agent with providerId anthropic, modelId claude-sonnet-4-6 and apiKey from process.env.ANTHROPIC_API_KEY. The model name is an example in the documentation; its present availability is not established.

A separate usage example calls agent.run with the request Analyze this codebase, then reads result.usage.inputTokens, result.usage.outputTokens and result.usage.totalCost. No resulting code analysis, token counts or cost values are supplied, and nothing was executed.

Assessment & evidence

Limitations

The page gives selected configuration examples rather than a complete provider roster or API specification. Several ModelInfo properties are optional, so the shown interface does not guarantee that every model has context limits, pricing or capability information.

Authentication failures, endpoint compatibility, data handling, performance, reliability and accuracy of generated responses are not assessed. The examples provide no execution results or benchmarks.

Reasoning

The distinction between configuring an Agent and accessing models through a gateway helps developers identify where their integration belongs. The common providerId and modelId fields make service and model selection explicit.

It is reasonable to infer that the shared configuration structure can reduce repeated integration work within Cline. The page does not demonstrate equivalent behavior across providers or measure development time saved, so those benefits remain unverified.

Alternatives

Within the documented approach, developers can configure provider access through an Agent or use DefaultGateway or createGateway for direct provider and model access. The openai-compatible option provides another connection path for services exposing that API format.

The page does not compare Cline's provider layer with other SDKs or direct provider clients. Relative feature coverage, portability and implementation effort are unknown.

Evidence

The source is the complete Model Providers page at [https://docs.cline.bot/sdk/model-providers.md], captured on 14 November 2026. It contains TypeScript configuration fragments, credential-variable names, gateway and registry API names, a ModelInfo interface and a usage-reporting example.

These examples support an explanation of the documented configuration. They do not establish successful service connections, observed output or measured costs.

Access & freshness

Costs

Actual costs are unknown. The page supplies no numeric model rates, currency, pricing units, package price or billing terms.

ModelInfo can contain optional input, output, cacheCreation and cacheRead pricing fields. Agent results and usage events are described as including usage information, with totalCost shown in the example. The page does not establish how that value is calculated or whether it captures every billable charge.

Rights

The supplied page does not state a documentation license, package license or permission to redistribute its examples. Commercial-use permissions and applicable provider terms are unknown from this evidence.

The Mintlify hosting notice identifies the documentation platform; it does not establish reuse rights for the Cline material.

Freshness

The capture timestamp is 2026-11-14T22:15:28.702Z. The page supplies no publication date, update date or package-version binding.

The capture date does not establish that its example model IDs, provider settings or exported APIs remain available. Current compatibility and pricing are unknown.

Actions

Before implementing the examples, confirm installation requirements and the Agent import for the package version you intend to use. Verify the selected provider's credentials, endpoint, model availability and prices.

For direct gateway integration, consult the linked Gateway reference at [https://docs.cline.bot/sdk/reference/gateway.md] for exact APIs. Verify applicable licenses and service terms separately; neither is established here.

Evidence for this report

selected-page.txtselected · checked 2026-11-14