Skip to content

Add supply and privacy checks to the provider listing process, and audit existing providers #2672

Backlog

Description

@edelauna

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

  1. 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?
  2. 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.
  3. 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

  1. Make a list of every provider in packages/types/src/providers/.
  2. 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).
  3. 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.
  4. For each subscription or OAuth provider, check the current terms of the vendor. Record if third-party tools may use the login.
  5. For each provider that reads cost or usage from stream chunks, check that a test uses a real recorded chunk layout.
  6. Put the results in a table in a comment on this issue. Use one row for each provider and one column for each check.
  7. 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

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.

Activity

  1. added
    enhancement
    on Nov 24, 2026
  2. zoomote commented on Nov 24, 2026

    @zoomote
    Contributor

    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

    Provider Group Access route Gateway or subprocessor handles prompts; no-retention/no-training terms bind it Default privacy mode (retention, training); strict-mode rejection Third-party tools may use the login Usage test evidence and recording status
    anthropic First-party lab API Anthropic API key (pay-as-you-go) n/a (lab itself) n/a n/a Synthetic handler tests mock the Anthropic SDK stream. Assertions cover input/output, cache reads/writes and thinking tokens. No recording provenance found in the reviewed suites.
    openai First-party lab API API key to any OpenAI-compatible endpoint; base URL is user-set; optional Azure mode None by default; the configured endpoint is the operator Depends on the configured endpoint n/a Synthetic handler tests mock the OpenAI SDK stream. Assertions cover cumulative usage and cached/reasoning token fields. No recording provenance found in the reviewed suites.
    openai-native First-party lab API OpenAI API key (Responses/Chat Completions) n/a n/a n/a Synthetic tests cover usage normalization, mocked SDK events and constructed SSE. Assertions cover cache fields, reasoning and cost. No recording provenance found in the reviewed suites.
    gemini First-party lab API Google AI Studio API key n/a Data use depends on billing status and region. Paid-service rules also cover unpaid use in the EEA, Switzerland and UK. See finding 9. n/a Synthetic handler streams replace the Google client. Tests assert usageMetadata input/output totals. No recording provenance found in the reviewed suites.
    deepseek First-party lab API DeepSeek API key n/a n/a n/a Synthetic handler test; real recording not verified. prompt_cache_hit_tokens/prompt_cache_miss_tokens
    mistral First-party lab API Mistral API key n/a n/a n/a Synthetic handler tests mock the Mistral SDK stream. Tests cover data.usage totals, cached-token validation and cache pricing. No recording provenance found in the reviewed suite.
    moonshot First-party lab API Moonshot API key (api.moonshot.ai or .cn) n/a n/a n/a Synthetic handler test; real recording not verified. OpenAI layout with include_usage
    minimax First-party lab API MiniMax API key (api.minimax.io or api.minimaxi.com) n/a n/a n/a Synthetic handler tests mock the Anthropic SDK stream. Tests cover message_start usage, cumulative output and the 1h cache-write split. No recording provenance found in the reviewed suite.
    mimo First-party lab API Xiaomi MiMo API key (cn/sgp/ams token-plan endpoints) n/a n/a n/a Synthetic handler tests mock the OpenAI SDK stream. Tests assert input/output totals, cache reads/writes and cost. No recording provenance found in the reviewed suite.
    xai First-party lab API xAI API key n/a n/a n/a Synthetic handler tests mock OpenAI Responses SDK events. Assertions cover response.completed input/output, cached and reasoning tokens. No recording provenance found in the reviewed suite.
    zai First-party lab API Z.ai API key (cn or international line) n/a n/a n/a Synthetic handler tests mock the OpenAI SDK stream. Assertions cover prompt/completion usage and include_usage request construction. No recording provenance found in the reviewed suite.
    bedrock Cloud platform User's own AWS account (keys, profile, or API key; custom ARN) AWS processes content under its service terms. AWS states that content is not shared with model providers in current retention modes. AWS states that inputs and outputs are not used for model training. Retention depends on the model and regional account or project mode. The none mode blocks models that require retention. Some review modes retain content for up to 30 days. Zoo does not establish the account setting. n/a Synthetic handler tests mock AWS SDK responses, including metadata.usage input/output totals. No recording provenance found in the reviewed suites. The original cache-token coverage claim is not established by this check.
    vertex Cloud platform User's own GCP project (service account JSON/key file); serves Gemini and Claude on Vertex Google Cloud processes content under its service terms and CDPA. Model-specific terms and abuse-monitoring rules also apply. Google states that customer data is not used for training without prior permission or instruction. This is not default ZDR: abuse logging and model-specific rules can apply. Supported Gemini models use default implicit caching, with cached data deleted within 24 hours. Project controls and applicable terms need separate review. Zoo does not establish the project settings. n/a Commit 97effb0c40 replaces 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.
    openrouter Gateway/reseller OpenRouter API key and credits; BYOK supported OpenRouter plus each upstream endpoint provider. Per-endpoint policies are tracked; unknown policies count as "retains and trains" Three endpoint tiers: ZDR, Safety Retention, and Retention and Training. ZDR enforcement can still allow Safety Retention under account and guardrail settings; zdr=true follows that choice. Self-service defaults allow Safety Retention; enterprise defaults use ZDR only. Strict ZDR-only settings exclude Safety Retention endpoints and can make models unavailable. Inference routing controls do not generally cover enabled tools or plugins. Account settings and provider compliance are not independently verified. n/a Recorded handler test replays a response captured from OpenRouter through the real SDK. Synthetic cases cover BYOK and missing or null costs. Commit 86a4a13699 fixes non-BYOK cost double-counting and removes the deprecated parameter.
    requesty Gateway/reseller Requesty API key (prepaid); BYOK; EU endpoint available Requesty and selected model providers handle prompts. The DPA summary includes subprocessor management. Upstream policies need separate review. Self-service content logging is on by default, with retention up to 30 days. It can be disabled per key. Organization ZDR requires written request and covers Requesty processing. Approved Models constrains upstream selection and fallback. Training terms differ by plan and model. See finding 6. n/a Synthetic handler test; real recording not verified. cached_tokens/caching_tokens variants
    unbound Gateway/reseller Unbound API key Unbound and selected model providers handle prompts. Vendor docs explicitly include Roo Code gateway integration. Docs record prompts and replies in Logs. Activity does not expire with age and remains until its object is deleted. There is no per-organization retention setting. A model-training commitment was not found in reviewed sources. n/a Commit 2f12e5a09d adds 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.
    litellm Gateway/proxy Configured LiteLLM proxy; localhost:4000 by default; operator key. The configured proxy operator and selected upstreams can process prompts. The code does not establish self-hosting or operator identity. Retention and training depend on proxy configuration and upstream terms. A local URL alone does not establish local inference or ZDR. n/a Synthetic handler tests in lite-llm.spec.ts mock OpenAI SDK streams. Assertions cover token totals and cache reads/writes. No recording provenance found in the reviewed suite.
    vercel-ai-gateway Gateway/reseller Vercel AI Gateway API key and credits; BYOK Vercel handles prompts; upstream providers per model Vercel states that the gateway deletes prompts and responses after requests complete. Upstream ZDR is separately enforced through team settings or zeroDataRetention, routing only to providers with verified agreements. Prompt-training controls are separate. An enabled provider allowlist returns 403 when no allowed provider can serve the request. Zoo does not establish each team setting or independently verify upstream processing. n/a Synthetic handler test; real recording not verified. gateway usage chunk with cost and cache_creation_input_tokens
    zoo-gateway Gateway/reseller Zoo Code session token Zoo Gateway has a published privacy policy. Selected AI providers process prompts under their own policies. A uniform upstream no-retention/no-training commitment is not established. Policy v1.1 says gateway prompt/code content is not retained after the response. Request metadata remains for 180 days. Optional remote-control transcripts remain for 7 days. A general prompt-training guarantee and strict-mode rejection are not established. n/a Synthetic handler test; real recording not verified. gateway usage chunk with cost
    poe Gateway/reseller Poe API key Poe publishes privacy and training terms for model providers and developer bots. Full-shield and half-shield interactions have different rules. Applicability of shield rules to this API integration is not confirmed. Partner retention follows each provider's schedule. Poe's own fixed API content-retention period and strict-mode rejection were not established in reviewed sources. Published general policy is not an API-specific ZDR guarantee. n/a Synthetic handler tests use the real AI SDK, provider and usage extractor across Anthropic Messages, Chat Completions and Responses routes. Commit af16e388f6. A recorded response remains missing.
    nanogpt Gateway/reseller NanoGPT API key (prepaid or subscription); BYOK (5% of model cost) NanoGPT sends content to the selected provider, sometimes through a gateway. Published policies describe provider retention and training differences. Normal inference does not log or retain prompt/output content at NanoGPT. API body logging is off by default. Standard routing is the default and some upstream routes allow training. ZDR text/embedding requests use routes with stated ZDR or are rejected before dispatch. This relies on provider statements and has legal exceptions. n/a Synthetic handler test; real recording not verified. root-field and nested cache-read layouts both tested
    kenari Gateway/reseller Kenari keys serve metered routes and BYOK. Docs describe ChatGPT/Grok subscription logins and Claude credits through an Anthropic Console API key. Kenari forwards prompts to selected upstream providers. Its privacy policy covers its processing. Upstream providers apply their own policies. Kenari states that /v1 prompts 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. Authorization for hosted subscription routes and Kenari-funded routes is unverified in reviewed public sources. A Claude OAuth violation is not established. Synthetic handler test; real recording not verified. OpenAI layout
    opencode-go Gateway/reseller (subscription gateway) OpenCode Go / Go Plus / Go Teams subscription, used with an API key. Docs name OpenCode "and other coding agents" as the intended use, with a validated-client list OpenCode (SST) plus upstream providers per model. Upstream terms are listed per model Retention varies by model: many list 0 days; several list 30 days; Gemini Argon lists 55 days; contributor models can permit training. Paid endpoints that train are blocked by default, with workspace controls. Free contributor models have separate training terms. Account settings and upstream processing are not independently verified. Third-party coding agents are documented, subject to traffic and client requirements. Zoo Code is not named in the reviewed validated-client list. The handler sends x-opencode-session. Synthetic handler test; real recording not verified. OpenAI layout, plus the Anthropic-format path (message_delta, cache_creation_input_tokens)
    fireworks Gateway/reseller (inference platform) Fireworks API key (pay-as-you-go) Fireworks operates inference infrastructure. Its open-model data-handling policy does not establish every service or model path. Open-model inference does not persist prompts or generations without opt-in. Metadata is logged; prompt caching can use volatile memory. Storage exceptions include Batch and Responses. Responses store=true is the default and retains conversation data for up to 30 days. Enterprise admins can enable a ZDR policy that rejects requests or jobs that would persist content. n/a Synthetic handler tests mock OpenAI SDK streams and assert prompt/completion token totals. No recording provenance found in the reviewed suite.
    friendli Gateway/reseller (inference platform) FriendliAI API key (pay-as-you-go or dedicated endpoints) FriendliAI provides inference services. Its terms also cover third-party inference providers under separate terms; a blanket no-third-party-sharing claim is not established. Service-specific terms publish ZDR for inputs and outputs, with exceptions for free services and console opt-in to broader retention and use. Free-service content can be used to improve products and services. Third-party inference retention is governed separately. A blanket no-training guarantee and strict rejection behavior are not established by these terms. n/a Synthetic handler tests mock OpenAI SDK streams and assert prompt/completion token totals. No recording provenance found in the reviewed suite.
    baseten Gateway/reseller (inference platform) Baseten API key Baseten operates inference infrastructure. Security practices name cloud infrastructure providers, including AWS and GCP. Default ZDR has customer-directed exceptions. The vendor describes separate rules for asynchronous processing and logging. Review the selected service and configuration. n/a Dedicated handler tests replay a public recorded response through the real SDK. Tests cover request fields, final cumulative usage and HTTP errors. Source and licence are recorded with the fixture. Commit c847a1d218.
    sambanova Gateway/reseller (inference platform) SambaNova API key SambaCloud terms limit Customer Content processing to service delivery or legal requirements. Its DPA restricts Customer Personal Data processing and requires subprocessor obligations. The DPA prohibits model training on Customer Personal Data. Vendor support states that API input tokens and prompts are not stored or used for training by default. Active-service output retention remains unclear. Do not infer a service-wide ZDR guarantee. n/a Synthetic handler tests mock OpenAI SDK streams and assert prompt/completion token totals. No recording provenance found in the reviewed suite.
    ollama Local or remote runtime; cloud models also supported Configured Ollama host; localhost:11434 by default. Optional API key. Local processing applies only when the selected server and model run locally. Remote servers and cloud model routes can process prompts elsewhere. Retention and training depend on the selected deployment and model route. The handler does not enforce local-only operation. n/a Synthetic native-ollama.spec.ts tests mock the Ollama SDK stream. Assertions cover prompt_eval_count and eval_count conversion. No recording provenance found in the reviewed suite.
    lmstudio Local or remote runtime Configured LM Studio server; localhost:1234 by default. Downloaded models can run locally, but the configured server can be on another machine. Handling depends on the server operator and configuration. The handler does not enforce loopback-only routing. n/a Synthetic lm-studio.spec.ts tests mock OpenAI SDK streams and token counting. Assertions cover emitted usage and token-count edge cases. No recording provenance found in the reviewed suites.
    fake-ai Local runtime (test stub) In-process fake; no network None n/a n/a n/a — the handler generates its own usage
    openai-codex Subscription/OAuth ChatGPT Plus/Pro/Team OAuth ("Sign in with ChatGPT") to the Codex backend OpenAI Per ChatGPT/OpenAI terms OpenAI documents an OSS/local-app plan-use program, but this handler uses a fixed Codex client ID and backend endpoint. The documented dynamic registration, stable ext_agent_host_id and plan permission flow are not implemented here. Compliance with that program is unverified; its existence alone does not establish permission for this implementation. Synthetic tests use mocked SDK events and constructed SSE, including direct fallback usage parsing. Assertions cover emitted token totals. No recording provenance found in the reviewed suites.
    qwen-code Subscription/OAuth Legacy Qwen OAuth credentials from ~/.qwen/oauth_creds.json. The handler refreshes through chat.qwen.ai and uses resource_url or a DashScope fallback. Current Plus/Pro subscription login is a separate protocol. Alibaba/Qwen Per Qwen Terms of Service and Privacy Policy (linked from the Qwen Code terms page) Third-party login permission was not found on the reviewed terms page. Existing-handler compatibility with current subscription access is unverified. Synthetic legacy-handler tests mock credential reads and OpenAI SDK streams. Assertions cover prompt/completion token totals and zero usage. No recording provenance found in the reviewed suites. These tests do not verify the current subscription protocol.
    kimi-code Subscription/OAuth Kimi Code OAuth, or a Moonshot API key (api.kimi.com/coding/v1) Moonshot AI Per Moonshot/Kimi terms Split: the API-key route is officially documented for Claude Code and Codex; the OAuth (Kimi Code subscription) route: not found in reviewed sources for third-party tools Synthetic handler tests use the real OpenAI SDK for API-key and OAuth routes, final usage, cache fields and token refresh. Commit 3dd1ed6648. A recorded response remains missing.
    gemini-cli Subscription/OAuth At the audit snapshot, settings defined an OAuth credential path, but runtime code did not read it. The provider fell through to Anthropic. Local commit a125c3ae96 retires the ID. Google Per Google Terms and the Gemini Code Assist privacy notices Google prohibits direct third-party access to Gemini CLI backing services. No active Gemini OAuth consumption was demonstrated in this repository. No dedicated runtime handler at the snapshot. The local retirement commit adds rejection and saved-profile regression coverage.
    github-copilot Subscription/OAuth GitHub Copilot subscription through the VS Code sign-in GitHub (and its upstream model vendors under Copilot terms) GitHub states that Copilot Business and Enterprise customer data is not used for AI model training. Individual subscribers have training opt-out controls. Retention and other processing depend on the applicable agreement, model and settings; no uniform ZDR claim is established here. This handler uses the documented VS Code Language Model API inside the editor. This establishes the integration route, not a blanket rule about all external clients. Copilot inherits the VS Code LM token-counting path. Its own spec mocks the VS Code API. Commit d03066496c adds 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.
    vscode-lm VS Code-mediated model access Selected VS Code language-model provider; account, API key or local runtime depends on that provider. The selected provider and its processors; not necessarily GitHub Copilot. Retention and training follow the selected provider, plan and settings. Copilot terms apply only when a Copilot model is selected. No uniform privacy guarantee is established by the VS Code API. VS Code documents model access by extensions. Provider-specific permission, consent and quota rules still apply. Synthetic tests mock VS Code sendRequest and countTokens. Assertions cover calculated input/output totals and context-window boundaries. Usage comes from token counting, not vendor usage fields in a stream. No recorded-response provenance found in the reviewed suite.

    Findings and work status

    1. gemini-cli: retire the provider. Google prohibits direct third-party access to the services behind Gemini CLI. The original code defined an OAuth path but did not read it at runtime. It returned an Anthropic handler instead. Local branch commit a125c3ae96 retires the provider and preserves saved profiles. This change is not yet recorded as merged or released.
    2. baseten: provider-specific verification added on this branch. Commit c847a1d218 adds 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.
    3. poe: real usage parsing tested on this branch. Commit af16e388f6 adds 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.
    4. kimi-code: usage parsing tested on this branch. Commit 3dd1ed6648 adds 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.
    5. openrouter: cost calculation fixed on this branch. Commit 86a4a13699 adds a response captured from OpenRouter and replays it through the real SDK. The response reports the same cost in usage.cost and upstream inference cost with is_byok: false. The handler previously added both. It now adds upstream inference cost only when is_byok is true. Synthetic tests cover BYOK and missing or null costs. The deprecated stream_options.include_usage parameter is removed.
    6. requesty: correct the listing record. Self-service logging defaults to on. Per-key controls and organization ZDR cover Requesty processing. Organization ZDR requires written request. Approved Models controls upstream selection and fallback. Paid accounts have Requesty's no-training commitment. Free accounts can have Training Permitted Models. Upstream policies need separate review.
    7. kenari: record unresolved access-route authorization. Current docs describe Claude API-key credits and ChatGPT/Grok subscription logins. They do not establish a Claude OAuth violation. Anthropic D.4 restricts resale without approval, but these pages do not prove that approval is absent. OpenAI documents a separate path for paid or remotely hosted plan-use integrations. Kenari approval is unverified in reviewed public sources. Maintainer decision on 2026-11-25: keep Kenari available. Missing public authorization evidence alone is not sufficient to block or retire the provider in this audit. Upstream authorization remains unverified. This decision does not establish upstream approval.
    8. Privacy gaps: narrow the missing answers. Public privacy answers exist for all five providers previously grouped here. Their listing Discussions already record many of them. Remaining gaps include Unbound's training commitment, SambaNova's active-service output retention, Poe's API-specific shield scope and own retention period, and Zoo Gateway's general prompt-training and strict-mode guarantees. NanoGPT publishes defaults and stricter routing behavior. Provider statements do not independently verify implementation. See the privacy recheck below.
    9. gemini: record billing status and region. Unpaid-service data-use rules have regional exceptions. Paid-service rules apply to unpaid use in the EEA, Switzerland and UK. Gemini API paid-service status depends on an active billing account for the Cloud project. Each user supplies a key, so there is no single Zoo Code account tier.
    10. qwen-code: distinguish legacy OAuth from subscription login. The free allowance ended on 2026-04-15. Current Qwen source uses subscription_credentials.json, auth.qwen.ai, the qwen-code-cli client and a fixed api.qwen.ai inference 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 b9fa437db6 also 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 are baseten.spec.ts, poe-usage.spec.ts, kimi-code-usage.spec.ts and openrouter-usage.spec.ts under src/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:

    • Unbound: Its Roo Code integration guide identifies the gateway product used by this handler. Its retention documentation says activity does not expire with age. The FAQ says Logs record prompt and response content. A training commitment remains unresolved. Listing Discussion #2554.
    • SambaNova: SambaCloud terms, section 2.1 limit content use to service delivery and legal requirements. Its DPA prohibits training on Customer Personal Data. A vendor support reply states a default no-storage/no-training position for API inputs and prompts. That reply does not establish every output-retention rule. Listing Discussion #2553.
    • Poe: Its Privacy Center publishes training rules and partner retention information. It describes bots and apps. The API guide does not establish how privacy shields apply to this handler. Keep API scope and Poe's own fixed retention period unresolved. Listing Discussion #2550.
    • NanoGPT: Its privacy explanation publishes default handling, optional API logging, upstream differences and ZDR rejection behavior. Its terms distinguish NanoGPT's content licence from model-provider terms. The listing already records these distinctions. Listing Discussion #2543.
    • Zoo Gateway: Its privacy policy, effective November 18, 2026, version 1.1, publishes gateway content handling and retention periods. It distinguishes gateway metadata from optional remote-control transcripts and upstream provider policies. The audit must not say that this policy is missing. Listing Discussion #2559 now cites policy version 1.1 and records that IP addresses are stored separately from AI request logs.

    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.ts and openai-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.ts replaces createMessage and checks its own supplied output. It does not verify handler parsing of usageMetadata. This was an additional test gap under #2672. Commit 97effb0c40 now replaces that stub with handler parsing assertions and adds a real recorded-stream replay. Claude-on-Vertex has separate synthetic handler coverage in anthropic-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.ts replays 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 with MAX_TOKENS; it still contains text and final usage. These changes are in branch commit 97effb0c40 and 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.ts supplies usage fields but does not assert emitted token totals. Its previous basic-coverage claim was too strong. Commit 2f12e5a09d now adds provider-specific usage assertions through the real SDK in unbound-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: VsCodeLmHandler calculates final usage with token counting. GitHubCopilotHandler inherits that path. The original stream-usage wording was incorrect. Shared tests assert calculated totals with mocked VS Code APIs. Commit d03066496c now 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.ts and lite-llm.ts accept 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.ts instead uses a fixed client ID and identity scopes; openai-codex.ts calls 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.

  3. gh311 commented on Nov 25, 2026

    @gh311
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions