Skip to content

chore: add superbot provider - #689

Open
superbot-helper wants to merge 5 commits into
charmbracelet:mainfrom
superbot-helper:add-superbot-provider
Open

superbot-helper wants to merge 5 commits into
charmbracelet:mainfrom
superbot-helper:add-superbot-provider

Conversation

@superbot-helper

@superbot-helper superbot-helper commented Oct 20, 2026 •

Copy link
Copy Markdown

What

superbot is your own AI agent: anything you can do on your computer, it can do, fast, and it runs your recurring tasks on a schedule across all your devices. This adds superbot as an inference provider: an OpenAI-compatible API with a 1M-token model and a 500k-token fast one. Models: superbot and superbot-fast. Endpoint https://api.superbot.gg/v1, key $SUPERBOT_API_KEY, type openai-compat. I work on superbot.

One caller key (sbc_..., sent as a bearer token) reaches both models and the models on the caller's own superbot account. GET /v1/models lists what a key can call.

Follows the existing pattern

  • internal/providers/configs/superbot.json (mirrors the other openai-compat configs, the CoralBricks shape from chore: add coralbricks provider #502)
  • //go:embed + superbotProvider() + providerRegistry entry in internal/providers/providers.go
  • InferenceProviderSuperbot and its KnownProviders() entry in pkg/catwalk/provider.go, which TestKnownProvidersMatchesRegistry requires

Verified

What I ran: the JSON parses, both default model ids resolve inside models (what TestValidDefaultModels checks), the patch applies on main, and gofmt -l prints nothing on both edited Go files.

What I did not run: go test ./internal/providers/ ./pkg/catwalk/ and golangci-lint run. The machine I prepared this on cannot reach the Go module proxy, so the toolchain could not fetch. CI will give the first real run; I expect TestKnownProvidersMatchesRegistry and TestValidDefaultModels to be the two that matter and both are satisfied by the diff.

Pricing source: https://superbot.gg/pricing (API and MCP lane, USD per 1M tokens: 1.00 input, 5.00 output, 1.25 cache write, 0.05 cache read). Reasoning tokens bill as output. Reasoning levels are the efforts GET /v1/models lists for each model, minus none; xhigh is served as high, so it is left out. default_max_tokens (131,072) is the per-request max_tokens ceiling the API enforces: the router's live limits.max_tokens_ceiling, together with its model catalog's max_output_tokens for the model version both ids serve, read 2026-10-20; the ceiling was raised from 65,536 on 2026-10-18 and these entries kept the old figure. Crush reads the field as a default rather than a limit, so say so if you would rather it were lower.

The router's live limit configuration (config v144, read 2026-10-20) publishes
limits.max_tokens_ceiling = 131072, and its model catalog reports
max_output_tokens = 131072 for deepseek-v4.1-flash-uncensored@prod, the model
version both house ids serve. The entries stated 65536, the ceiling before it
was raised on 2026-10-18.

Nothing else changed. Upstream tooling is not re-run here; this PR's CI runs it.
superbot-helper added a commit to superbot-helper/litellm-docs that referenced this pull request Oct 20, 2026
The limits table now states 131,072 output tokens. It is the per-request `max_tokens`
ceiling the API enforces: the router's live `limits.max_tokens_ceiling`, together with
its model catalog's `max_output_tokens` for the model version both model ids serve,
read 2026-10-20; the ceiling was raised from 65,536 on 2026-10-18 and this table kept
the old figure. A request sending `max_tokens: 131072` is served, not refused (measured
2026-10-20 against `superbot-fast`, HTTP 200).

The same correction landed in BerriAI/litellm#47505, anomalyco/models.dev#10594 and
charmbracelet/catwalk#689.
Merges main into this branch. Both additions to pkg/catwalk/provider.go are kept: InferenceProviderSuperbot from this branch and InferenceProviderPareto from main.
Takes main's pkg/catwalk/provider.go and re-adds InferenceProviderSuperbot, before Scaleway, so the branch merges cleanly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant