Cline

Flux for Cline

Keep Cline. Give it 90+ models from 12 AI labs on one key, plus page reading and images through the Flux tools server.

Set it up

Flux Desktop can write this config for you in one click. To do it by hand:

  1. Click the gear icon and set API Provider to "OpenAI Compatible".

    text
    Base URL: https://api.fluxrouter.ai/v1
    API Key:  sk-YOUR-FLUX-KEY
    Model ID: flux-auto
  2. Click Verify.

This recipe comes from our earlier Cline guide. We have not re-checked it against the newest Cline release yet.

Check the first call

  1. Open the Cline panel and send "Reply with the word ready."

  2. Open Activity in your Flux account to see the call counted against the model that answered and the key that made it.

What Cline gets

What Cline gets through Flux
AbilityTodayHow it reaches Cline
Every major modelLiveAutomatic, through the base URL.
Read a web pageLiveAdd the Flux tools server (below).
Search the webRolling outSwitched on and being checked. Not promised yet.
Make imagesLiveAdd the Flux tools server (below).
SpeakRolling outSwitched on and being checked. Not promised yet.
Transcribe audioNot in agents yetLive on the API for your own code. No agent reaches it yet.
Act in your appsShippingNot live yet. It is on the way.
MemoryShippingNot live yet. It is on the way.
Second opinionRolling outSwitched on and being checked. Not promised yet.

Statuses come from the same record as the abilities on the homepage, so they change everywhere at once.

Add the Flux tools server

Page reading and image making reach Cline through the Flux tools server, an MCP server on the same key. Web search joins it once it is live.

  1. Open Cline's MCP servers panel, edit the settings file, and add the Flux tools server.

    json
    {
      "mcpServers": {
        "flux-tools": {
          "type": "streamableHttp",
          "url": "https://api.fluxrouter.ai/mcp-tools/",
          "headers": {
            "Authorization": "Bearer sk-YOUR-FLUX-KEY"
          }
        }
      }
    }

Format from Cline’s own MCP docs, read on 28 September 2026.

Good to know

  • Agent use needs native tool calling. flux-auto resolves to models that support it.
  • flux-auto bills at the Standard rate, or the Fast rate when it sends your request to the Fast lane and a Fast model answers. Never more than Standard. Pin a model and you pay that model’s rate instead.
  • Flux can pick a different model from one request to the next. A prompt cache belongs to one model, so a switch can mean a cache miss. If a long session leans on caching, pin a model.
  • The Flux tools server needs a funded key. Without one, its tools return an error instead of a result.

If it won’t connect

Cline answers but never uses its tools.
Agent work needs a model with native tool calling. Keep the model on flux-auto, which picks from models that support it, or pin one that does.
Verify fails.
The base URL must end in /v1, with nothing after it, and the provider must be "OpenAI Compatible", not "OpenAI".
Every request comes back 401.
The key is missing, mistyped, or an old provider key is still set and wins. Paste your Flux key again and remove any other provider key from this config.
Requests come back 402.
Your account has reached its spend ceiling. Add funds or raise the ceiling in your Flux account, then try again.

More fixes: my tool won’t connect.

Try this next

Translate the app
Translate the app into six languages, check that the tone reads naturally, and open a PR.

Some steps in this job use abilities that are still shipping, so Cline does part of it today.