Skip to main content

LLM Gateway

A unified interface for LLMs — pay with your launch fees or wallet balance.

Access Claude, Gemini, and GPT models through a single API. Every request is tracked, and you can fund usage directly from your token launch fees or authorize payments in ETH, USDC, or BANKR.

Why Bankr LLM Gateway?

FeatureBenefit
Cost TrackingFull visibility into token usage and costs per request
Launch Fee FundingAutomatically allocate a portion of your token launch fees to AI
Flexible PaymentsPay with ETH, USDC, or BANKR — your choice
Multi-ProviderAccess models from Anthropic, Google, OpenAI, Moonshot AI, and Alibaba
High AvailabilityAutomatic failover ensures your agents stay online
SDK CompatibleWorks with OpenAI and Anthropic SDKs — no code changes

Supported Models

Claude (Anthropic)

ModelContextInputBest For
claude-opus-4.6200Ktext, imageMost capable, advanced reasoning
claude-opus-4.5200Ktext, imageComplex reasoning, analysis
claude-sonnet-4.5200Ktext, imageBalanced speed and quality
claude-haiku-4.5200Ktext, imageFast, cost-effective

Gemini (Google)

ModelContextInputBest For
gemini-3-pro2Mtext, imageAdvanced reasoning
gemini-3-flash1Mtext, imageFast, high throughput
gemini-2.5-pro1Mtext, imageLong context, multimodal
gemini-2.5-flash1Mtext, imageSpeed, high throughput

GPT (OpenAI)

ModelContextInputBest For
gpt-5.2262KtextAdvanced reasoning
gpt-5.2-codex262KtextCode generation
gpt-5-mini128KtextFast, economical
gpt-5-nano128KtextUltra-fast, lowest cost

Kimi (Moonshot AI)

ModelContextInputBest For
kimi-k2.5128KtextLong-context reasoning

Qwen (Alibaba)

ModelContextInputBest For
qwen3-coder128KtextCode generation, debugging

How It Works

┌─────────────┐  ┌─────────────┐  ┌─────────────┐
│ OpenClaw │ │ Claude Code │ │ Custom Apps │
└──────┬──────┘ └──────┬──────┘ └──────┬──────┘
│ │ │
└────────────────┼────────────────┘


┌─────────────────┐
│ LLM Gateway │
│ llm.bankr.bot │
└────────┬────────┘

┌──────────────┼──────────────┐
▼ ▼ ▼
Vertex AI Vertex AI OpenRouter
(Gemini) (Claude) (All Models)

Routing Strategy:

  • Gemini models → Vertex AI (primary), OpenRouter (fallback)
  • Claude models → Vertex AI (primary), OpenRouter (fallback)
  • GPT, Kimi, Qwen models → OpenRouter only

Quick Start

Base URL:

https://llm.bankr.bot

Example Request:

curl https://llm.bankr.bot/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: bk_YOUR_API_KEY" \
-d '{
"model": "claude-opus-4.6",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Key Permissions

Your API key must have llmGatewayEnabled turned on at bankr.bot/api.

  • LLM Gateway calls are inherently read-only — the readOnly flag does not affect gateway access.
  • A separate LLM key only needs llmGatewayEnabled (no agentApiEnabled required).

See Access Control for full details.

Setup with Bankr CLI

The Bankr CLI can configure your tools automatically:

bun install -g @bankr/cli
bankr login
bankr llm setup openclaw --install # OpenClaw
bankr llm setup opencode --install # OpenCode
bankr llm setup claude # Claude Code
bankr llm setup cursor # Cursor

If your LLM gateway key differs from your Bankr API key, you can set them separately:

bankr login --llm-key YOUR_LLM_KEY
# or
bankr config set llmKey YOUR_LLM_KEY

See AI Coding Tools for full details on each tool.

Next Steps