OpenClaw Integration Guide

Complete guide to configure OpenClaw AI agent framework with 9flare

🔗 Enter your domain (automatically filled in all examples below):

What is OpenClaw?

OpenClaw is an AI agent framework that allows you to build intelligent agents and chatbots. It supports multiple model providers and can be configured to use 9flare for cost-effective access to premium AI models.

💡 Why use 9flare with OpenClaw? Get access to Claude Opus, Sonnet, Haiku and other premium models at competitive prices, with a free Haiku tier for testing.

Model pro/ và free/

pro/ — Premium models

Đầy đủ Claude Opus, Sonnet, Haiku và các model tiết kiệm. Tính phí theo token, dùng cho mọi tác vụ code và agent.

free/ — Miễn phí

Claude Haiku miễn phí 400 request/ngày. Phù hợp thử nghiệm và các agent không cần model cao cấp.

💡 Gợi ý cho OpenClaw: Dùng pro/ để có model mạnh nhất, hoặc free/ nếu chỉ cần Haiku miễn phí trong hạn mức ngày.

Configuration

Add this configuration to your OpenClaw config file:

json (OpenClaw config)
{
  "models": {
    "providers": {
      "9flare": {
        "baseUrl": "https://9flare.com/v1",
        "apiKey": "flr-your-api-key-here",
        "api": "openai-completions",
        "models": [
          {
            "id": "pro/claude-opus-4-8",
            "name": "Claude Opus 4.8",
            "reasoning": true,
            "input": ["text"],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 1000000,
            "maxTokens": 128000
          },
          {
            "id": "pro/claude-sonnet-4-6",
            "name": "Claude Sonnet 4.6",
            "reasoning": true,
            "input": ["text"],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 1000000,
            "maxTokens": 128000
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "9flare/pro/claude-opus-4-8"
      },
      "models": {
        "9flare/pro/claude-opus-4-8": {}
      }
    }
  }
}
⚠️ Important:
  • Replace flr-your-api-key-here with your actual API key from the Dashboard
  • Model ID format: pro/claude-opus-4-8
  • Use pro/ models for premium quality, or free/ models for the free daily quota

Available Models

Here are some recommended models for OpenClaw:

Model IDNamePrice (1M tokens)Context
pro/claude-opus-4-8Claude Opus 4.8$6.00 / $25.001M
pro/claude-sonnet-4-6Claude Sonnet 4.6$3.00 / $15.001M
pro/claude-haiku-4-5Claude Haiku 4.5$0.50 / $5.00200K

Next Steps

  1. Get your API key from the Dashboard
  2. Copy the configuration above to your OpenClaw config file
  3. Replace flr-your-api-key-here with your actual API key
  4. Choose a pro/ model (or free/ for the free Haiku tier) based on your needs
  5. Start building your OpenClaw agents!