Skip to content

feat(provider): add Nexus provider#2144

Open
hcastc00 wants to merge 2 commits into
anomalyco:devfrom
dappnode:dev
Open

feat(provider): add Nexus provider#2144
hcastc00 wants to merge 2 commits into
anomalyco:devfrom
dappnode:dev

Conversation

@hcastc00

Copy link
Copy Markdown

Summary

  • Add Nexus as an OpenAI-compatible provider with provider metadata, logo, and models.
  • Register Nexus model sync and add the nexus:sync package script.
  • Sync Nexus models from the production /v1/models catalog, including USD pricing, limits, and advertised capabilities.
  • Keep nexus/auto as a router model without fixed pricing because cost depends on the selected routed model.

Notes

  • Nexus model IDs map directly to TOML paths under providers/nexus/models.
  • Pricing uses the production USD fields from https://nexus-api.dappnode.com/v1/models.
  • Private models are TEE-backed and intentionally remain separate from their public model IDs.

} from "../src/sync/providers/nexus.js";

const model: NexusModel = {
id: "deepseek/deepseek-v4-pro",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont want to add tests


[cost]
input = 0.3116
output = 1.2578

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can u add reasoning_options for all the models plz.

Comment thread providers/nexus/README.md
@@ -0,0 +1,26 @@
Nexus Models

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this

Comment thread providers/nexus/logo.svg
@@ -0,0 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -0.5 134 134" fill="currentColor">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this same size as other logos plz

Comment thread sync.md
- Existing `status`, `interleaved`, `knowledge`, `limit.input`, and `cost.tiers` may be preserved when OpenRouter is not authoritative enough for those fields.
- Canonical OpenRouter model IDs should emit `base_model` references to model metadata when a matching `models/` entry exists.

## Nexus Notes

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm this

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.

2 participants