Repository navigation
Conversation
balys
requested review from
joshua-berri,
kerry-berri,
mateo-berri and
ryan-crabbe-berri
as code owners
October 31, 2026 23:52
Turion hosts Turion Jev 31B, a System One decision model, and Turion Extract alpha, an extraction model that answers Cloudflare Clairic's field format. TurionDecisionsConfig sends decisions to /v1/systemone and TurionExtractionConfig sends extractions to /v1/extract on https://api.turion.ai (TURION_API_BASE overrides), authenticated with TURION_API_KEY or the Turion CLI's TURION_API_TOKEN. Adds the turion provider, the cost map entries for turion/turion-jev-31b (evaluation) and turion/turion-extract-alpha (extraction), the provider endpoint support entry, the Add Model credential fields, the dashboard provider metadata and the README row.
balys
force-pushed
the
feat/turion-provider
branch
from
November 1, 2026 22:40
6b0e5dc to
248090a
Compare
3 tasks done
The provider endpoint files are generated from the cost map, so the row names both routes the proxy serves for Turion, and the generated System One flag for turion is true
# Conflicts: # litellm/_lazy_imports_registry.py
Contributor
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We are adding Turion provider for decision and extraction models. Turion has trained and hosts Turion jev 31b (SystemOne Decision model), and Turion Extract Alpha (Extraction model, same class as Cloudflare Clairic , same field format). This allows LiteLLM users to call both via /v1/decision and /v1/extraction with turion api key
Turion JEV tied #2 on decision index : https://huggingface.co/spaces/multimodalart/jev-decision-index
Turion Extract #1 (above cloudflare) on extract index https://huggingface.co/spaces/balys/extract-index
Details
TLDR
Problem this solves:
How it solves it:
/v1/systemone)/v1/extract)User Flow
Before: a developer with a Turion key can't route decisions or extractions to Turion
turion/turion-jev-31bandturion/turion-extract-alphatomodel_listAfter: the same calls reach Turion and come back with typed answers and usage
api_key: os.environ/TURION_API_KEYtruncated: falseand usageturion/turion-jev-31bas the placeholderImplementation
TurionDecisionsConfigonly sets the host (https://api.turion.ai,TURION_API_BASEoverrides) and the key variables (TURION_API_KEY, then the Turion CLI'sTURION_API_TOKEN), like the Nace and TypeSafe adapters. It reusesBaseDecisionsConfigfor transport, request translation and response parsing, so both/v1/systemoneand/v1/decisionsgo to Turion's/v1/systemone, which takes TypeSafe's System One shape.TurionExtractionConfiguses the same host and keys and sends the Clairic body unchanged to Turion's/v1/extract. Turion's answer matchesExtractionResponse: typed answers withp_null,confidenceandspan,truncated, and usage.Cost map:
turion/turion-jev-31b(modeevaluation, $0.021 per 1M input tokens) andturion/turion-extract-alpha(modeextraction, $0.05 per 1M input tokens), both 16,384-token context and free output, from https://turion.ai/docs/guides/usage/#pricing.Pre-Submission checklist
make lintpasses)Local:
uv run pytest tests/unit/llms/turion tests/unit/llms/base_llm/decisions tests/unit/proxy/public_endpoints/test_public_endpoints.py tests/code_coverage_tests/test_generate_provider_endpoints_support.py tests/unit/litellm_core_utils/test_decisions_pricing.py -q(214 passed),uv run python scripts/generate_provider_endpoints_support.py --check,make lint.Main is merged in (Parallel AI's decisions change), and
turion/turion-jev-31bnow declares/v1/decisionsand/v1/systemoneinsupported_endpoints, so the generated System One flag forturionis true. The Turion adapters are unchanged.Screenshots / Proof of Fix
Live calls against https://api.turion.ai, no mocks. Set
TURION_API_KEYprivately andLITELLM_LOCAL_MODEL_COST_MAP=Trueto use this branch's cost map before it is published.systemone-request.jsonasks a refund noul, a team choice and an urgency score about "I was charged twice for my subscription.";decisions-request.jsonasks the refund predicate in the OpenAI-style shape;extraction-request.jsonasks for an invoice number, issue date and total from "Invoice INV-2291 issued 2026-09-02, net 30. Total $1080.".Before (36dbb22)
System One
ENDPOINT=systemoneThere are no healthy deployments for this model(model groupturion-jev)Decisions
ENDPOINT=decisionsThere are no healthy deployments for this model(model groupturion-jev)Extraction
ENDPOINT=extractionThere are no healthy deployments for this model(model groupturion-extract)After (248090a, before merging main)
System One
ENDPOINT=systemoneturion-jev-31b, refund noul0.892483, teambilling(0.991577), urgency score1.128746, usage409/0input/output tokensDecisions
ENDPOINT=decisionsturion-jev-31b, refund predicate probability0.677155, usage190/0input/output tokensExtraction
ENDPOINT=extractionINV-2291(span[8, 16]),2026-09-02,1080,truncated: false, usage133/0input/output tokensType
🆕 New Feature
Caveats (if any)
Low
Final Attestation