> ## Documentation Index
> Fetch the complete documentation index at: https://notewise.click/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Models and providers

> Choose a LiteLLM provider and set the credentials NoteWise expects.

NoteWise sends generation requests through LiteLLM. Use a model string like `provider/model-name` with `--model` or `DEFAULT_MODEL`.

```bash theme={"theme":{"light":"github-light","dark":"tokyo-night"}}
notewise process "https://youtu.be/VIDEO_ID" --model gemini/gemini-2.5-flash
```

The source default is `gemini/gemini-2.5-flash`.

## Common routes

<CardGroup cols={2}>
  <Card title="Default Gemini path">
    Set `GEMINI_API_KEY` and use `gemini/gemini-2.5-flash`.
  </Card>

  <Card title="OpenAI or Anthropic">
    Set `OPENAI_API_KEY` or `ANTHROPIC_API_KEY`, then use a matching LiteLLM
    model string.
  </Card>

  <Card title="Hosted routing">
    Use OpenRouter, Vercel AI Gateway, Azure, Bedrock, Databricks, Cloudflare,
    Together, Fireworks, or Groq.
  </Card>

  <Card title="Subscription login" href="/docs/config/oauth">
    Use ChatGPT or GitHub Copilot OAuth instead of static API keys.
  </Card>
</CardGroup>

## Credential map

| Provider          | Credential                                        |
| ----------------- | ------------------------------------------------- |
| Gemini / Vertex   | `GEMINI_API_KEY`                                  |
| OpenAI            | `OPENAI_API_KEY`                                  |
| Anthropic         | `ANTHROPIC_API_KEY`                               |
| Groq              | `GROQ_API_KEY`                                    |
| xAI               | `XAI_API_KEY`                                     |
| Mistral           | `MISTRAL_API_KEY`                                 |
| Cohere            | `COHERE_API_KEY`                                  |
| DeepSeek          | `DEEPSEEK_API_KEY`                                |
| OpenRouter        | `OPENROUTER_API_KEY`                              |
| Azure             | `AZURE_API_KEY` or `AZURE_OPENAI_API_KEY`         |
| Vercel AI Gateway | `VERCEL_AI_GATEWAY_API_KEY`                       |
| Together          | `TOGETHERAI_API_KEY`                              |
| Fireworks         | `FIREWORKS_AI_API_KEY`                            |
| Perplexity        | `PERPLEXITYAI_API_KEY`                            |
| Cloudflare        | `CLOUDFLARE_API_KEY` plus `CLOUDFLARE_ACCOUNT_ID` |
| Databricks        | `DATABRICKS_API_KEY` plus `DATABRICKS_API_BASE`   |
| Bedrock           | AWS credential chain                              |

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

## 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.
