Skip to main content
Built for real engineering decisions

AI Model & API Guides

Source-linked guidance for AI models, API integration, and developer workflows—turning fast-changing prices, quotas, capabilities, and limits into decisions you can verify.
  • Primary sources first
  • Reproducible steps and failure boundaries
  • Volatile facts carry review dates
  • 489 articles
  • 6 languages
  • 12 topics
  • Updated Oct 5, 2026

OpenClaw context overflow showing system instructions, tools, files, conversation history, and tool output
LatestTroubleshooting

Fix OpenClaw context_length_exceeded and Failed Compaction

For a large OpenClaw session, save the task state and try supported manual compaction. If the summary request also exceeds its limit, resume in a fresh session from a short record of completed work. Fresh-session failures require checking fixed overhead and the local model's loaded context.

15 min
OpenClaw 429 troubleshooting illustration showing provider limits, ClawHub downloads, cooldown, fallback routes, and context pressure
Troubleshooting

Fix OpenClaw 429 Rate Limit Errors: Wait, Recover, or Use a Fallback

When OpenClaw reports a 429, pause extra requests and identify whether the rejection came from the model provider or ClawHub. Wait for a temporary limit, repair exhausted quota or access, and check whether the current selection permits fallback. Preserve completed work before continuing.

13 min
Original illustration of a paid Gemini project receiving a zero free-tier quota error
Troubleshooting

Gemini API Paid Tier Getting free_tier_requests Limit 0: What to Fix

A paid Gemini project can still return free_tier_requests limit 0 if the running app uses another project's key, billing setup is incomplete, or the requested model has no usable allowance. Match the request to AI Studio's project, billing status, and active model limits before retrying or replacing keys.

12 min
Conceptual illustration of a failed automatic recharge and a separate manual funding path for OpenAI API credits.
API Guides

OpenAI API Auto Recharge Failed: Restore Access and Check the Cause

If OpenAI API auto recharge fails, restore the correct organization's balance, then check the payment attempt, saved settings, and monthly recharge cap. A successful manual top-up restores funds but does not prove automatic recharge is working.

9 min
OpenClaw authentication troubleshooting overview separating invalid bearer tokens, missing headers, and agent credential problems
Troubleshooting

Fix OpenClaw 401 Errors: Invalid Bearer Token and Missing Auth Header

For an OpenClaw 401, first identify who rejected the request. An invalid provider token, a missing outgoing auth header, and a Gateway or device-token mismatch require different fixes. Check the failing agent and session before replacing credentials.

12 min
Illustration of an OpenClaw invalid beta flag error and provider troubleshooting
Troubleshooting

Fix OpenClaw Invalid Beta Flag: Find the Rejected Header and Repair Its Route

Repair an OpenClaw invalid beta flag error by identifying which feature header the selected provider rejected and where it was added. Remove an unsupported optional flag, or repair the required feature's route, then confirm both configuration loading and a completed request.

11 min
OpenClaw connected to local Ollama models and hosted model providers
Developer Tools & Agents

OpenClaw LLM Setup: Connect Local Models, Cloud Providers, and Fallbacks

Run OpenClaw onboarding on the Gateway host, connect the provider or local server, then select an exact model from its catalog. Verify both a short reply and a harmless tool task. Configured defaults can use fallbacks; a manually pinned chat model remains strict.

15 min