Quick Start

Start with the hosted Nadir LLM router: create an account, copy an API key, and change the base URL of an OpenAI- or Anthropic-compatible client to Nadir.

Get started with the Nadir hosted platform in under a minute. No server to run, no infra to manage. Sign up, grab an API key, and point your code to api.getnadir.com.

1. Create an account

Sign up at getnadir.com/auth. Bring your own provider keys. Nadir charges a flat $0.002 per request, the first 50 requests a month are free, and there is no base fee.

2. Get your API key

After signing up, go to the API Keys page in your dashboard and copy your key.

3. Make a request

Use the OpenAI-compatible endpoint. Just change the base URL and API key.

import openai

client = openai.OpenAI(
    base_url="https://api.getnadir.com/v1",
    api_key="YOUR_NADIR_API_KEY",
)

response = client.chat.completions.create(
    messages=[{"role": "user", "content": "Explain quantum computing"}],
    model="auto",  # Nadir picks the best model
)

print(response.choices[0].message.content)

4. Or use the Anthropic-compatible endpoint

Nadir also serves POST /v1/messages in Anthropic's Messages format, so Claude Code and the Anthropic SDKs work by changing the base URL. Point at the host root, not /v1, because the client appends the path itself.

Shell
export ANTHROPIC_BASE_URL="https://api.getnadir.com"
export ANTHROPIC_API_KEY="YOUR_NADIR_API_KEY"

Tip

Set model to "auto" to let Nadir's classifier pick the most cost-effective model. Or specify a model name like "claude-sonnet-5" to pin the request.

Info

Anthropic-native request fields pass through untouched: thinking, container, mcp_servers, and context_management, along with the anthropic-beta header. Server-side compaction and context editing keep working through Nadir with no changes on your side. The forwarding rule is a denylist of the few fields Nadir adds, so new Anthropic parameters work the day they ship rather than being silently dropped. This holds when the request lands on a Claude model. A route to a non-Claude provider drops Anthropic-only fields, since the target API has nowhere to put them.

Info

Want to self-host instead? Check the Self-Host guide to run NadirClaw on your own machine.

Pages on this site

Machine-readable summaries of this site: llms.txt and llms-full.txt.