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.
| Property | Value |
|---|---|
| Provider id | baseten |
| Plugin | official external package (@openclaw/baseten-provider) |
| Auth env var | BASETEN_API_KEY |
| Onboarding flag | --auth-choice baseten-api-key |
| Direct CLI flag | --baseten-api-key <key> |
| API | OpenAI-compatible (openai-completions) |
| Base URL | https://inference.baseten.co/v1 |
| Default model | baseten/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 ref | Input | Context | Max output |
|---|---|---|---|
baseten/deepseek-ai/DeepSeek-V4-Pro | text | 262k | 262k |
baseten/zai-org/GLM-4.7 | text | 200k | 200k |
baseten/zai-org/GLM-5 | text | 202k | 202k |
baseten/zai-org/GLM-5.1 | text | 202k | 202k |
baseten/zai-org/GLM-5.2 | text | 524k | 262k |
baseten/zai-org/GLM-5.2-Fast | text | 524k | 262k |
baseten/thinkingmachines/inkling | text, image | 1.048M | 32k |
baseten/moonshotai/Kimi-K2.5 | text, image | 262k | 262k |
baseten/moonshotai/Kimi-K2.6 | text, image | 262k | 262k |
baseten/moonshotai/Kimi-K2.7-Code | text, image | 262k | 262k |
baseten/nvidia/Nemotron-120B-A12B | text | 202k | 202k |
baseten/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B | text | 202k | 202k |
baseten/openai/gpt-oss-120b | text | 128k | 128k |
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_KEYis visible to that process. A key set only in an interactive shell won't be seen by a managed service that's already running.
Related
-
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.