cat ~/.openclaw/openclaw.json | jq -r .models{
"mode": "merge",
"providers": {
"bedrock": {
"baseUrl": "https://bedrock-runtime.us-east-1.amazonaws.com",
"apiKey": "${AWS_BEARER_TOKEN_BEDROCK}",
"api": "bedrock-converse-stream",
"auth": "api-key",
"authHeader": true,
"models": [
{
"id": "openai.gpt-oss-120b-1:0",
"name": "GPT OSS",
"reasoning": true,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 262144,
"maxTokens": 8192
}
]
}
}
}% cat ~/.openclaw/openclaw.json | jq -r .agents.defaults{
"model": {
"primary": "bedrock/openai.gpt-oss-120b-1:0"
},
"models": {
"bedrock/openai.gpt-oss-120b-1:0": {
"alias": "gpt-oss-120b"
}
},
...
}# generate Bedrock API KEY at https://console.aws.amazon.com/bedrock/home#/api-keys
export AWS_BEARER_TOKEN_BEDROCK=xxxxxxxxx
openclaw gateway run --verbose // make sure no errorsNow when you type /new in Telegram, you should see
✅ New session started · model: bedrock/openai.gpt-oss-120b-1:0Then it works!
qwen3-coder is having some func calling issue in OpenClaw.
Consider to opt in
openai.gpt-oss-120b-1:0with the same pricing rate.