Resources

Documentation

Everything you need to integrate OpenClaw with Toolklaw.

Sections4 groups
Code samples15+
UpdatedWeekly

Start Here

Five-minute quickstart

Get your first agent running on Toolklaw.

1

Sign up

Go to /pricing and choose a plan. Free plan works great to start.

2

Get an API key

In your dashboard, go to Settings → API Keys and create a new key. Copy it.

3

Configure OpenClaw

Use the setup wizard or add this to your OpenClaw config:

{ "provider": "toolklaw", "model": "tk_claw", "api_key": "tkc_live_...", "routing_mode": "assistant" }
4

Deploy your agent

Start your OpenClaw gateway. Send a message to your agent. Watch it work at micro-cent costs.

5

Monitor usage

Check your dashboard Overview → Credit Balance to see real-time usage and costs.

Concepts

Key ideas to understand

Before you dive deep, learn these foundations.

Models

Four inference lanes

tk_router for classification. tk_claw for routine work. tk_control for structured output. tk_ultra for hard reasoning.

Read more →
Routing Modes

Choose your behavior

Assistant mode: auto-escalate on low confidence. Operator mode: escalate for structured output. Builder: never escalate.

Read more →
Credits

How billing works

1 credit = $0.001. Included credits per plan. Unused credits roll over 60 days. Top-ups anytime.

Read more →
BYO Premium

Connect your own API key

OAuth or manual API key. Escalation charges bill to your account. Toolklaw takes zero markup.

Read more →
Budget Controls

Spend caps prevent surprises

Set max per-turn cost and daily premium budget. Agent fails gracefully when limits hit.

Read more →
Escalation Policy

When to go premium

Confidence threshold, structured output requirements, safety gates — you control the rules.

Read more →

Examples

Code samples to copy

Working examples for common patterns.

Python SDK

from toolklaw import Toolklaw client = Toolklaw(api_key="tkc_live_...") response = client.models.create( model="tk_claw", prompt="Fetch user {id} FAQ", routing_mode="operator" ) print(response.output) print(f"Cost: {response.credits_used} credits")

REST API

curl -X POST https://api.toolklaw.com/v1/messages \ -H "Authorization: Bearer tkc_live_..." \ -d '{ "model": "tk_claw", "messages": [{"role": "user", "content": "..."}], "routing_mode": "assistant" }'

OpenClaw Config

provider: name: toolklaw model: tk_claw api_key: tkc_YOUR_API_KEY_HERE routing: mode: operator max_per_turn_cents: 2 daily_premium_cap: 300 byo_provider: gpt byo_threshold: 0.7

Status

Infrastructure health

Real-time status and historical uptime.

API Uptime99.99%30-day average
P95 Latency145msUS regions
Incidents (30d)0No outages

Help

Get support

We're here to help. Pick your channel.

Docs

Search the guides

Most questions are answered in the docs. Try searching for your error or use case.

Email Support

support@toolklaw.com

Email us anytime. We respond within 24 hours (usually much faster).

Send Email →
Discord Community

Get help from operators

Join 5,000+ OpenClaw operators. Real-time chat. Share what you're building.

Join Discord →
GitHub Issues

Bug reports and features

Found a bug? Have a feature request? File an issue on GitHub.

GitHub →
Office Hours

Talk to the team

Tuesdays at 10am PT. Office hours with Toolklaw engineers. Ask anything.

Register →
FAQ

Answers to common questions

Pricing, billing, routing, privacy — answered. Check the FAQ.

Read FAQ →

Ready to get started?

Pick a plan. Deploy your agent. Watch the costs drop.