Baseten Provider Setup for Inkling and Model APIs

Learn how to configure the Baseten provider in OpenClaw to access hosted, OpenAI-compatible Model APIs, including the default Inkling model. This guide is for developers integrating Baseten with OpenClaw.

Read this when

  • You want to run Thinking Machines Lab's Inkling in OpenClaw
  • You want one OpenAI-compatible API for Baseten's hosted models

Baseten's Model APIs give hosted, OpenAI-compatible entry points to frontier models. Because the official external plugin relies on authenticated discovery, OpenClaw picks up the full set of models enabled on your Baseten account. When no credentials are present, the offline fallback ships with every Model API that existed at the time this OpenClaw build was released.

PropertyValue
Provider idbaseten
Pluginofficial external package (@openclaw/baseten-provider)
Auth env varBASETEN_API_KEY
Onboarding flag--auth-choice baseten-api-key
Direct CLI flag--baseten-api-key <key>
APIOpenAI-compatible (openai-completions)
Base URLhttps://inference.baseten.co/v1
Default modelbaseten/thinkingmachines/inkling

Install plugin

openclaw plugins install @openclaw/baseten-provider
openclaw gateway restart

Getting started

Create a Baseten account and API key

There is no monthly platform charge on Baseten's Basic plan; Model API usage is billed per call. Head to Baseten API key settings to generate a key, and consult the pricing page for up-to-date rates.

Run onboarding

openclaw onboard --auth-choice baseten-api-key
openclaw onboard --non-interactive --accept-risk --skip-health \
  --auth-choice baseten-api-key \
  --baseten-api-key "$BASETEN_API_KEY"
export BASETEN_API_KEY=...

Verify the live catalog

openclaw models list --provider baseten

When authentication works, the plugin requests GET /v1/models and enumerates every model the account returns. Without auth, it remains offline and relies on the bundled fallback list.

Inkling

The default model is Inkling from Thinking Machines Lab. Within OpenClaw it handles text and image inputs, tool calling, structured tool schemas, adjustable reasoning effort, a context window of 1.048M tokens, and output of up to 32k tokens:

{
  agents: {
    defaults: {
      model: { primary: "baseten/thinkingmachines/inkling" },
    },
  },
}

To switch the active session, use /model baseten/thinkingmachines/inkling -s.

Bundled fallback catalog

The live catalog seen after authentication is the source of truth. Until discovery succeeds, these rows keep configuration and model choice workable:

Model refInputContextMax output
baseten/deepseek-ai/DeepSeek-V4-Protext262k262k
baseten/zai-org/GLM-4.7text200k200k
baseten/zai-org/GLM-5text202k202k
baseten/zai-org/GLM-5.1text202k202k
baseten/zai-org/GLM-5.2text524k262k
baseten/zai-org/GLM-5.2-Fasttext524k262k
baseten/thinkingmachines/inklingtext, image1.048M32k
baseten/moonshotai/Kimi-K2.5text, image262k262k
baseten/moonshotai/Kimi-K2.6text, image262k262k
baseten/moonshotai/Kimi-K2.7-Codetext, image262k262k
baseten/nvidia/Nemotron-120B-A12Btext202k202k
baseten/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55Btext202k202k
baseten/openai/gpt-oss-120btext128k128k

Reasoning and tool calling are supported across all bundled models. OpenClaw translates its thinking levels into native reasoning_effort on models that offer it. Baseten's opt-in GLM, Kimi, and Nemotron models ship with thinking disabled by default; most give a simple off/on toggle, while GLM 5.2 adds off, high, and max. Those choices are relayed via Baseten's chat_template_args.enable_thinking control, and for GLM 5.2 the validated top-level reasoning_effort parameter is used as well.

Note

Model APIs on Baseten can appear, disappear, or change without any connection to OpenClaw releases. The plugin pulls fresh model ids, context caps, output caps, and input, cached-input, and output pricing from the authenticated API, all while keeping model-specific OpenClaw transport policy intact.

Manual config

For most cases the API key alone is enough. To force the provider explicitly:

{
  env: { vars: { BASETEN_API_KEY: "..." } },
  agents: {
    defaults: {
      model: { primary: "baseten/thinkingmachines/inkling" },
    },
  },
  models: {
    mode: "merge",
    providers: {
      baseten: {
        baseUrl: "https://inference.baseten.co/v1",
        apiKey: "${BASETEN_API_KEY}",
        api: "openai-completions",
        models: [
          {
            id: "thinkingmachines/inkling",
            name: "Inkling",
            reasoning: true,
            input: ["text", "image"],
            contextWindow: 1048000,
            maxTokens: 32000,
          },
        ],
      },
    },
  },
}

Note

When the Gateway runs as a daemon (launchd, systemd, Docker), confirm that BASETEN_API_KEY is visible to that process. A key set only in an interactive shell won't be seen by a managed service that's already running.

  • Model providers, Picking providers, model refs, and failover behavior.

  • Thinking modes, Choose OpenClaw reasoning effort levels.

  • Models CLI, Show, inspect, and pick discovered models.

  • Models FAQ, Auth profiles and model-selection troubleshooting.

749 words · updated Aug 17, 2026