Docs

How does plugsky-fusion model routing work?

Set model to plugsky-fusion and Plugsky routes each request to a model based on token count, tool use, prompt heuristics and your workspace strategy. Strategies are cost_saver, balanced (the default), max_quality and custom. Rules are evaluated in order, and every request log records the chosen model, strategy and rule that fired.

Key facts

Router modelSet model: "plugsky-fusion"
Strategiescost_saver, balanced, max_quality, custom
InputsToken count, tool calls, prompt heuristics, workspace setting
ScopePer workspace, per API key or per request
OverridesSend a specific model name to bypass routing
AuditLogs record chosen model, strategy and matching rule
Classifier routingPOST /v1/plugsky/route (model=auto) is coming soon
Product statusLive (plugsky-fusion)

TL;DR

  • plugsky-fusion picks a model per request instead of one fixed model.
  • balanced is the default; cost_saver, max_quality and custom change the bias.
  • Set the strategy per workspace, per API key or per individual request.
  • Specific model names bypass routing when you need determinism.
  • Every decision is logged with the model, strategy and rule.

How it works, step by step

  1. Choose a default strategy for the workspace in the dashboard.
  2. Set model to plugsky-fusion in your requests (or per API key).
  3. Add custom rules if your workload has clear markers, such as refactor prompts.
  4. Test routing decisions against a sample of real traffic.
  5. Read the request logs to confirm which rule fired and which model answered.
  6. Override with a fixed model for latency-critical or regulated endpoints.
1Choose a defaultstrategy for theworkspace in the2Set model toplugsky-fusion inyour requests (or3Add custom rules ifyour workload hasclear markers, such4Test routingdecisions against asample of real5Read the requestlogs to confirmwhich rule fired6Override with afixed model forlatency-critical or

Try it yourself

Open the model picker →

How routing decides

When a request arrives with model: "plugsky-fusion", the router inspects the request before inference: input token count and expected output size, whether tools are present and how complex they are, prompt heuristics such as domain, language and length, and the strategy configured for the workspace. It then selects a model from your tier. The router runs inside the API gateway, so there is no extra network hop in your client.

The four strategies

  • cost_saver — picks the cheapest model that can handle the call and falls back to a stronger model on failure.
  • balanced — the default: mid-tier for most calls, cheap for trivial prompts, strong for hard ones.
  • max_quality — always the strongest model available in your tier.
  • custom — evaluates your dashboard rules in order, first match wins.

Strategy can be set per workspace, per API key or per request, which makes it practical to run cost-sensitive batch jobs and quality-sensitive interactive traffic on the same account.

Writing custom rules

Custom rules map a condition to a model. Typical examples from the reference: prompts containing a keyword such as refactor go to a coding model; prompts above 4,000 input tokens go to a long-context or frontier model; traffic from free-plan users goes to a free model; business-hours traffic goes to a stronger default. Rules evaluate in order and the first match wins, so put the most specific conditions first and leave a sensible default for everything else.

Overriding, auditing and caveats

To bypass routing for one call, send a concrete model name instead of plugsky-fusion. Every request log records the chosen model, the strategy and, for custom rules, the rule that fired, so routing is observable rather than magic. One caveat: classifier-based routing through POST /v1/plugsky/route with model=auto is listed as coming soon in the docs and is not accepted by chat completions today. Use plugsky-fusion for production routing now.

Honest comparison

Capabilityplugsky-fusionOne fixed modelSelf-built router
Model choice per requestAutomaticNoneYou write classifiers
Cost controlcost_saver strategyManualCustom logic
Quality controlmax_quality strategyFixedCustom logic
RulesDashboard rules, first match winsNot applicableCode deployments
Audit trailModel, strategy and rule loggedModel onlyYou build logging
MaintenanceManagedNoneOngoing engineering

Frequently asked questions

Does routing add latency?

The router runs inside the API gateway rather than as a separate service, so it does not add a network hop; measure end-to-end latency on your own workload before and after.

Can I override routing per request?

Yes. Send a specific model name such as plugsky-pro and that request bypasses routing entirely.

Can I see routing decisions in logs?

Yes. Every request log includes the chosen model, the strategy and — for custom rules — the rule that matched.

Can I set the strategy per API key?

Yes. Strategy can be set per workspace, per API key or per request; the workspace setting is the default.

Is model=auto supported on chat completions?

No. The classifier-based route endpoint that accepts model=auto is listed as coming soon; chat completions accepts plugsky-fusion or a concrete model name.

What happens if the chosen model fails?

Under cost_saver the router falls back to a stronger model, and the platform's model ladder also cascades to backup profiles when an upstream degrades.

Does routing work with tools and long context?

Yes. Tool presence, complexity and token counts are inputs to the decision, so requests that need tools or large context can be routed to models that support them.

Cite this page

Plugsky (2026). “Model Routing with plugsky-fusion — Full Reference”. Plugsky. Available at: https://plugsky.com/docs/model-routing (last updated 2026-09-25).