Use OpenClaw with the Straitly API

Use OpenClaw with Straitly in 4 steps: add a straitly provider with baseUrl https://api.straitly.ai/v1 and api openai-completions to ~/.openclaw/openclaw.json. Kimi K3.1 Pro then costs $1.14 in and $5.70 out per 1M tokens, 43% under its list price of $2.00 and $10.00.[1][4]

Updated

What changes in OpenClaw
Setting
~/.openclaw/openclaw.json
Base URL
https://api.straitly.ai/v1
API key
sk-YOUR_KEY
API format
OpenAI-compatible
Connect with
Custom provider

Your prompts, files and workflow stay as they are. From OpenClaw's docs, checked 16 November 2026[1]

OpenClaw in 4 steps.

Replace sk-YOUR_KEY with your own key from the Keys page. Setting lives in ~/.openclaw/openclaw.json, base URL https://api.straitly.ai/v1.

  1. Step 1: Get a Straitly key

    Sign up with email or Google, add credits from $5 (no subscription, no minimum), then create a key on the Keys page. It starts with sk-. Keep it private.

  2. Step 2: Put the key in your environment

    The provider reads the key from STRAITLY_API_KEY, so export it where OpenClaw runs.

    Terminal · Mac / Linux

    export STRAITLY_API_KEY="sk-YOUR_KEY"
  3. Step 3: Add the Straitly provider

    Merge this into ~/.openclaw/openclaw.json (JSON5). The primary model is the provider ID, a slash, then the Straitly model ID.

    ~/.openclaw/openclaw.json

    {
      agents: { defaults: { model: { primary: "straitly/kimi-k3.1-pro" } } },
      models: {
        mode: "merge",
        providers: {
          straitly: {
            baseUrl: "https://api.straitly.ai/v1",
            apiKey: "${STRAITLY_API_KEY}",
            api: "openai-completions",
            models: [{ id: "kimi-k3.1-pro", name: "Kimi K3.1 Pro" }],
          },
        },
      },
    }
  4. Step 4: Send a message

    OpenClaw watches the file and applies the change. Open a new chat and send a short message.

Checked against OpenClaw's own docs, 16 November 2026

Config names and menu paths match these pages as of the date shown. If OpenClaw changes them, its docs win.

Or do it in one paste.

Straitly's setup command makes the same change for you and keeps a copy of your old settings. Paste it in a terminal, not inside OpenClaw. The full walkthrough with screenshots is in the OpenClaw docs guide.

One paste · Mac / Linux (curl)

curl -fsSL "https://straitly.ai/setup/openclaw" | STRAITLY_API_KEY="sk-YOUR_KEY" sh

What happens to a OpenClaw request?

Two settings change in OpenClaw: where requests go and which key pays for them. Everything else, from your prompts to your workflow, stays as it is.

  1. OpenClaw, as it is

    Your prompts, files and workflow stay as they are. The request leaves in the same format as before.

  2. One address, one key

    It goes to https://api.straitly.ai/v1 with your Straitly key. That is the whole setup.[1]

  3. The same models

    The key reaches 117 models. You ask for each one by its model ID.[5]

  4. A smaller bill

    Kimi K3.1 Pro for 10M input tokens and 1M output tokens costs $17.10 against $30.00 at list.[4]

OpenClaw on Straitly in numbers
4
Steps to connect OpenClaw[1]
40%
Straitly under the provider's list price, on most models[3]
$17.10
Kimi K3.1 Pro for 10M input tokens and 1M output tokens, against $30.00 at list[4]
117
Models one key reaches from OpenClaw[5]
$5
Smallest top-up. No subscription and no minimum[5]
$0
Charged for failed requests[3]
98 of 103
Models with a list price that are at least 40% under it[4]
134 of 145
Models priced under the lowest OpenRouter seller[4]

What should you know before relying on it?

  1. The one-paste setup writes a separate ~/.openclaw/straitly.json and keeps the key in OpenClaw's secret store, so your existing settings stay as they are.

  2. Add more models to the models list to see them in OpenClaw's picker.

What does OpenClaw cost on Straitly?

USD per 1M tokens, input / output

ModelList priceVs listVs OpenRouterStraitly
Kimi K3.1 Prokimi-k3.1-pro43% lower vs list, n/a vs OpenRouter. Session $30.00 at list, $17.10 here.$2.00 / $10.00$30.00 for the session43% lowern/a$1.14 / $5.70$17.10 for the session
Kimi K3moonshotai/kimi-k349% lower vs list, 11.2% higher vs OpenRouter. Session $45.00 at list, $22.95 here.$3.00 / $15.00$45.00 for the session49% lower11.2% higher$1.53 / $7.65$22.95 for the session
Qwen3.8 Maxqwen/qwen3.8-max40% lower vs list, 53.1% lower vs OpenRouter. Session $21.45 at list, $12.87 here.$1.65 / $4.95$21.45 for the session40% lower53.1% lower$0.99 / $2.97$12.87 for the session
Claude Sonnet 5.5claude-sonnet-5-540% lower vs list, 43.1% lower vs OpenRouter. Session $30.00 at list, $18.00 here.$2.00 / $10.00$30.00 for the session40% lower43.1% lower$1.20 / $6.00$18.00 for the session
OpenAI: GPT-6.2 Solgpt-6.2-sol40% lower vs list, n/a vs OpenRouter. Session $30.00 at list, $18.00 here.$2.00 / $10.00$30.00 for the session40% lowern/a$1.20 / $6.00$18.00 for the session

From the public catalog on 25 November 2026[4]. The session is one example workload, 10M input tokens and 1M output tokens. Vs list holds for the input and the output price alike. Vs OpenRouter compares with the lowest OpenRouter seller including its 5.5% credit fee, on a 3:1 input to output mix, as read on 16 November 2026; “higher” means Straitly costs more, and n/a means that read has no figure for the model at this price.

OpenClaw questions.

Ask a question
  • Yes. OpenClaw's docs define custom providers under models.providers with baseUrl, apiKey, api: openai-completions and a models list.
  • ~/.openclaw/openclaw.json, in JSON5. OpenClaw applies edits to it without a restart.
  • Not on 2026-11-16. Straitly charged $1.53 input and $7.65 output per 1M tokens, 49% under list, but the lowest OpenRouter seller came out 11.2% lower on a 3:1 mix.
  • The manual merge adds one provider. The one-paste setup writes a separate straitly.json file and keeps existing settings.

Sources

Setup steps follow OpenClaw's own documentation, read on the date shown. Prices come from Straitly's public catalog.

  1. [1]OpenClaw: custom providersdocs.openclaw.ai, 16 November 2026
  2. [2]OpenClaw: configurationdocs.openclaw.ai, 16 November 2026
  3. [3]Straitly pricingstraitly.ai/pricing, 15 November 2026
All 5 sources
  1. [4]Straitly public catalogstraitly.ai/api/catalog, shown on straitly.ai/models, 25 November 2026
  2. [5]Straitly home pagestraitly.ai, 16 November 2026
What each source says
[1] OpenClaw: custom providers
models.providers.<id> with baseUrl, apiKey, api: openai-completions and models, plus agents.defaults.model.primary.
[2] OpenClaw: configuration
OpenClaw reads JSON5 config from ~/.openclaw/openclaw.json and applies edits to that file.
[3] Straitly pricing
Billed per token at the pooled rate, 40% under the provider's published rate on most models, with nothing added on top. Failed requests cost nothing. No subscription, no minimum.
[4] Straitly public catalog
Every model ID with Straitly's price, the lab's official list price where one is published, and the lowest OpenRouter seller including its 5.5% credit fee.
[5] Straitly home page
One OpenAI-compatible API for 117 models. Sign up with email or Google, top-ups from $5 with no card or platform fee, base URL https://api.straitly.ai/v1, and requests move to another provider serving the same model if one goes down.

Start with one request.

Prepaid, no subscription, no minimum. 40% under list on most models you reach from OpenClaw.