Repository navigation
Backlog
Labels
enhancementNew feature or request
Description
Problem
The provider listing Discussion template asks five optional questions. They do not cover the checks that the review of PR #2637 (Infer) needed. Reviewers had to find the missing facts by reading the vendor pages.
The gaps are:
- The template asks if the operator resells access. It does not ask how the operator gets access. Anthropic Commercial Terms section D.4 do not allow resale unless Anthropic approves. Anthropic Claude Code docs do not allow routing requests through Free, Pro, Max or Ultra plan credentials for other users.
- The template does not ask if a gateway or subprocessor sits between the operator and the model lab. A "no storage" claim by the operator does not cover its subprocessors.
- The template does not ask what happens to prompts in the default privacy mode. It does not ask if the service rejects a request or uses a weaker mode when a supplier cannot meet a requested mode.
- The PR template does not ask the author to show a recorded stream. Handlers that read cost or usage from stream chunks depend on the real chunk layout. Some OpenAI-compatible proxies differ from the OpenAI layout.
- No document says which checks apply to a provider that was listed before this template existed.
Proposed change
- Update
.github/DISCUSSION_TEMPLATE/providers.yml. Keep all questions optional and keep the forum tone. Add these questions:- How does the operator get access to each model route? Does each route use a first-party, reseller, partner or cloud-marketplace agreement? Does any route use subscription or OAuth accounts?
- Does any gateway provider or subprocessor handle prompts? List each one, or its category and location. Do no-retention and no-training terms bind it?
- What can the operator or a supplier keep or train on in the default privacy mode? If a request asks for a stricter mode and a supplier cannot support it, does the service reject the request?
- Update
.github/pull_request_template.md. For a new provider PR, ask for one recorded streaming response. It must show the finish chunk and the usage chunk, if the handler reads cost or usage from chunks. - Add a short "Provider listing checks" section to
CONTRIBUTING.md. State the checks, the sources below, and that a listing is not an endorsement.
Audit of existing providers
- Make a list of every provider in
packages/types/src/providers/. - Sort each provider into one group:
- First-party API of a model lab.
- Cloud platform (for example Bedrock or Vertex).
- Gateway or reseller that serves models from other labs.
- Local runtime (for example Ollama or LM Studio).
- Subscription or OAuth login (for example the Codex, Qwen Code and Kimi Code providers).
- For each gateway or reseller, record the answers to the three new questions. Use public pages only. Write "not published" when a page gives no answer.
- For each subscription or OAuth provider, check the current terms of the vendor. Record if third-party tools may use the login.
- For each provider that reads cost or usage from stream chunks, check that a test uses a real recorded chunk layout.
- Put the results in a table in a comment on this issue. Use one row for each provider and one column for each check.
- Fix each finding under this issue. Use one PR for each fix and link each PR here. Do not open separate follow-up issues.
Sources
- Anthropic Commercial Terms, section D.4: https://www.anthropic.com/legal/commercial-terms
- Claude Code legal and compliance, "Authentication and credential use": https://code.claude.com/docs/en/legal-and-compliance
- OWASP LLM03:2025 Supply Chain: https://genai.owasp.org/llmrisk/llm03/
- OpenRouter zero data retention and
data_collection: https://openrouter.ai/docs/guides/privacy/zero-data-retention - Merge Gateway ZDR (rejects a request instead of falling back): https://docs.merge.dev/merge-gateway/features/zero-data-retention
- Vercel AI Gateway security and compliance: https://vercel.com/docs/ai-gateway/security-and-compliance
Most gateway sources are vendor documents, not standards. Use them as starting points.
Out of scope
- Block or remove a provider. A maintainer decides that after the audit.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
zoomote commentedon Nov 24, 2026
Audit snapshot from 2026-11-24. Verification corrections added on 2026-11-25.
This table contains the 36 providers registered at the original audit snapshot. The directory had 40 TypeScript files. Shared definitions and support files explain the difference. The verification pass checked the seven priority providers and reviewed usage-test evidence for every table row. Access and policy claims outside the documented rechecks still need verification.
Vendor statements are not independent verification. "Not found in reviewed sources" does not mean that no policy or agreement exists.
Counts: 11 first-party lab APIs, 2 cloud platforms, 14 gateways/resellers, 3 local runtimes (one is a test stub), 6 subscription/OAuth providers. Total at the original snapshot: 36. Gemini CLI retirement is implemented in local branch commit
a125c3ae96. It is not recorded here as merged or released.Provider audit table
prompt_cache_hit_tokens/prompt_cache_miss_tokensapi.moonshot.aior.cn)include_usageapi.minimax.ioorapi.minimaxi.com)97effb0c40replaces the stubbed Gemini test with handler parsing assertions. vertex-usage.spec.ts replays a captured Gemini 3 Flash response through the real Google SDK and handler (6 input, 2 output, 26 reasoning tokens). Source metadata accompanies the fixture. Synthetic tests cover cache reads. Claude-on-Vertex coverage remains synthetic.86a4a13699fixes non-BYOK cost double-counting and removes the deprecated parameter.cached_tokens/caching_tokensvariants2f12e5a09dadds unbound-usage.spec.ts tests through the real OpenAI SDK with synthetic HTTP streams. Assertions cover final cumulative token totals, cache reads/writes, cost, zero fields and absent usage. A recorded Unbound response remains missing.costandcache_creation_input_tokenscostaf16e388f6. A recorded response remains missing./v1prompts and responses are not stored. Usage metadata is retained while the account is active. Dashboard Chat stores conversations separately. Upstream retention, training and strict-mode rejection remain unverified.message_delta,cache_creation_input_tokens)c847a1d218.~/.qwen/oauth_creds.json. The handler refreshes throughchat.qwen.aiand usesresource_urlor a DashScope fallback. Current Plus/Pro subscription login is a separate protocol.api.kimi.com/coding/v1)3dd1ed6648. A recorded response remains missing.a125c3ae96retires the ID.d03066496cadds final-usage assertions for counted input and zero/nonzero output totals. Shared vscode-lm.spec.ts tests assert calculated usage. No recorded-response provenance found.Findings and work status
a125c3ae96retires the provider and preserves saved profiles. This change is not yet recorded as merged or released.c847a1d218adds dedicated handler tests and a public recorded response with source and licence information. The real SDK parses the response. Tests check request construction, text, reasoning, final cumulative usage and HTTP errors.af16e388f6adds synthetic handler streams through the real AI SDK, provider and usage extractor. Tests cover all three SDK routes. A recorded provider response is still needed.3dd1ed6648adds synthetic handler streams through the real OpenAI SDK. Tests cover API-key and OAuth routes, cumulative usage, cache fields, absent usage and token refresh. A recorded provider response is still needed.86a4a13699adds a response captured from OpenRouter and replays it through the real SDK. The response reports the same cost inusage.costand upstream inference cost withis_byok: false. The handler previously added both. It now adds upstream inference cost only whenis_byokis true. Synthetic tests cover BYOK and missing or null costs. The deprecatedstream_options.include_usageparameter is removed.subscription_credentials.json,auth.qwen.ai, theqwen-code-cliclient and a fixedapi.qwen.aiinference gateway. Zoo's handler uses the legacy credential file, client and refresh endpoint. It does not implement the current subscription flow. Current subscription compatibility remains unverified. The reviewed terms do not establish third-party login permission. This is not a finding of prohibited use. Listing Discussion #2551 now records this distinction.Findings 1-5 have code or test commits on this branch. This comment does not establish that they are merged or released. Findings 3 and 4 still need recorded responses. Finding 7 has a maintainer decision to keep Kenari available; upstream authorization remains unverified. Existing listing Discussions record the corrections for findings 6 and 8-10. Qwen current subscription support still needs separate implementation and validation. Access and policy claims outside the documented rechecks remain unverified. Commit
b9fa437db6also applies the CONTRIBUTING checks to providers listed before the template.Original source summary (not a claim that every page was verified in this pass): OpenRouter zero-data-retention and usage-accounting pages; Vercel AI Gateway security-and-compliance; Requesty docs Compliance and data-privacy pages; OpenCode Go docs (plans, privacy table, validated clients); Fireworks Zero Data Retention and data-security pages; FriendliAI Data Privacy and Security; Baseten security page and FAQ; NanoGPT llms.txt; Kenari docs; Google gemini-cli tos-privacy.md; OpenAI Sign in with ChatGPT "ChatGPT plan usage" docs; Qwen Code terms-of-service page; platform.kimi.ai docs (Claude Code/Codex guides); GitHub Terms for Additional Products and Features (Copilot section).
Work is tracked under #2672. The current work plan uses this branch, with a separate commit for each code fix. No follow-up issue is needed. A listing is not an endorsement.
Sources for the corrections
Code checks used
src/api/index.ts, provider handlers and their specs. Added handler tests arebaseten.spec.ts,poe-usage.spec.ts,kimi-code-usage.spec.tsandopenrouter-usage.spec.tsundersrc/api/providers/__tests__/. Baseten and OpenRouter fixture directories include recording source records. Poe and Kimi streams are synthetic. Sampled synthetic-stream checks also covered Requesty, Zoo Gateway, Vercel AI Gateway, NanoGPT, OpenCode Go, Kenari, DeepSeek and Moonshot. These synthetic tests do not prove recording provenance.Privacy recheck on 2026-11-25
The blanket absence claim in finding 8 was too broad. These records distinguish published answers from remaining gaps:
Requesty follow-through: Discussion #2552 now includes Approved Models rejection during fallback and the Enterprise/MSA requirement. No new comment was created.
Qwen compatibility recheck on 2026-11-25: Current subscription OAuth configuration and credential storage differ from
src/api/providers/qwen-code.ts. This verifies a protocol mismatch, not live subscription acceptance. A migration would require separate implementation and validation under this issue.Listing record status: Existing Requesty (#2552), Gemini (#2533), Qwen (#2551) and Zoo Gateway (#2559) Discussions were updated during this verification pass. The other privacy records linked above were reviewed. No new comment or follow-up issue was created.
Additional usage-test review on 2026-11-25: Anthropic, OpenAI and OpenAI Native have synthetic usage coverage. Reviewed suites include
anthropic.spec.ts,openai.spec.ts,openai-usage-tracking.spec.ts,openai-native.spec.tsandopenai-native-usage.spec.ts. These tests do not establish recorded-stream compliance. This review checked test evidence, not the other policy claims in these rows.Additional usage-test review: Gemini (
gemini.spec.ts,gemini-handler.spec.ts,gemini-request-tail.spec.ts), Mistral (mistral.spec.ts), MiniMax (minimax.spec.ts) and MiMo (mimo.spec.ts) use synthetic test data. Usage assertions exist, but these suites do not establish recorded-stream compliance. This review checked test evidence only.Additional usage-test review: xAI, Z.ai and Bedrock have synthetic SDK-event coverage in the reviewed suites. The Gemini streaming test in
vertex.spec.tsreplacescreateMessageand checks its own supplied output. It does not verify handler parsing ofusageMetadata. This was an additional test gap under #2672. Commit97effb0c40now replaces that stub with handler parsing assertions and adds a real recorded-stream replay. Claude-on-Vertex has separate synthetic handler coverage inanthropic-vertex.spec.ts. This review checked test evidence only; it did not verify cloud privacy claims or recorded-stream compliance.Vertex follow-through: A short response was captured from the Google project with its supplied API key.
vertex-usage.spec.tsreplays the response through the real Google SDK and Vertex handler. The fixture preserves the response body and includes source metadata without authentication or the project ID. The response ended withMAX_TOKENS; it still contains text and final usage. These changes are in branch commit97effb0c40and are not recorded as merged or released.Additional gateway usage-test review: LiteLLM, Fireworks, FriendliAI and SambaNova have usage assertions against synthetic SDK streams.
unbound.spec.tssupplies usage fields but does not assert emitted token totals. Its previous basic-coverage claim was too strong. Commit2f12e5a09dnow adds provider-specific usage assertions through the real SDK inunbound-usage.spec.ts. A recorded response is still needed under #2672. This pass checked test evidence only; it did not verify the policy columns or recorded-stream compliance.Additional local and subscription usage-test review: Ollama, LM Studio, Codex and legacy Qwen Code have synthetic usage assertions in their reviewed handler suites. Codex also tests constructed SSE. No recorded-response provenance was found in these suites. Qwen tests do not verify the current subscription flow. This pass checked test evidence only, not the access or policy columns.
VS Code LM usage-test review:
VsCodeLmHandlercalculates final usage with token counting.GitHubCopilotHandlerinherits that path. The original stream-usage wording was incorrect. Shared tests assert calculated totals with mocked VS Code APIs. Commitd03066496cnow adds Copilot-specific final-usage assertions. Recorded-response provenance remains unverified. Context-window fixtures are synthetic test cases. This pass did not verify access-policy claims.Usage-evidence pass status: Every table row now has reviewed test-evidence wording. Baseten, OpenRouter and Vertex have recorded-stream replay tests on this branch. Other rows identify synthetic coverage, shared coverage or exceptions. This does not establish full compliance for each provider. Remaining work includes recording provenance where missing, the policy claims outside the documented rechecks, and current Qwen subscription implementation. Poe capture returned a subscription requirement. No Kimi Code credential was available; the supplied Open Platform credential belongs to a separate product. No key values are included here.
Cloud policy recheck: No-training and zero-retention are separate claims. The Bedrock and Vertex rows now state retention conditions and limits. AWS Bedrock FAQ states the training restriction. Bedrock retention documentation describes regional controls, model defaults and rejection under the none mode. Google Cloud data-retention documentation separates the training restriction from retention, caching and required controls. Google abuse-monitoring documentation describes additional conditions. These sources do not establish each user's account or project settings. This pass does not verify every model-specific agreement.
Inference-service policy recheck: Fireworks data handling lists storage exceptions and an Enterprise ZDR enforcement policy. The original claim that only Responses can retain content was too broad. The Zoo Fireworks handler uses Chat Completions. FriendliAI service-specific terms, Exhibit 1 section 1.1 publish a qualified ZDR commitment. The original missing-retention answer and blanket no-sharing/no-training wording were too broad. Zoo's Friendli handler uses the serverless endpoint. These sources do not establish account opt-in settings or independently verify processing.
Routing privacy recheck: OpenRouter ZDR documentation says request-level enforcement follows the account and guardrail choice about Safety Retention. The previous claim that enforcement always removes all non-ZDR endpoints was too strict. Vercel security documentation distinguishes gateway deletion from provider-level ZDR and allowlist enforcement. These are published routing commitments, not independent checks of upstream processing or user settings.
OpenCode Go policy recheck: Current Go documentation distinguishes third-party client requirements, validation and per-model privacy. The Gemini retention figure and blanket implication of no training were too broad. Paid-endpoint privacy controls do not establish the same treatment for free contributor models. The handler sends session headers; this does not establish vendor validation.
Deployment-boundary recheck:
native-ollama.ts,lm-studio.tsandlite-llm.tsaccept configured server URLs. The original local-only and self-hosting assumptions were too broad. Ollama cloud documentation describes cloud model access, including through the local API. LM Studio network-server documentation describes access from another machine. Deployment settings must be checked before claiming that prompts stay on the user’s device. Original group counts describe the historical classification, not verified processing boundaries.VS Code access-policy recheck: Microsoft's model-provider API allows extensions to contribute vendors. The generic handler selects from VS Code models and is not limited to Copilot, so its previous inherited-Copilot-terms answer was incorrect. The Language Model API guide documents extension access. GitHub's model-hosting documentation states the Business/Enterprise no-training position and individual opt-out. These sources do not establish uniform retention across providers or plans.
Codex access-route recheck: OpenAI’s plan-use documentation describes dynamic client registration, a persistent host identifier and permission for plan usage.
src/integrations/openai-codex/oauth.tsinstead uses a fixed client ID and identity scopes;openai-codex.tscalls the Codex backend. The original Yes answer inferred implementation approval from the existence of the program. That inference is not established. This is a policy and compatibility question, not a finding of prohibited use. No retirement decision or migration is included in this correction.Retire the Gemini CLI provider (#2672)
Test Baseten requests and recorded stream usage (#2672)
Retire Gemini CLI, correct OpenRouter costs, and verify provider usage (
gh311 commentedon Nov 25, 2026
Triage: template/CONTRIBUTING changes and several audit fixes already merged via PR #2673 (app/zoomote; body 'References: #2672', 'The issue stays open'). The issue remains open as an umbrella tracking the remaining audit findings listed in the zoomote comment (2026-11-24/25). No further PR is needed for the template portion; remaining code fixes are tracked as commits under this issue.