Repository navigation
feat(boostrail): add BoostRail provider (9 models) with price sync - #10362
leegao6072-watershed wants to merge 4 commits into
Conversation
Action items
|
|
Thanks for the review. I re-tested every flagged model on 2026-10-19 with 3 trials per setting (142 live requests) and updated the files; each model header now records the completion-token ranges.
|
Action items
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…; sync reads cache_write Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Rebased on dev; all model files use schema 2. - Reasoning controls copy the lab entries (BoostRail forwards reasoning_effort and thinking unchanged): Sonnet 5 low..max, DeepSeek none|low|high|max, GLM-5.2 none|high|max, GPT-5.4 none..xhigh. - Sync keeps authored cache prices when the price list omits them; tests. - Drop minimax-m2.7 (no longer listed); add opencodeai to provider.toml.
1a6e8fc to
22d552a
Compare
|
Rebased on
Also: |
Action items
|
|
On the four |
|
Merged the latest Checked locally: |
Action items
|
Adds BoostRail, an OpenAI-compatible model API, as a provider with 8 models and a price sync module. I work on BoostRail.
Provider
logo.svgusescurrentColor, a square0 0 24 24viewBox and no fixed size.Models
BoostRail is a multi-model relay: every file is
schema = 2,base_modelplus overrides, and all 8 lab entries already exist undermodels/. BoostRail forwardsreasoning_effortandthinkingunchanged to the route serving the model, so reasoning controls copy the lab entries, as AGENTS.md asks for relays.base_modelclaude-sonnet-5anthropic/claude-sonnet-5low,medium,high,xhigh,maxclaude-opus-5anthropic/claude-opus-5low,medium,high,xhigh,maxclaude-haiku-4.5anthropic/claude-haiku-4-5thinking.budget_tokens)gpt-5.4openai/gpt-5.4none,low,medium,high,xhighdeepseek-v4-prodeepseek/deepseek-v4-pronone,low,high,maxdeepseek-v4.1-flashdeepseek/deepseek-v4.1-flashnone,low,high,maxkimi-k2.7-codemoonshotai/kimi-k2.7-codeglm-5.2zhipuai/glm-5.2none,high,maxOverrides besides cost:
noneis listed only where a live request showed it turns thinking off on this API (DeepSeek V4 Pro, DeepSeek V4.1 Flash, GLM-5.2; GPT-5.4 has it natively).application/pdffrom input, andkimi-k2.7-codedrops video: a PDFfilecontent part did not reach the Claude models, and this API takes text andimage_urlparts only.gpt-5.4read the PDF and keeps the inherited input.gpt-5.4has nofreeform: a custom tool with regex grammarZZ[0-9]{3}came back as a function call with input"any value".cache.writeequals the input price, because cache writes are not billed separately. No cache capability flags are claimed.Price sync
packages/core/src/sync/providers/boostrail.tsreads https://www.boostrail.com/models.json, a static file built from the same data as https://www.boostrail.com/models/ (USD per 1M tokens, includingcache_write). It follows the Ofox sync:skipCreates,deleteMissing: false, and it only rewrites cost; when the list omits a cache price, the authored one is kept (packages/core/test/boostrail.test.ts). Listed models without a local file appear in the sync notices; further models will come as hand-authored PRs. The provider is in theaggregatorsgroup, andbun run boostrail:syncis added topackage.json.Validation
bun validatepasses.bun run v1:check: the only v1 changes are additions, the new provider and its 8 models; no existing v1 field changes.bun ./packages/core/script/sync-models.ts boostrail --dry-runagainst the live price list: 0 created, 0 updated, 0 removed, 8 unchanged.packages/core/test/boostrail.test.tspasses.bun test packages/coreshows the same 11 failures asdevwithout this change (none in these files);packages/sdktests pass.POST /v1/chat/completions: on 2026-10-19, 3 trials per setting acrossreasoning_effort,thinkingandreasoning.enabled, plus image and PDF input (ranges in each file header); on 2026-11-10,reasoning_effort = noneon GLM-5.2 (3 trials) and a regex-grammar custom tool on GPT-5.4.Sources: model prices, price list JSON, Chat Completions reference, docs.