Strix

STRIX_LLM, LLM_API_KEY, LLM_API_BASE: one key, every model, billed per token, no subscription.

Checked 2026-10-28

·All guides·Models

At the end you have Strix sending every model call to https://api.uplinkswitch.com/v1 with one API key from the console and any chat model id on the list in STRIX_LLM, the red-team builds included. Each turn bills per token to the prepaid balance behind that key, no subscription, and the live table below is what one Strix turn costs on each model today.

Before you start

You need Strix installed with Docker running (its README lists a running Docker as a prerequisite), an account on the console with credit on it, and one key created there. Create the key for Strix alone, so its spend sits apart from any other tool on the Usage page. Nothing is installed on the UplinkSwitch side: the base URL and the key are the whole configuration.

Where the settings are

Strix reads four environment variables. The OpenAI provider page on docs.strix.ai (read 2026-10-28) gives three: STRIX_LLM for the model, LLM_API_KEY for the key and LLM_API_BASE for an OpenAI-compatible base URL. The local models page adds LLM_EXTRA_HEADERS, a JSON object of headers sent on every request. Strix saves its configuration to ~/.strix/cli-config.json on its own, so you set them once.

The config

Export the four variables, then run Strix against a directory or a URL. The openai/ prefix tells LiteLLM to speak the OpenAI format; the id after the slash is the one from the Models page. The two headers are optional; they name Strix on each request record.

shell
export STRIX_LLM="openai/uplink-red-team-pro"
export LLM_API_KEY="sk-uplink-live-..."
export LLM_API_BASE="https://api.uplinkswitch.com/v1"
export LLM_EXTRA_HEADERS='{"HTTP-Referer":"https://uplinkswitch.ai","X-Title":"Strix"}'
install and first scan
curl -sSL https://strix.ai/install | bash
strix --target ./app-directory

In CI, -n runs headless and --scan-mode quick keeps the run short:

headless
strix -n --target https://staging.example.com --scan-mode quick

Which model id to use

Any chat id on the Models page, with openai/ in front. Tool calling works on every chat model here, and Strix needs it for each command it runs in the sandbox. For offensive work, start with the red-team builds, which are set up for it; for code and pull-request review, the flagship coding models do the same job on the same key.

STRIX_LLM values
openai/uplink-red-team-pro
openai/uplink-red-team-flash
openai/glm-5.3-flash-cybersecurity
openai/claude-sonnet-5-5
openai/gpt-6.1-sol
openai/deepseek-v4-pro-0813

Input price decides the cost of a run, because Strix sends the transcript so far back on every turn; pick by the input column in the table below. Cached input bills at the cache-read rate shown on each model page where the model has one.

What a Strix turn costs

One Strix turn at 8,000 input tokens and 500 output tokens, which is a transcript with a few tool results in it and one step back. Nothing is counted at the cached rate.

ModelInput / 1MOutput / 1MCached input / 1MList inputUnder listOne turn, 8,000 in + 500 out
Uplink Red Team (Pro)$1.50$6.00$0.425——$0.015
Uplink Red Team (Flash)$0.90$3.00$0.1543——$0.0087
GLM-5.3 Flash Cybersecurity$0.4935$1.645$0.2468——$0.0048
Claude Sonnet 5.5$1.164$2.91$0.075$2.0041% on input$0.0108
GPT-6.1 Sol$0.582$2.91$0.0582$2.0070% on input$0.0061
DeepSeek V4 Pro 0813$0.792$1.188$0.0625$1.3240% on input$0.0069

USD per million tokens, live from GET /v1/catalog. List: the developer’s own published price. The last column is the turn above at this base URL, nothing at the cached rate.

A 300-turn engagement on Uplink Red Team (Pro) at that rate is $4.50 before cache reads. The pentest agents post works the same engagement with cache reads counted, next to HackingBuddyGPT and PentestGPT, and the daily real-model check shows each model answering the same prompt once a day with public token counts.

Check it

From a shell, the key should list the models:

shell
curl https://api.uplinkswitch.com/v1/models -H "Authorization: Bearer sk-uplink-live-..."

Then send one request the way Strix does. -i prints the headers: x-uplink-request-id names the request, and on a non-streamed answer x-uplink-charge is what it cost in USD.

shell
curl -i https://api.uplinkswitch.com/v1/chat/completions \
  -H "Authorization: Bearer sk-uplink-live-..." \
  -H "content-type: application/json" \
  -d '{"model": "uplink-red-team-pro", "messages": [{"role": "user", "content": "Say ok."}]}'

Then start a scan. The first turn shows on the console Usage page within seconds, with its tokens and the same charge, searchable by key and filterable by model.

Errors you will see

  • 401 invalid_api_key: LLM_API_KEY is wrong or revoked. Copy it again from the console.
  • 402 insufficient_balance: the balance does not cover the turn. Top up in the console.
  • 402 monthly_limit_reached: the key hit the monthly spend limit you set on it. Raise it in the console, or wait for the first of the month.
  • 404 model_not_found: the id after openai/ is not on the Models page at this base URL. Copy it from the page rather than typing it: a dot, a dash or a suffix out of place is enough. Also check LLM_API_BASE ends in /v1 with nothing after it.
  • 403 scope_denied: the key carries a model allowlist and this id is not on it. Pick an allowed id or use a key without the limit.
  • 429 rate_limited: the key hit its requests-per-minute or concurrency limit. The response carries retry-after in seconds. Wait that long and resend.
  • A bare id in STRIX_LLM: without the openai/ prefix LiteLLM does not know the format. Put the prefix on.

Good to know

  • LLM_EXTRA_BODY takes a JSON object merged into every request body (read 2026-10-28). Leave model, messages and stream out of it; Strix sets those.
  • Set a monthly spend limit on the Strix key in the console, so a long engagement stops at a figure you chose. A model allowlist on the same key keeps Strix on the ids you picked.
  • Keep ~/.strix/cli-config.json and any .env out of the repository you scan. A leaked key spends your balance until you revoke it.
  • The same base URL and key go into Claude Code, Cline and OpenCode. One balance serves all of them; a key per tool keeps the spend apart.

Questions

Yes. Strix routes every model call through LiteLLM, and its docs give the form for an OpenAI-compatible API: STRIX_LLM set to openai/<model id>, LLM_API_KEY set to the key, and LLM_API_BASE set to the base URL ending in /v1 (read 2026-10-28). With https://api.uplinkswitch.com/v1 as the base URL, any chat model on this key answers.

The environment variable that names the model in LiteLLM's provider/model-name format. The provider prefix picks the wire format, and openai/ means the OpenAI chat completions format, which is what this base URL serves. So openai/uplink-red-team-pro or openai/claude-sonnet-5-5 goes in STRIX_LLM, and the part after the slash is the id from the Models page.

Uplink Red Team (Pro) for a full engagement and Uplink Red Team (Flash) for quick scans: both are set up for offensive security work and take the long, tool-heavy turns Strix sends. GLM-5.3 Flash Cybersecurity is the lower-priced option for the same work. For code review and pull-request analysis, Claude Sonnet 5.5, GPT-6.1 Sol and DeepSeek V4 Pro work on the same key. One 8,000-in, 500-out turn on Uplink Red Team (Pro) is $0.015 today.

Strix is open source and the agent itself costs nothing to run. The model is the bill: every turn sends the transcript so far and bills per token to the provider behind LLM_API_KEY. With this key the table above is that bill, drawn from a prepaid balance with no subscription.

A 401 means LLM_API_KEY is wrong or revoked: copy it again from the console. A 404 model_not_found means the id after openai/ is not on the Models page at this base URL, or LLM_API_BASE already ends in /chat/completions. The base URL is https://api.uplinkswitch.com/v1 exactly, with /v1 and nothing after it; LiteLLM adds the path.

Yes. Strix saves its configuration to ~/.strix/cli-config.json on its own, so the next run reads it from there. Keep that file and any .env out of the repository you are scanning, and create a key for Strix alone so a revoked key stops only Strix.

Get a key in the console: prepaid credit, no subscription, 30-day price lock.

Join on Telegram
Help