Usage and cost tracking
OpenClaw keeps subscription quota and Platform API billing distinct:- ChatGPT/Codex OAuth shows the subscription plan, quota windows, and credit balance.
OPENAI_ADMIN_KEYshows 30 days of provider-reported organization cost and completions usage in Control UI Usage, including daily spend, request/token totals, top models, and cost categories.OPENAI_PROJECT_IDoptionally scopes Admin API history to one project.- OpenClaw never sends
OPENAI_API_KEYor anopenaiinference profile to organization APIs; those credentials may belong to custom, Azure, or agent-local endpoints.
OpenClaw feature coverage
Released GPT-Live browser and Gateway-relay WebRTC try an OpenClaw ChatGPT OAuth
profile first and fall back to Platform API-key auth. Ordinary GA browser
Realtime tries Platform auth first and falls back to OAuth only when no Platform
credential source is configured. Direct backend sockets and unlisted or private
realtime routes require Platform API-key auth.Platform auth is resolved in this order: configured realtime API key,
openai
API-key profile, then OPENAI_API_KEY. Voice Call, Discord realtime voice,
direct backend sockets, unlisted or private realtime routes, and realtime
transcription still require Platform auth.If API-key auth reports missing billing, top up Platform credits at
platform.openai.com/account/billing
for the organization backing your realtime credentials when using API-key
auth. Realtime voice accepts the openai API-key auth profile created by
openclaw onboard --auth-choice openai-api-key, a Platform API key set via
talk.realtime.providers.openai.apiKey for Control UI Talk, or
plugins.entries.voice-call.config.realtime.providers.openai.apiKey for Voice
Call, or the OPENAI_API_KEY environment variable.In Control UI Video Talk with Platform auth, OpenAI WebRTC receives camera context on demand:
when the model calls describe_view, the browser sends one bounded JPEG over
the realtime data channel. OpenClaw does not attach a continuous camera track
to the OpenAI session.Memory embeddings
OpenClaw can use OpenAI, or an OpenAI-compatible embedding endpoint, formemory_search indexing and query embeddings:
queryInputType and documentInputType under memory.search. OpenClaw
forwards these as provider-specific input_type request fields: query
embeddings use queryInputType; indexed memory chunks and batch indexing use
documentInputType. See the
Memory configuration reference
for the full example.