docs: Starveri custom OpenAI-compatible gateway example (#66) - #76
Merged
Conversation
Adds docs/providers/starveri.md — a worked example of pointing NadirClaw at a third-party OpenAI-compatible gateway, using Starveri as the concrete case. Covers the four env vars (NADIRCLAW_API_BASE + the per-tier model IDs) and a copy-pasteable models.local.json pricing override, with neutral framing and caveats about price drift and unmodeled cached-input/tool fees. No code change — this is configuration users already control. Per the triage discussion on #66, per-provider metadata stays out of the repo (it drifts faster than our release cadence); models.local.json is the right home for it. Links the new page from the README custom-endpoint section. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #66.
Adds
docs/providers/starveri.md— a worked example of routing NadirClaw at a third-party OpenAI-compatible gateway, using Starveri as the concrete case, plus a link from the README's custom-endpoint section.What's in the doc
NADIRCLAW_API_BASE+NADIRCLAW_SIMPLE_MODEL/NADIRCLAW_MID_MODEL/NADIRCLAW_COMPLEX_MODEL).~/.nadirclaw/models.local.jsonsnippet with the current/modelsprices and a "verify against the live endpoint — prices drift" caveat.cost_per_m_input/cost_per_m_outputschema, and that it's prepaid-credits, not a permanent free provider.Why this shape
Per the triage on #66: a docs example is welcome, but per-provider metadata baked into the repo is not — third-party gateway pricing drifts faster than the release cadence, so
models.local.json(user-controlled freshness) is the right home. No code change — this is configuration users already control.🤖 Generated with Claude Code