Skip to main content
No single model is best at everything. Fabro lets you assign the right model to each workflow step — cheap, fast models for boilerplate, frontier models for hard reasoning, and a different provider for cross-critique so the reviewer brings fresh eyes. When a provider goes down, Fabro can fail over automatically.
Ensemble workflow: fan out to Opus and Gemini Pro, merge, then synthesize

Model catalog

ModelProviderAliasesContextCost (in/out per Mtok)Speed
claude-fable-5anthropicfable, claude-fable1M10.00/10.00 / 50.00n/a
claude-opus-4-8anthropicopus, claude-opus1M5.00/5.00 / 25.0025 tok/s
claude-opus-4-7anthropic1M5.00/5.00 / 25.0025 tok/s
claude-opus-4-6anthropic1M5.00/5.00 / 25.0025 tok/s
claude-sonnet-4-6anthropicsonnet, claude-sonnet200K3.00/3.00 / 15.0050 tok/s
claude-sonnet-4-5anthropic200K3.00/3.00 / 15.0050 tok/s
claude-haiku-4-5anthropichaiku, claude-haiku200K0.80/0.80 / 4.00100 tok/s
gpt-5.4openaigpt54, gpt5, codex272K2.50/2.50 / 15.0070 tok/s
gpt-5.5openaigpt55272K5.00/5.00 / 30.0070 tok/s
gpt-5.5-proopenaigpt55-pro1M30.00/30.00 / 180.0020 tok/s
gpt-5.4-miniopenaigpt54-mini, codex-spark272K0.75/0.75 / 4.50140 tok/s
gpt-5.4-proopenaigpt54-pro1M30.00/30.00 / 180.0020 tok/s
gemini-3.1-pro-previewgeminigemini-pro1M2.00/2.00 / 12.0085 tok/s
gemini-3.1-pro-preview-customtoolsgeminigemini-customtools1M2.00/2.00 / 12.0085 tok/s
gemini-3.5-flashgeminigemini-35-flash1M1.50/1.50 / 9.00150 tok/s
gemini-3-flash-previewgeminigemini-flash1M0.50/0.50 / 3.00150 tok/s
gemini-3.1-flash-litegeminigemini-flash-lite, gemini-3.1-flash-lite-preview1M0.25/0.25 / 1.50200 tok/s
kimi-k2.5kimikimi262K0.60/0.60 / 3.0050 tok/s
glm-4.7zaiglm, glm4203K0.60/0.60 / 2.20100 tok/s
minimax-m2.5minimaxminimax197K0.30/0.30 / 1.2045 tok/s
mercury-2inceptionmercury131K0.25/0.25 / 0.751000 tok/s
Each provider requires its own API key. Server-backed workflows read provider credentials from the server vault (for example ANTHROPIC_API_KEY, OPENAI_API_KEY, or GEMINI_API_KEY set with fabro secret set or fabro provider login). Standalone SDK/CLI flows can opt into env-backed credential sources explicitly. See the Quick Start for setup. Claude Fable 5 is available as an explicit model but is not the default Anthropic model. If Fable refuses a request, Fabro reports the refusal as a content-filter LLM error and applies the configured run.model.fallbacks chain when one is present.

Configuring providers and models

Fabro’s catalog starts with the built-in providers and models, then merges any [llm] entries from settings. Provider and model IDs are strings, so a server or project can add an OpenAI-compatible provider without a Fabro release.
settings.toml
[llm.providers.proxy]
display_name = "Acme Gateway"
adapter = "openai_compatible"
base_url = "https://llm-gateway.example.com/v1"
aliases = ["gateway"]

[llm.providers.proxy.auth]
credentials = ["env:ACME_GATEWAY_API_KEY", "vault:ACME_GATEWAY_API_KEY"]

[llm.providers.proxy.extra_headers]
x-portkey-api-key = { env = "PORTKEY_API_KEY" }
x-portkey-config = { literal = "@bedrock-prod" }

[llm.models."team-code-large"]
provider = "proxy"
api_id = "provider-wire-model-name"
agent_profile = "anthropic"
display_name = "Team Code Large"
family = "team-code"
default = true
small_default = true
aliases = ["team-code"]
estimated_output_tps = 80

[llm.models."team-code-large".limits]
context_window = 200000
max_output = 32000

[llm.models."team-code-large".features]
tools = true
reasoning = true
reasoning_effort = "levels"
prompt_cache = true
effort = true

[llm.models."team-code-large".controls]
reasoning_effort = ["low", "medium", "high"]
speed = ["fast"]

[llm.models."team-code-large".costs]
input_cost_per_mtok = 1.50
output_cost_per_mtok = 8.00
cache_input_cost_per_mtok = 0.30

[llm.models."team-code-large".costs.speed.fast]
input_cost_per_mtok = 3.00
output_cost_per_mtok = 16.00
cache_input_cost_per_mtok = 0.60
For LiteLLM, Fabro ships a disabled provider entry. Enable it in settings and declare the models your proxy exposes:
settings.toml
[llm.providers.litellm]
enabled = true
base_url = "http://localhost:4000/v1"

[llm.models."litellm-gpt-5"]
provider = "litellm"
api_id = "gpt-5"
display_name = "LiteLLM GPT-5"
family = "litellm"
default = true

[llm.models."litellm-gpt-5".limits]
context_window = 128000
max_output = 8192

[llm.models."litellm-gpt-5".features]
tools = true
vision = false
reasoning = false
api_id is the model name sent to the provider API. Omit it when the Fabro model ID and provider model ID are the same. Model roles are separate: default = true controls normal model selection for workflow execution, while small_default = true marks the provider’s small/cheap utility model for metadata tasks such as generated run titles. If a provider has no small default, Fabro falls back to that provider’s normal default. Provider auth is declared in [llm.providers.<id>.auth] with ordered env:<NAME> or vault:<NAME> refs. The primary auth header defaults to bearer; override with header = { custom = "Header-Name" } for providers like Anthropic that use x-api-key. Omit the [llm.providers.<id>.auth] block entirely for providers that need no API key (e.g. Ollama). Custom headers for any provider — including providers that need only typed headers and no API-key auth — go in extra_headers as { env = "NAME" }, { vault = "NAME" }, or { literal = "value" }. Provider agent_profile defaults from adapter and controls profile-specific behavior such as project-memory filenames, CLI/ACP command selection, and native session routing. Valid values are anthropic, openai, and gemini; model-level values override provider-level values. Provider billing_policy defaults from adapter and controls usage-cost estimation. Use openai, anthropic, gemini, or none.
Provider fields in configuration, APIs, and model routing are provider ID strings. Built-in names like anthropic, openai, and gemini still work, but custom IDs like proxy work anywhere a provider ID is accepted.

Ollama

Fabro ships an Ollama provider definition that is disabled by default. Enable it in settings when you want Fabro to route through a local Ollama server:
settings.toml
[llm.providers.ollama]
enabled = true
Enabling the provider alone does not expose any models — until #267 adds auto-discovery, add explicit [llm.models.<id>] blocks for each Ollama model you have pulled locally. Ollama’s OpenAI-compatible endpoint accepts any bearer token, so local users can set OLLAMA_API_KEY=ollama.

Default models

When no model or provider is specified, Fabro checks configured provider credentials and chooses the first configured provider by catalog priority. If no provider credentials are configured, it uses the catalog’s global default model. Each provider has a default model:
ProviderDefault model
anthropicclaude-sonnet-4-6
openaigpt-5.5
geminigemini-3.5-flash
kimikimi-k2.5
zaiglm-4.7
minimaxminimax-m2.5
inceptionmercury

Using models in workflows

Assign models to workflow nodes using model stylesheets, which use a CSS-like syntax:
example.fabro
digraph Example {
    graph [
        model_stylesheet="
            *        { model: claude-haiku-4-5; }
            .coding  { model: claude-sonnet-4-5; reasoning_effort: high; }
            #review  { model: gemini-3.1-pro-preview; }
        "
    ]

    spec     [label="Write Spec"]
    implement [label="Implement", class="coding"]
    review   [label="Review"]
}
This routes the spec node to Haiku (the default), implementation to Sonnet, and review to Gemini Pro.

Overriding the default model

Model stylesheets set per-node models inside the workflow graph, but you can also override the default model for an entire run. This is useful for quick experimentation or when you want to swap models without editing the Graphviz file.

CLI flags

Pass --model and optionally --provider to fabro run:
fabro run docs/internal/demo/01-hello.fabro --model claude-opus-4-6
fabro run docs/internal/demo/04-pipeline.fabro --model gemini-3.1-pro-preview
These flags set the default model for all nodes that don’t have an explicit model assigned via a stylesheet. The provider is automatically inferred from the model catalog — you only need --provider for models not in the catalog or to force a specific provider.

Run config TOML

For repeatable runs, set the model in a run config file:
run.toml
_version = 1

[workflow]
graph = "implement.fabro"

[run]
goal = "Implement the feature"

[run.model]
name = "claude-sonnet-4-5"
fallbacks = ["gemini", "openai"]
Then launch with:
fabro run run.toml
The fallbacks array is optional. Each entry may be a bare provider token (like "gemini"), a bare model alias (like "gpt-5.4"), or a qualified "provider/model" reference. Fabro tries them in order when the primary provider is unavailable.
The precedence order is: node-level stylesheet > run config TOML > CLI flags > server defaults. More specific settings always win.

CLI commands

List models

View all available models, or filter by provider:
fabro model list
fabro model list --provider anthropic
fabro model list --query codex

Test models

Verify that your API keys are working by sending a test prompt to each configured provider:
fabro model test
fabro model test --model claude-sonnet-4-5
fabro model test --provider openai
This is useful for confirming connectivity after setup or when adding a new provider key.