Skip to content

docs: add Nadir provider page - #861

Open
doramirdor wants to merge 1 commit into
BerriAI:mainfrom
doramirdor:docs/add-nadir-provider
Open

docs: add Nadir provider page#861
doramirdor wants to merge 1 commit into
BerriAI:mainfrom
doramirdor:docs/add-nadir-provider

Conversation

@doramirdor

Copy link
Copy Markdown

Adds a provider page for Nadir, the provider added to litellm in BerriAI/litellm#33227.

Disclosure: I work on Nadir.

Why this is needed

tests/documentation_tests/test_env_keys.py in the main repo fails on that PR:

Exception: Environment variables read under ./litellm but mentioned nowhere in the docs: ['NADIR_API_BASE', 'NADIR_API_KEY']

Since the docs moved to this repo, the code-quality and documentation jobs there clone BerriAI/litellm-docs@main, so that check cannot pass until a page here documents those two variables. provider_endpoints_support.json in the main repo also already links to /docs/providers/nadir, which is currently a dead link.

What the page says

The page documents what the provider actually enforces, not the full OpenAI surface:

  • One virtual model, nadir/auto; the concrete model is chosen server-side per request.
  • /chat/completions only, matching the provider_endpoints_support.json entry.
  • Only the 7 body params the endpoint honors, since Nadir validates into its own request schema and silently drops anything outside it. extra_headers and max_retries are noted as transport-side.
  • An explicit callout that tools / tool_choice / functions are not supported.
  • Cost tracking via _hidden_params['additional_headers']['llm_provider-x-litellm-response-cost'], the same mechanism and doc phrasing the OpenRouter page uses, because the routed model is a vendor name with no nadir/* pricing entry.

Verification

  • npm run build passes. The page produces no warnings; the 5 broken-anchor warnings are pre-existing on release_notes/* pages and unrelated.
  • With this branch checked out into docs/my-website, all four documentation tests in the main repo pass, including the one currently failing: Every environment variable read under ./litellm is documented.
  • sidebars.js entry added alongside the other providers.

Nadir (https://getnadir.com) is an OpenAI-compatible intelligent router.
The provider is added to litellm in BerriAI/litellm#33227; this documents
the env vars it reads (NADIR_API_KEY, NADIR_API_BASE) and the constraints
the provider actually enforces.

Disclosure: I work on Nadir.
@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview Aug 11, 2026 8:42am

Request Review

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