From 3a35f9421ab7ff5ab0aff9a88a27cd6df8029775 Mon Sep 17 00:00:00 2001 From: Raina Zhong Date: Fri, 13 Nov 2026 11:22:38 +0800 Subject: [PATCH] docs(cli): clarify custom pricing file behavior Signed-off-by: Raina Zhong --- docs/cli_reference.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/cli_reference.md b/docs/cli_reference.md index 7ecb3023e6..665eba0859 100644 --- a/docs/cli_reference.md +++ b/docs/cli_reference.md @@ -20,12 +20,15 @@ switchyard-server --config [options] | `--shutdown-timeout SHUTDOWN_TIMEOUT` | `30s` | Maximum time active requests may drain during shutdown. | | `--dry-run` | Off | Validate the deployment without binding a socket. | | `--routing-log-file PATH` | None | Append durable per-request routing records to this JSONL file. | -| `--pricing-file PATH` | None | Estimate unreported call costs from this JSON file of USD rates per million tokens; requires `--routing-log-file`. | +| `--pricing-file PATH` | None | Estimate unreported call costs from a TOML or JSON file of USD rates per million tokens; requires `--routing-log-file`. | | `--tls-cert PATH` | None | PEM certificate path; requires `--tls-key`. | | `--tls-key PATH` | None | PEM private-key path; requires `--tls-cert`. | | `-h, --help` | — | Print command help. | | `-V, --version` | — | Print the server version. | +Saved routing records use bundled model prices by default. `--pricing-file` replaces +the entire bundled table, so include every model you want to price. + Validate a deployment, then start the proxy: ```bash