continue-custom/docs/customize/model-providers/more
1bcMax becda53a17
feat: add ClawRouter as a provider for cost-optimized model routing (#11751)
* feat: add ClawRouter as a provider for cost-optimized model routing

ClawRouter is an open-source LLM router that automatically selects the
cheapest capable model for each request based on prompt complexity,
providing 78-96% cost savings on blended inference costs.

Changes:
- Add ClawRouterApi class extending OpenAI adapter
- Add 'clawrouter' provider to the type system
- Add ClawRouter models (auto, free, eco)
- Add ClawRouter provider config with UI setup
- Add ClawRouter logo
- Add documentation (clawrouter.mdx)

Closes #10843

* docs: enhance ClawRouter documentation

- Add ClawRouter to providers overview
- Expand documentation with:
  - Model capabilities configuration
  - Multiple roles setup
  - Troubleshooting section
  - Cost monitoring
  - Comparison with OpenRouter
  - Complexity dimensions explanation

* feat: add ClawRouter to core/llm/llms

- Add ClawRouter.ts extending OpenAI base class
- Register ClawRouter in llms/index.ts

* feat: add User-Agent headers for ClawRouter integration tracking

- Add 'User-Agent: Continue/IDE' header to identify Continue requests
- Add 'X-Continue-Provider: clawrouter' header for routing analytics
- Enhanced documentation with features list

This helps ClawRouter optimize routing decisions based on integration
source and enables better analytics for the Continue community.

* feat: complete ClawRouter integration with full provider support

- Add clawrouter to PROVIDER_HANDLES_TEMPLATING (autodetect.ts)
- Add clawrouter to PROVIDER_SUPPORTS_IMAGES (autodetect.ts)
- Add clawrouter tool support function (toolSupport.ts)
- Add supportsReasoningField and supportsReasoningDetailsField
- Add promptTemplates with osModelsEditPrompt
- Match OpenRouter implementation patterns

* feat: add ClawRouter to VS Code schema, docs nav, and AI SDK

- Add clawrouter to VS Code config_schema.json provider enum
- Add ClawRouter description in config_schema.json
- Add clawrouter to docs.json navigation (top-level providers)
- Add clawrouter to AI SDK PROVIDER_MAP

* docs: add wallet setup and x402 payment documentation

- Add Wallet & Payment Setup section to clawrouter.mdx
- Document payment tiers (free/eco/auto)
- Add wallet funding instructions (Solana/Base USDC)
- Add spend control configuration
- Update VS Code schema description with wallet info
- Update provider longDescription with payment options

* feat: add premium tier and enhanced ClawRouter features

- Add blockrun/premium routing profile (mission-critical tasks)
- Add dual-chain wallet support docs (Base EVM + Solana)
- Add model exclusion documentation
- Update routing profiles table with savings percentages
- Update comparison table with auth/payment differences
- Total 44+ models, 4 routing tiers

* test: add ClawRouter unit tests

- Add ClawRouter.vitest.ts (core/llm/llms)
  - Provider name verification
  - Default options validation
  - Reasoning field support
  - User-Agent header verification
  - Routing profiles acceptance

- Add ClawRouter.test.ts (openai-adapters)
  - Default apiBase
  - Custom apiBase override
  - Continue headers
  - OpenAI standard headers

- Add clawrouter tests to toolSupport.test.ts
  - blockrun/* routing profiles
  - Tool-supporting model patterns

* docs: add routing profile switching and enhanced error handling docs

- Add 'Switching Between Routing Profiles' section with full examples
- Add /model command tip for quick switching
- Add 'Error Handling' section comparing Continue vs ClawRouter
- Document automatic error recovery (429, 402, 500+, timeout)
- Add response header documentation for diagnostics
- Add AI-powered doctor command for troubleshooting

* fix: address PR review feedback - move docs to /more, resize logo, add provider constants, fix docs example

* fix: replace clawrouter logo with higher-res brand kit version (128x128)
2026-03-26 10:26:12 -07:00
..
_category_.json s/docs2/docs 2025-07-10 13:34:36 -07:00
asksage.mdx docs updates 2026-02-16 13:19:21 -08:00
cerebras.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
clawrouter.mdx feat: add ClawRouter as a provider for cost-optimized model routing (#11751) 2026-03-26 10:26:12 -07:00
cloudflare.mdx fix: respect contextLength from YAML model config (#11807) 2026-03-25 12:26:52 -07:00
cohere.mdx docs: fix title case in documentation headers 2026-01-14 19:00:37 -08:00
deepinfra.mdx chore: hub.continue.dev -> continue.dev 2026-01-30 15:47:00 -08:00
deepseek.mdx chore: hub.continue.dev -> continue.dev 2026-01-30 15:47:00 -08:00
flowise.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
function-network.mdx docs: fix title case in documentation headers 2026-01-14 19:00:37 -08:00
groq.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
ipex_llm.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
kindo.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
lemonade.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
llamacpp.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
llamafile.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
llamastack.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
mimo.mdx git commit -m "feat(new model): adding MiMo-V2-Flash" 2026-01-03 05:55:37 +02:00
minimax.mdx feat: add MiniMax as a new LLM provider with M2.7 default (#11367) 2026-03-24 13:06:19 -07:00
mistral.mdx chore: hub.continue.dev -> continue.dev 2026-01-30 15:47:00 -08:00
moonshot.mdx feat: model updates and + z.ai (#10638) 2026-02-20 00:35:44 -08:00
morph.mdx docs: fix title case in documentation headers 2026-01-14 19:00:37 -08:00
msty.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
ncompass.mdx feat: GEO updates for docs (#7083) 2025-08-14 21:20:59 +01:00
nebius.mdx docs: fix title case in documentation headers 2026-01-14 19:00:37 -08:00
nous.mdx feat: add Nous Research Hermes models as provider 2026-01-28 15:48:41 -05:00
novita.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
nvidia.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
openvino_model_server.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
ovhcloud.mdx Merge branch 'main' into ovhcloud/update-models-and-tool-calling 2026-01-25 22:16:10 -08:00
relace.mdx feat: GEO updates for docs (#7083) 2025-08-14 21:20:59 +01:00
replicatellm.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
sagemaker.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
SambaNova.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
scaleway.mdx docs: fix title case in documentation headers 2026-01-14 19:00:37 -08:00
siliconflow.mdx docs: fix title case in documentation headers 2026-01-14 19:00:37 -08:00
tensorix.mdx feat: add Tensorix as an LLM provider (#11184) 2026-03-19 16:29:45 -07:00
textgenwebui.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
together.mdx chore: hub.continue.dev -> continue.dev 2026-01-30 15:47:00 -08:00
venice.mdx feat: GEO updates for docs (#7083) 2025-08-14 21:20:59 +01:00
vllm.mdx docs: fix title case in documentation headers 2026-01-14 19:00:37 -08:00
watsonx.mdx fix: my config not myproject 2025-12-02 13:17:05 -08:00
xAI.mdx chore: hub.continue.dev -> continue.dev 2026-01-30 15:47:00 -08:00
zai.mdx feat: model updates and + z.ai (#10638) 2026-02-20 00:35:44 -08:00