I’m new to using OpenAI API and have been having trouble tracking its usage a lot. Mainly, I can’t find any logs of API usage through OpenClaw.
What I observe:
-
The API key is in usage: I’m being billed for the usage of the API key used by my OpenClaw projects. (Bill is significant and irregular, which is why I’m eager to understand the usage).
-
There are responses: I’ve been getting responses from the API and OpenClaw functions mostly normal. Except:
- it gets very slow sometimes - it can take half a day to get back to me.
- Every success responses comes with a message: "auth or provider access failed for openai-codex. Run /auth openai-codex to refresh credentials; if you already re-authed, switch models/providers because this account may still be blocked for inference. "
-
Other-than OpenClaw usage produced logs correctly: I’ve been using different API keys as well as the same API key for other projects than OpenClaw and the logs showed up correctly
What I have tried:
- browser through different projects and keys in the Logs UI. I can confirm that I’m looking at the correct key, but not seeing any logs.
- Uninstall and reinstall OpenClaw, connect with a brand new API key. No luck.
- Use different CLI as well as the Chat UI on OpenAI, they all produced logs correctly.
Has anyone else got the same issue? Would really appreciate some help and pointers please.

