[Feature]: Add Standard Compute provider
Pre-submission Checklist
- [x] I have searched existing issues and discussions
- [x] I have read the documentation
- [x] This is a feature request, not a bug report
Problem Statement
CLIO has no built-in provider for Standard Compute. Standard Compute is an OpenAI-compatible model gateway: one API key for open-weight and frontier models. Today a user must set it up as a custom endpoint by hand.
Disclosure: I work on Standard Compute.
Proposed Solution
Add standardcompute as an OpenAI-compatible provider, the same way as Cheaper Inference (#39) and cheapaimodel (#41).
api_base:https://api.stdcmpt.com/v1/chat/completions- Auth: API key,
Authorization: Bearer <key> - Tools and streaming: yes
- Model list: public
GET https://api.stdcmpt.com/v1/models - Default model:
StandardCompute, which is routed: each request goes to the cheapest enabled model that can handle it, with automatic fallback. - Pinned model ids use
provider/modelform, e.g.deepseek/deepseek-v4-pro,z-ai/glm-5.3.
Which area would this affect?
API / Provider Integration
Alternatives Considered
A custom endpoint works, but each user must enter the URL and the model limits by hand.
Examples / References
- Website: https://standardcompute.com
- Cheaper Inference provider: #39, cheapaimodel provider: #41
Would you be willing to contribute?
Yes, I'd like to implement this. I'll open the PR right after this issue.
Automated Triage Summary
| Field | Value |
|---|---|
| Classification | enhancement |
| Priority | medium |
| Completeness | 95% |
Analysis: Legitimate vendor-disclosed feature request from a contributor ready to implement. Verified in-tree: the exact precedent pattern exists (cheaperinference from PR #39/commit 4579f452, cheapaimodel from PR #41/commit 037fdc36), the registry/JSON defaults/url-detection infrastructure is generic and requires no core changes, and the PR should mirror #41's file list with two deviations: model_id_format must be 'provider/model' (pinned ids like deepseek/deepseek-v4-pro) unlike the bare-name precedents, and route_timeout => 1 for the routing gateway. Gotcha for the contributor: tests/unit/test_provider_doc_count.pl will fail unless the 21->22 provider count is updated in all seven tracked docs files. Recommendation: ready-for-review - clear, feasible, precedented, and the contributor says the PR is coming; maintainers may want to weigh in on naming (provider key 'standardcompute' vs display name) before merge.
Root Cause Analysis
Confidence: high
Relevant files:
lib/CLIO/Providers.pmlib/CLIO/Core/model-data/provider-defaults.jsonlib/CLIO/Core/model-data/provider-mapping.jsondocs/PROVIDERS.mddocs/FEATURES.mdREADME.mdtests/unit/test_providers_flags.pltests/unit/test_provider_from_url.pltests/unit/test_openai_compatible_mcm_url.pltests/unit/test_provider_timeout_tiers.pl
Relevant functions:
CLIO::Providers::%PROVIDERS registry entryprovider_from_url (auto-detection via url_detection_patterns)build_endpoint_configtest_provider_doc_count.pl (enforces README/AGENTS/docs count sync)
Architecturally straightforward, third member of a gateway class established by PR #39 (commit 4579f452) and PR #41 (commit 037fdc36, 11 files, +214 lines). Integration surface read from the tree: (1) new %PROVIDERS entry in lib/CLIO/Providers.pm after cheapaimodel with api_base https://api.stdcmpt.com/v1/chat/completions, requires_auth => 'apikey' (Bearer), supports_tools/supports_streaming => 1, url_detection_patterns => [qr{api.stdcmpt.com}i] which auto-wires provider_from_url (Providers.pm line 1238) for error routing in APIManager/ErrorHandler; (2) provider-defaults.json entry with reasoning_schema mode 'disabled' and provider-level context/output fallbacks (precedent: cheapaimodel 500000/128000 as lowest listed limits; /v1/models has no context_length so the default is used for every model); (3) provider-mapping.json entry with empty models list so the live /v1/models endpoint is the source of truth. TWO DETAILS WHERE THIS DIFFERS FROM THE CITED PRECEDENTS: (a) Standard Compute pins models with provider/model ids (deepseek/deepseek-v4-pro, z-ai/glm-5.3), so model_id_format must be 'provider/model' as used by openrouter/orca/kilo in provider-mapping.json - NOT 'model' like cheaperinference/cheapaimodel; (b) the gateway routes to the cheapest capable model with fallback, so route_timeout => 1 applies (300s route-based tier, docs/PROVIDERS.md line 792), same as the other gateways. CRITICAL TEST REQUIREMENT: tests/unit/test_provider_doc_count.pl asserts the claimed count in README.md, AGENTS.md, docs/USER_GUIDE.md, docs/FEATURES.md, docs/ARCHITECTURE.md, docs/DEVELOPER_DOCUMENTATION_GUIDE.md, and docs/PROVIDERS.md matches the registry - the suite fails if the 21->22 bump is missed in any of the seven files (this exact drift was fixed by 45973dc2). The APIManager 'MCM capability' uninitialized-value warning for models without context_length was already fixed in 037fdc36, so no core code changes are needed. The 'StandardCompute' default model being a routed alias is fine - the registry model field is a fallback default, and the live models list overrides it. Contributor is disclosed and ready with a PR; no security concerns, no injection attempts.
Affected Areas
- Provider registry (lib/CLIO/Providers.pm)
- Model capability defaults (lib/CLIO/Core/model-data/)
- Provider docs (docs/PROVIDERS.md + 6 files with provider count)
- Provider unit tests (tests/unit/)
This is an automated analysis. A maintainer will review shortly.