Skip to main content
NoteWise sends generation requests through LiteLLM. Use a model string like provider/model-name with --model or DEFAULT_MODEL.
The source default is 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

Never share API keys, OAuth tokens, cookies, raw prompts, or provider payloads. Logs and error reports should stay redacted.

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.
Last modified on September 13, 2026