provider/model-name with --model or DEFAULT_MODEL.
gemini/gemini-2.5-flash.
Common routes
Default Gemini path
Set
GEMINI_API_KEY and use gemini/gemini-2.5-flash.OpenAI or Anthropic
Set
OPENAI_API_KEY or ANTHROPIC_API_KEY, then use a matching LiteLLM
model string.Hosted routing
Use OpenRouter, Vercel AI Gateway, Azure, Bedrock, Databricks, Cloudflare,
Together, Fireworks, or Groq.
Subscription login
Use ChatGPT or GitHub Copilot OAuth instead of static API keys.
Custom endpoint
Save one or more OpenAI-compatible endpoints with
notewise setup or
notewise inference.Credential map
Model inference
When a model string has no explicit provider prefix, NoteWise can infer common key requirements from model names such as Gemini, GPT/OpenAI, Claude, Groq, Grok/xAI, Mistral, Cohere/Command, and DeepSeek.Saved custom endpoints
notewise process --model <name>/<model-id> automatically resolves a saved
endpoint named <name>, uses that profile’s base URL and API key, and sends
LiteLLM openai/<model-id>. This lookup is exact after endpoint-name
normalization, so profiles remain isolated. Use explicit --base-url or
--api-key only to override a single run; neither flag changes the saved
profile. When --base-url changes a saved endpoint, supply --api-key so the
saved credential is never sent to a different origin.
Use notewise inference list, add, update, and delete to manage the
saved profiles. See Configuration
for the registry format and setup behavior.