Docs

API Documentation

Use the Strongwall API with your existing OpenAI or Anthropic Claude clients.

Overview

Strongwall provides API endpoints compatible with both the OpenAI Chat Completions API and the Anthropic Claude Messages API. You can use your existing client libraries by simply changing the base URL and API key.

Currently serving: kimi-k2.5

Authentication

Generate an API key from your account settings (Settings → API). Include your API key in requests using the Authorization header:

Authorization: Bearer your_api_key_here

OpenAI-Compatible API

Endpoint: https://api.strongwall.ai/v1/chat/completions

Use this endpoint with any OpenAI-compatible client. The request format follows the OpenAI Chat Completions API specification, including support for tools and function calling.

Example Request

curl https://api.strongwall.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your_api_key_here" \
  -d '{
    "model": "kimi-k2.5",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://api.strongwall.ai/v1",
    api_key="your_api_key_here"
)

response = client.chat.completions.create(
    model="kimi-k2.5",
    messages=[{"role": "user", "content": "Hello!"}]
)

print(response.choices[0].message.content)

Anthropic Claude-Compatible API

Endpoint: https://api.strongwall.ai/v1/messages

Use this endpoint with Anthropic Claude clients, including Claude Code. The request format follows the Anthropic Messages API specification.

Example Request

curl https://api.strongwall.ai/v1/messages \
  -H "Content-Type: application/json" \
  -H "x-api-key: your_api_key_here" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "kimi-k2.5",
    "max_tokens": 1024,
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

Claude Code Setup

To use Strongwall with Claude Code, set the following environment variables before running claude:

export ANTHROPIC_BASE_URL=https://api.strongwall.ai/
export API_TIMEOUT_MS=600000
export ANTHROPIC_SMALL_FAST_MODEL=kimi-k2.5
export ANTHROPIC_MODEL=kimi-k2.5
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
export ANTHROPIC_AUTH_TOKEN=<your API key here>

Rate Limits and Priority

For a limited time, Strongwall.ai is offering uncapped API usage to subscribers.

Requests are scheduled based on your 24-hour token usage. Lower usage results in higher priority. There are no hard rate limits, but high-usage accounts may experience longer queue times during peak periods.

Streaming

Streaming responses are not currently supported. All requests return complete responses.

Support

For API support, contact support@strongwall.ai.