Skip to content

Commit bdbdb07

Browse files
committed
Update to Gemini 3.1 models in ClawRouter
- Update AUTO_TIERS COMPLEX tier: gemini-3-pro-preview → gemini-3.1-pro-preview - Update AUTO_TIERS COMPLEX fallback: add gemini-3-flash-preview - Update AUTO_TIERS SIMPLE fallback: add gemini-2.5-flash-lite - Update PREMIUM_TIERS COMPLEX fallback: gemini-3-pro-preview → gemini-3.1-pro-preview - Update README: Gemini 2.5 → Gemini 3.1 - Update documentation URL in pyproject.toml
1 parent 32913ef commit bdbdb07

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# BlockRun LLM SDK
22

3-
Pay-per-request access to GPT-5.2, Claude 4, Gemini 2.5, Grok, and more via x402 micropayments.
3+
Pay-per-request access to GPT-5.2, Claude 4, Gemini 3.1, Grok, and more via x402 micropayments.
44

55
**BlockRun assumes Claude Code as the agent runtime.**
66

@@ -87,7 +87,7 @@ The classifier runs in <1ms, 100% locally, and routes to one of four tiers:
8787
|------|---------------|-------------------|
8888
| SIMPLE | "What is 2+2?", definitions | nvidia/kimi-k2.5 |
8989
| MEDIUM | Code snippets, explanations | xai/grok-code-fast-1 |
90-
| COMPLEX | Architecture, long documents | google/gemini-3-pro-preview |
90+
| COMPLEX | Architecture, long documents | google/gemini-3.1-pro-preview |
9191
| REASONING | Proofs, multi-step reasoning | xai/grok-4-1-fast-reasoning |
9292

9393
## How It Works

blockrun_llm/router.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ class ScoringResult(TypedDict):
226226
AUTO_TIERS: Dict[Tier, TierConfig] = {
227227
"SIMPLE": {
228228
"primary": "nvidia/kimi-k2.5",
229-
"fallback": ["google/gemini-2.5-flash", "nvidia/gpt-oss-120b", "deepseek/deepseek-chat"],
229+
"fallback": ["google/gemini-2.5-flash-lite", "nvidia/gpt-oss-120b", "deepseek/deepseek-chat"],
230230
},
231231
"MEDIUM": {
232232
"primary": "xai/grok-code-fast-1",
@@ -237,8 +237,8 @@ class ScoringResult(TypedDict):
237237
],
238238
},
239239
"COMPLEX": {
240-
"primary": "google/gemini-3-pro-preview",
241-
"fallback": ["google/gemini-2.5-flash", "google/gemini-2.5-pro", "deepseek/deepseek-chat"],
240+
"primary": "google/gemini-3.1-pro-preview",
241+
"fallback": ["google/gemini-3-flash-preview", "google/gemini-2.5-pro", "deepseek/deepseek-chat"],
242242
},
243243
"REASONING": {
244244
"primary": "xai/grok-4-1-fast-reasoning",
@@ -276,7 +276,7 @@ class ScoringResult(TypedDict):
276276
},
277277
"COMPLEX": {
278278
"primary": "anthropic/claude-opus-4.5",
279-
"fallback": ["openai/gpt-5.2-pro", "google/gemini-3-pro-preview", "openai/gpt-5.2"],
279+
"fallback": ["openai/gpt-5.2-pro", "google/gemini-3.1-pro-preview", "openai/gpt-5.2"],
280280
},
281281
"REASONING": {
282282
"primary": "openai/o3",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dev = [
4343

4444
[project.urls]
4545
Homepage = "https://blockrun.ai"
46-
Documentation = "https://docs.blockrun.ai"
46+
Documentation = "https://github.com/BlockRunAI/awesome-blockrun/tree/main/docs"
4747
Repository = "https://github.com/BlockRunAI/blockrun-llm"
4848

4949
[tool.hatch.build.targets.wheel]

0 commit comments

Comments
 (0)