Skip to content

Add Synap402 provider (replacement for #9038, three ready models) - #14638

Open
weare-linkrra wants to merge 4 commits into
anomalyco:devfrom
weare-linkrra:add-synap402-provider-20261126
Open

weare-linkrra wants to merge 4 commits into
anomalyco:devfrom
weare-linkrra:add-synap402-provider-20261126

Conversation

@weare-linkrra

@weare-linkrra weare-linkrra commented Nov 26, 2026 •

Copy link
Copy Markdown

Summary

Adds Synap402 (operated by Linkrra) as synap, with three currently available text models and the public canonical API https://synap402.com/v1.

This is the replacement for #9038, not a second independent provider submission. The previous PR is based on an account we can no longer push to (explained in its November 20 comment), and its latest validate check fails. We cannot repair that branch or close its PR from this account. Please close #9038 as superseded if this replacement is accepted; do not merge both.

Disclosure: we operate Synap402. No existing provider/model files or schemas are changed.

Evidence and published v1 changes

Source checked 2026-11-26: https://synap402.com/v1/models
Documentation: https://synap402.com/docs.html

Exact API model id Base model Input / 1M Output / 1M Cached input / 1M Context / max output
gpt-oss-20b openai/gpt-oss-20b $0.017 $0.085 $0.008 65,536 / 65,536
qwen3-coder-30b alibaba/qwen3-coder-30b-a3b-instruct $0.0675 $0.27 $0.03375 98,304 / 98,304
cognitivecomputations/dolphin-mistral-24b-venice-edition cognitivecomputations/dolphin-mistral-24b-venice-edition $0.34 $1.52 Not advertised 128,000 / 8,192

Dolphin price/availability and limits verified 2026-11-26: https://pool.linkrra.com/v1/models ; upstream limit provenance: https://openrouter.ai/api/v1/models/cognitivecomputations/dolphin-mistral-24b-venice-edition/endpoints . Dolphin inherits the matching lab limits; no redundant host limit override remains.

All three source entries currently have available=true. The two fleet entries also expose is_ready=true; the Dolphin brokered entry does not expose an is_ready flag, so none is asserted for it. This is deliberately a small initial listing, not a claim to include every model Synap402 offers. Unlike the stale earlier PR, it does not advertise Gemma or Qwen Instruct entries that are no longer ready in our feed.

The two fleet models advertise tools and structured output; top_k=false avoids inheriting an undocumented host sampling parameter. The docs describe automatic prompt-prefix caching; cache prices come directly from the feed. GPT-OSS explicitly repeats reasoning.supported=true solely to produce the required v1 reasoning_options=[]; no unsupported effort or toggle controls are claimed. Host output limits are set explicitly so the lab's larger GPT-OSS output window is not inherited.

Manual maintenance and retirement plan

We (Synap402/Linkrra, GitHub @weare-linkrra, the PR author) will manually review these three entries against https://pool.linkrra.com/v1/models at least weekly. Whenever a model disappears from the feed, becomes unavailable, or an exposed is_ready flag becomes false, we will open a removal PR within 7 days of the change. Whenever a listed price or host limit changes, we will open an update PR within 7 days of the change, with dated feed evidence and validation/v1-diff results. Capability changes require separate evidence and review. Maintainers can contact the PR author @weare-linkrra on this PR for corrections or retirement requests. No sync module is included.

Checks (re-run 2026-11-26 after review fixes)

  • bun run validate: PASS, exit 0; resolves all three Synap models, including Dolphin context 128000 / output 8192 inherited from its base model.
  • bun run v1:check 3a002431e27566b0aa754a408250286f8d70ec40: PASS, exit 0; v1 output is byte-identical to the prior PR head. Removing the redundant limits changes no published value.
  • bun run v1:check 02f2214064474915b696088a361998c97baa980d: reviewed, exit 1 for this PR's intentional additions only: provider fields id/env/npm/api/name/doc and the three models listed in the evidence table (synap/gpt-oss-20b, synap/qwen3-coder-30b, synap/cognitivecomputations/dolphin-mistral-24b-venice-edition). Changed 3 of 22 views; no existing entries changed or removed. These additions await maintainer approval.
  • Existing dependencies were reused in an isolated checkout; no dependency install and no sync module.

Dolphin host metadata live (2026-11-26)

Added the existing lab model cognitivecomputations/dolphin-mistral-24b-venice-edition to Synap after deploying and verifying its client metadata. Source: https://pool.linkrra.com/v1/models (observed 2026-11-26T02:10:09Z). Upstream provenance: https://openrouter.ai/api/v1/models/cognitivecomputations/dolphin-mistral-24b-venice-edition/endpoints .

  • Context 128000; output 8192; text input/output; USD 0.34 input / 1.52 output per million tokens.
  • Supported sampling fields are published; no tools, reasoning controls, caching or JSON-schema output claimed.
  • No provider allowlist/routing/pricing changes: all 20 public IDs and prices remained identical; the unpaid x402 POST still returned 402.
  • bun --no-install --no-env-file --no-macros packages/core/script/validate.ts: PASS using existing dependencies in an isolated clone.
  • v1-check against the prior PR head: exit 1, exactly one intended new Synap model; no existing fields changed. This additive catalogue change is explicitly submitted for maintainer review, not claimed to be a clean v1 diff.

@github-actions

Copy link
Copy Markdown
Contributor

Action items

  • [high] [violation] providers/synap/models/gpt-oss-20b.toml:11 - Check: Relay reasoning controls must be either the host's real control set copied from the lab/peer baseline or an affirmatively documented no-control surface (AGENTS.md → Reasoning controls: "No controls means no caller control, not uncertainty"; audit skill evidence bar: no-controls requires an affirmative fact, not "I didn't check"). Why: Synap402 is a multi-model relay of openai/gpt-oss-20b, and this model's established same-surface baseline is reasoning = { supported = true, effort = ["low", "medium", "high"] } via reasoning_effort (see the peer entries under providers/openrouter, providers/ovhcloud, providers/groq, providers/deepinfra, and ~25 more hosts). Authoring reasoning = { supported = true } with no toggle/effort/budget publishes "always-on, no caller control" in both APIs, and neither the file comment ("no unsupported host effort/toggle claims") nor the PR body affirms that this API takes no reasoning-effort field — that is a statement of restraint, not evidence, which is exactly the relay pattern AGENTS.md forbids. Clients will conclude reasoning effort cannot be steered on this host. Action: Either author the controls this host actually accepts (the peer effort = ["low", "medium", "high"] set if the chat-completions endpoint forwards reasoning_effort, citing the host evidence and wire field in the leading comment block), or record the affirmative host fact that no reasoning control exists — e.g. the feed's supported_parameters omitting any effort field, as the file itself already does for top_k, or docs stating effort is fixed — in the header, following the precedent of providers/merge-gateway/models/openai/gpt-oss-20b.toml (configurable = false and no controls).

@github-actions

Copy link
Copy Markdown
Contributor

Action items

  • [low] [possible mistake] providers/synap/models/gpt-oss-20b.toml:2 - Check: Ongoing maintenance of a feed-conditioned listing (sync.md → "Sync modules (recommended)"; AGENTS.md review checklist). Why: Both model headers state entries are "included only while available=true and is_ready=true", and the PR body itself documents that the previous submission (feat: add Synap provider (4 models) #9038) went stale by advertising Gemma/Qwen entries that are no longer ready in the feed. Without automation, a model that flips is_ready=false stays published until someone manually deletes it, and feed prices/limits drift until manually edited — the exact churn this feed has already demonstrated. The feed, as described in the PR, exposes per-model pricing, top_provider limits, and lifecycle flags, i.e. the same OpenRouter-shaped surface that comparable small providers (Keln, Morph, Prime) sync from. Action: Add a packages/core/src/sync/providers/synap.ts module per sync.md that syncs the feed's authoritative fields (prices, limits) and removes models the feed no longer reports ready, or state the concrete manual retirement/update plan the PR body alludes to (its text is truncated before the plan is given) so a maintainer can hold the listing to it.

@github-actions

Copy link
Copy Markdown
Contributor

Action items

  • [medium] [violation] providers/synap/models/cognitivecomputations/dolphin-mistral-24b-venice-edition.toml:14-16 - Check: Override-only base_model files must not restate values identical to the base (AGENTS.md → "Override-only provider files"; README → "do not restate the base's … limit … unless this host actually differs"). Why: The [limit] block copies the lab file exactly (models/cognitivecomputations/dolphin-mistral-24b-venice-edition.toml already carries context = 128_000, output = 8_192, the values this file's own header says were verified as matching), so the merge resolves the same numbers with or without it, and the restatement pins the host file against future lab corrections. Action: Delete the [limit] table so the limits resolve from base_model; keep the "verified 2026-11-26: context 128000, max_completion_tokens 8192" note in the header comment if you want to record that the host matches the lab.
  • [medium] [possible mistake] providers/synap/models/cognitivecomputations/dolphin-mistral-24b-venice-edition.toml:1 - Check: Every change visible in the published v1 API must be listed in the PR (AGENTS.md → "Never break v1 … every bun run v1:check change is a sourced fix, listed in the PR"). Why: The title/summary say "two ready models" and the body's "Evidence and published v1 changes" table lists only gpt-oss-20b and qwen3-coder-30b, but the third commit adds the Dolphin Venice model — a text chat model with per-token cost and no v2_only, so it also enters v1 api.json as an unlisted addition (while its citations live only in the TOML header). Action: Add a row for cognitivecomputations/dolphin-mistral-24b-venice-edition to the PR body's v1-changes table (id, base model, $0.34 input / $1.52 output per 1M, 128000 context / 8192 output, sources: https://pool.linkrra.com/v1/models and the OpenRouter endpoints link) — or drop that commit from this PR so the body matches the diff.

@weare-linkrra weare-linkrra changed the title Add Synap402 provider (replacement for #9038, two ready models) Add Synap402 provider (replacement for #9038, three ready models) Nov 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Action items

  • [low] [possible mistake] providers/synap/models/gpt-oss-20b.toml:5 - Check: compatibility.max_tokens_field on the chat-completions surface (AGENTS.md → APIs). Why: The header treats the feed's supported_parameters as the authoritative request surface — it is used to justify top_k = false and the no-reasoning-controls claim — and that enumeration lists max_tokens with no max_completion_tokens. All three model files leave max_tokens_field out, which publishes the default that the host takes OpenAI's current max_completion_tokens; if the host only accepts the older field, v2 clients would send an output cap the API ignores, so limits silently don't apply. The same gap applies to qwen3-coder-30b.toml and cognitivecomputations/dolphin-mistral-24b-venice-edition.toml (brokered through the same OpenRouter-format gateway). Action: As the host operator, verify which output-cap field the chat-completions endpoint accepts. If it only takes max_tokens, add [api.chat-completions] compatibility = { max_tokens_field = "max_tokens" } to the three files; if max_completion_tokens is accepted, note that in the header so the default stands.

This branch was previously deployed

1 inactive deployment
release — f2d96618 Deployed Nov 26, 2026 by weare-linkrra via review #21004
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant