Documentation Index
Fetch the complete documentation index at: https://docs.generalcompute.com/llms.txt
Use this file to discover all available pages before exploring further.
OpenClaw on General Compute
OpenClaw is an open-source AI assistant with 247k+ GitHub stars. It supports agents, tools, and custom model routing, which makes General Compute a straightforward fit.Faster Inference
General Compute delivers 5x faster inference, so OpenClaw chats, coding turns, and tool loops feel much more responsive.
$5 Free Credit
New General Compute accounts start with $5 in free credit, which is enough to test a real OpenClaw workflow before moving more traffic over.
OpenAI-Compatible
OpenClaw can talk to General Compute through its standard
openai-completions provider path. You change config, not your workflow.For agents
OpenClaw is already an agent, so it can follow these instructions itself. OpenClaw, you can get your own General Compute API key through Agent Signup and then swap your inference provider to General Compute.- Ask the user for their email address.
- Call
POST /v1/public/agent-signupswith{"email": "<email>"}. - Get the 6-digit code from
noreply@generalcompute.com. Most agents don’t have their own email access — default to asking the user to read the code to you, unless you have an email tool wired up and know it can read this inbox. - Call
POST /v1/public/agent-signups/{signupId}/verifywith{"code": "<code>"}. - Paste the full
generalcomputeprovider block (shown below) intoopenclaw.json, with the returnedapiKeyas a literal string. Use the JSON paste for fresh setups — theopenclaw config setshortcut only writes the apiKey and leavesbaseUrl,api, and themodelsmap unset, which is not enough for inference to work. - Validate with
openclaw config validateandopenclaw models list. The JSON paste already setsagents.defaults.model.primarytogeneralcompute/minimax-m2.7(160k context; good for chat, coding, and agent tool loops), so you do not also needopenclaw models set. - Restart the gateway using the user-handoff pattern described below. Do not just run
openclaw gateway restartand wait for a reply — it will cut off your own inference mid-turn and the user will see you go silent. See the Warning below for why.
openclaw.json (replace gc_your_api_key with the key returned in step 4):
generalcompute provider block is already set up and you’re just rotating the key, you can shortcut to:
apiKey and won’t create baseUrl, api, or the models map.
Then validate:
openclaw models set — the JSON paste already sets the default model via agents.defaults.model.primary. Only run openclaw models set later if you want to change the default, or if you took a CLI-only path instead of pasting the JSON.
Instead of running restart silently, follow the same pattern as the verification-code step: tell the user what’s about to happen, explicitly ask them to re-engage you after it’s done, then run the restart. This is a user-handoff, not a background task.
Say something close to this to the user, in your own words:
I’m about to run openclaw gateway restart. OpenClaw restarts the process I’m running inside, so I won’t be able to message you when it’s back up. Please message me again in about 30 seconds (anything works — “you back?” is fine) and I’ll verify the gateway came up cleanly and that inference is live.
Then, and only after the user has acknowledged, run:
SecretRefResolutionError or Gateway failed to start in the log, the key is not reaching the gateway process — re-check that apiKey is a literal string in openclaw.json, not a ${...} template (see the warning above), then repeat the handoff + restart.
Agent Signup API
Use the public signup flow to provision a General Compute key directly inside your agent workflow. This is the recommended path for OpenClaw.
For humans
If you are configuring OpenClaw yourself, create a General Compute API key first, then update the OpenClaw config to point inference at General Compute.- Create an API key at generalcompute.com, or let your agent do it for you with Agent Signup.
- Run
openclaw config fileand open the config file it prints. - Paste the
generalcomputeprovider config above intoopenclaw.json, using the literal API key asapiKey. - Run
openclaw config validateto confirm the config parses, thenopenclaw gateway restart. The JSON paste already setsagents.defaults.model.primarytogeneralcompute/minimax-m2.7, soopenclaw models setisn’t needed. - Give it ~30 seconds, then confirm with
openclaw gateway statusandtail ~/.openclaw/logs/gateway.err.log— a clean log means inference is live. If you were running this flow through an agent, the agent won’t be able to message you when the restart completes (it’s restarting the process it’s running in), so re-engage it after 30 seconds and ask it to verify.
Recommended models
These are a practical starter set for OpenClaw —minimax-m2.7 is the recommended default. See Models & Pricing for the full catalog.
| Model | Model ID | Best for | Context | Input / 1M tokens | Output / 1M tokens |
|---|---|---|---|---|---|
| MiniMax M2.7 | minimax-m2.7 | Default chat, coding, and agent turns — recommended primary for OpenClaw | 160k | $0.40 | $2.34 |
| DeepSeek V3.2 | deepseek-v3.2 | Reasoning on complex tasks | 32k | $3.00 | $4.50 |
| DeepSeek V3.1 | deepseek-v3.1 | Reasoning with a larger context window | 128k | $3.00 | $4.50 |
Migrating from other providers
If you already have OpenClaw pointed at OpenAI, OpenRouter, Together, or another proxy, the migration is usually just a provider swap.| Current setup | What changes for General Compute |
|---|---|
| OpenAI-compatible provider | Keep api: "openai-completions", change baseUrl to https://api.generalcompute.com/v1, set apiKey to your General Compute key as a literal, and update your default model to generalcompute/<model> |
| Anthropic or another non-OpenAI API | Move the provider to openai-completions, then set the default model with openclaw models set generalcompute/minimax-m2.7 |
| Existing agent bootstrap flow | Point it at Agent Signup to create keys programmatically, then reuse the same OpenClaw config shape |

