--model flag or the DEFAULT_MODEL config key.
Model string format
Supported providers
Google Gemini
Config key:
GEMINI_API_KEYModel: gemini/gemini-2.5-flashFree tier via AI Studio. This is the default provider — no billing required to start.OpenAI
Config key:
OPENAI_API_KEYModel: openai/gpt-4oAlso supports o1, o3, o4 series models.Anthropic
Config key:
ANTHROPIC_API_KEYModel: anthropic/claude-3-5-sonnet-20241022Full Claude 3 family supported.Groq
Config key:
GROQ_API_KEYModel: groq/llama3-70b-8192Free tier available. Extremely fast inference.xAI
Config key:
XAI_API_KEYModel: xai/grok-2Mistral
Config key:
MISTRAL_API_KEYModel: mistral/mistral-large-latestCohere
Config key:
COHERE_API_KEYModel: command-r-plusDeepSeek
Config key:
DEEPSEEK_API_KEYModel: deepseek/deepseek-chatProvider routing table
When you specify a model string, notewise determines which API key is needed viaAppSettings.get_api_key_name_for_model():
- If the string contains
/, the prefix before the slash is the provider. - Otherwise, heuristics based on model name prefixes are used (
gpt→ OpenAI,claude→ Anthropic). - The resolved API key env var is checked. If the key is missing, the pipeline logs an error and the video fails.
| Model prefix / provider slug | Required env var |
|---|---|
gemini/, vertex/, vertex_ai/ | GEMINI_API_KEY |
openai/, gpt, o1, o3, o4 | OPENAI_API_KEY |
anthropic/, claude | ANTHROPIC_API_KEY |
groq/ | GROQ_API_KEY |
xai/, grok | XAI_API_KEY |
mistral/ | MISTRAL_API_KEY |
cohere/, command | COHERE_API_KEY |
deepseek/ | DEEPSEEK_API_KEY |
Changing the default model
Edit~/.notewise/config.env:
Usage tracking
After each video, notewise records token usage and estimated cost in SQLite.completion_cost() and are approximate.