Skip to main content
kRouter
All providers

Pay-per-token

bb/

Blackbox AI

Blackbox AI — connect via API key.

blackbox.ai

Quick setup

  1. Open the kRouter dashboard at http://localhost:20128

  2. Go to Providers → click Blackbox AI

  3. Paste your API key, click Save

  4. Test the connection

Use in your IDE

Point any OpenAI-compatible client at kRouter using your local API key.

ide configbash
# Endpoint
http://localhost:20128/v1

# API key (from Dashboard → API Keys)
sk-krouter-XXXX

# Model
bb/<model-id>

How Blackbox AI billing works with kRouter

Blackbox AI is pay-per-token. You bring your own API key and kRouter routes to it, so you keep your own rate limits and billing relationship. kRouter authenticates it via apikey. 17 models are routable as blackbox/<model>.

Through kRouter, Blackbox AI serves chat and code completion. Requests reach it through the same local OpenAI-compatible endpoint as every other provider, so switching to or from Blackbox AI is a one-line model change in your client rather than a rewrite.

Blackbox AI models & pricing

Prices are USD per 1M tokens, cheapest first. kRouter bills nothing on top; this is the provider's own rate.

ModelRoute asInput /1MOutput /1M
DeepSeek Chatblackbox/deepseek-chat$0.14$0.28
DeepSeek V3 671Bblackbox/deepseek-v3-671b$0.14$0.28
DeepSeek R1blackbox/deepseek-r1$0.14$0.28
GPT-4o miniblackbox/gpt-4o-mini$0.15$0.60
Gemini 2.5 Flashblackbox/gemini-2.5-flash$0.30$2.50
Qwen3 Maxblackbox/qwen3-max$0.50$2.00
Qwen3 VL Plusblackbox/qwen3-vl-plus$0.50$2.00
Gemini 3 Flash Previewblackbox/gemini-3-flash-preview$0.50$3.00
Qwen3 Coder Plusblackbox/qwen3-coder-plus$1.00$4.00
GPT-4oblackbox/gpt-4o$2.50$10.00
Claude Sonnet 4.6blackbox/claude-sonnet-4.6$3.00$15.00
Claude Sonnet 4.5blackbox/claude-sonnet-4.5$3.00$15.00
Claude Sonnet 4.6 (Legacy)blackbox/claude-sonnet-4-6$3.00$15.00
Claude Opus 4.6blackbox/claude-opus-4.6$5.00$25.00
Claude Opus 4.6 (Legacy)blackbox/claude-opus-4-6$5.00$25.00
OpenAI o3-miniblackbox/o3-mini$10.00$40.00
OpenAI o1blackbox/o1$15.00$60.00

Blackbox AI links

Blackbox AI FAQ

Is Blackbox AI free through kRouter?

Blackbox AI is pay-per-token: you bring your own API key and are billed by Blackbox AI at their rates. kRouter adds nothing on top and is free and MIT-licensed.

How do I use Blackbox AI with Claude Code or Cursor?

Connect Blackbox AI in the kRouter dashboard, then point your tool at kRouter's local endpoint (http://localhost:20128/v1) with a kRouter API key. Any OpenAI-compatible client works, and models are addressed as blackbox/<model>.

Which Blackbox AI models can kRouter route to?

17 models, including GPT-4o, GPT-4o mini, Claude Sonnet 4.6. Every one is addressed as blackbox/<model> from any client.

What happens when Blackbox AI is rate limited?

kRouter detects the limit, parks that account until its real reset time, and fails over to your next connected account or provider — so the request still completes instead of erroring.