Cline with AnyRouter — free models, one API key

Use Cline with AnyRouter's OpenAI-compatible base URL, free models via anyrouter/free, or any model on one sk-ar- key.

Cline has a built-in OpenAI Compatible provider, so AnyRouter works with no plugin.

Set it up

  1. Create a key in Dashboard → Keys (prefix sk-ar-).

  2. In Cline settings (gear icon), set:

    FieldValue
    API ProviderOpenAI Compatible
    Base URLhttps://anyrouter.dev/api/v1
    API Keyyour sk-ar- key
    Modelanyrouter/free
  3. Ask Cline anything, then check request logs.

Cline calls tools, so pick a model with tool calling (Chat Completions models). Set the context window and max output tokens in Cline's model configuration to match the model's catalog page.

Model ids

Model idWhat it does
anyrouter/freeBest free model available now, with fallback. No credits. Needs Go ($2/mo, or free when you donate one working provider key); no daily cap. See Free Tier.
anyrouter/autoTop models (free and paid) with health-aware failover. Paid members use credits.
owner/modelA specific model, e.g. z-ai/glm-5.2. Ids are in the catalog.

Own provider keys (BYOK) are billed by your provider: see Use your own provider keys and BYOK.

Troubleshooting

SymptomFix
401The API Key field is not an active sk-ar- key. Check Keys.
404 or model not foundThe Model field must match an id exactly, including the owner/ prefix.
400 no_eligible_modelsPrivacy or routing settings (Zero Data Retention, blocked providers) excluded every candidate. Relax them or pick a specific model.

AnyRouter routes requests to third-party models. Models and outputs are provided as is, with no warranty; you use them at your own risk. Disclaimer