OpenClaw guide

Use China model APIs inside OpenClaw.

OpenClaw users still need a working model provider key. gogogoapi gives them a prepaid China model API route that can be added as an OpenAI-compatible provider.

What users should understand first

OpenClaw is the agent layer. gogogoapi is the model API and billing layer. The OpenClaw app sends model requests through your gogogoapi key, and gogogoapi deducts prepaid credits after each completed call.

Provider type
OpenAI-compatible or custom OpenAI provider
Base URL
https://www.gogogoapi.com/api/v1
API key
Your gogogoapi dashboard API key
Chat path
/chat/deepseek
Model
deepseek-v4-flash or deepseek-v4-pro
Billing
gogogoapi quote, stream, then settle from prepaid credits

Fund API credits

Sign in to gogogoapi, buy prepaid USD credits with USDT or USDC, and confirm the balance appears in your dashboard.

Create a backend key

Create an API key in the dashboard. Keep it server-side; do not paste it into public client code.

Add provider in OpenClaw

In OpenClaw, choose an OpenAI-compatible or custom model provider and enter the gogogoapi base URL and API key.

Run a test prompt

Send a short prompt first, then raise the output budget once the route and billing flow are confirmed.

Provider settings
# Use these values when OpenClaw asks for an OpenAI-compatible provider.
OPENAI_BASE_URL=https://www.gogogoapi.com/api/v1
OPENAI_API_KEY=$GOGOGOAPI_KEY

# Chat endpoint path
/chat/deepseek
Test gogogoapi first
curl https://www.gogogoapi.com/api/v1/chat/deepseek \
  -H "Authorization: Bearer $GOGOGOAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-flash",
    "messages": [
      { "role": "user", "content": "Reply with one sentence." }
    ],
    "maxCompletionTokens": 128
  }'

Visual setup checklist

Follow this screen-by-screen sequence when matching OpenClaw provider fields to your gogogoapi account.

1
OpenClaw provider page

Create a new OpenAI-compatible provider instead of editing a built-in provider.

2
Paste base URL

Use https://www.gogogoapi.com/api/v1 without adding /chat/deepseek here unless OpenClaw asks for a path separately.

3
Paste API key

Use the server-side key created in the gogogoapi dashboard.

4
Pick a model

Start with deepseek-v4-flash, then switch to deepseek-v4-pro for higher quality runs.

5
Run a short test

Use a one-sentence prompt and 128 output tokens before long agent tasks.

Recommended support copy

For OpenClaw, add gogogoapi as an OpenAI-compatible provider. Use base URL https://www.gogogoapi.com/api/v1, paste your gogogoapi dashboard API key, set the chat path to /chat/deepseek, and choose deepseek-v4-flash for the first test run.

API docs

Troubleshooting

401

Check that the OpenClaw provider is using Bearer auth with the gogogoapi key.

402

Buy credits or lower the output budget before running the agent again.

404

Use the chat route /api/v1/chat/deepseek, not the dashboard URL.

Slow first run

Test with a short prompt and 128 output tokens before long agent tasks.

Ready to build

Sign in, buy credits, create an API key.

Use the dashboard to fund USD credits with USDT or USDC, create a backend key, and send your first China model API request.

Open dashboard