diff --git a/.claude/commands/llms/update-models-alibaba.md b/.claude/commands/llms/update-models-alibaba.md new file mode 100644 index 000000000..3f7566b46 --- /dev/null +++ b/.claude/commands/llms/update-models-alibaba.md @@ -0,0 +1,20 @@ +--- +description: Update Alibaba model definitions with latest pricing and capabilities +--- + +Update `src/modules/llms/server/openai/models/alibaba.models.ts` with latest model definitions. + +Reference `src/modules/llms/server/llm.server.types.ts` and `src/modules/llms/server/models.data.ts` for context only. Focus on the model file, do not descend into other code. + +**Primary Sources:** +- Models & Pricing: https://www.alibabacloud.com/help/en/model-studio/models +- Billing Guide: https://www.alibabacloud.com/help/en/model-studio/billing-for-model-studio + +**Fallbacks if blocked:** +- Search "alibaba model studio latest pricing", "alibaba latest models", "qwen models pricing", or search GitHub for latest model prices and context windows + +**Important:** +- Review the full model list for additions, removals, and price changes +- Minimize whitespace/comment changes, focus on content +- Preserve comments to make diffs easy to review +- Flag broken links or unexpected content diff --git a/.claude/commands/llms/update-models-anthropic.md b/.claude/commands/llms/update-models-anthropic.md new file mode 100644 index 000000000..d8db182c7 --- /dev/null +++ b/.claude/commands/llms/update-models-anthropic.md @@ -0,0 +1,20 @@ +--- +description: Update Anthropic model definitions with latest pricing and capabilities +--- + +Update `src/modules/llms/server/anthropic/anthropic.models.ts` with latest model definitions. + +Reference `src/modules/llms/server/llm.server.types.ts` and `src/modules/llms/server/models.data.ts` for context only. Focus on the model file, do not descend into other code. + +**Primary Sources:** +- Models: https://docs.claude.com/en/docs/about-claude/models/overview +- Pricing: https://claude.com/pricing#api +- Deprecations: https://docs.claude.com/en/docs/about-claude/model-deprecations + +**Fallbacks if blocked:** Check Anthropic TypeScript SDK at https://github.com/anthropics/anthropic-sdk-typescript, search "anthropic models latest pricing", "anthropic latest models", or search GitHub for latest model prices and context windows + +**Important:** +- Review the full model list for additions, removals, and price changes +- Minimize whitespace/comment changes, focus on content +- Preserve comments to make diffs easy to review +- Flag broken links or unexpected content \ No newline at end of file diff --git a/.claude/commands/llms/update-models-deepseek.md b/.claude/commands/llms/update-models-deepseek.md new file mode 100644 index 000000000..f33f368b6 --- /dev/null +++ b/.claude/commands/llms/update-models-deepseek.md @@ -0,0 +1,22 @@ +--- +description: Update DeepSeek model definitions with latest pricing and capabilities +--- + +Update `src/modules/llms/server/openai/models/deepseek.models.ts` with latest model definitions. + +Reference `src/modules/llms/server/llm.server.types.ts` and `src/modules/llms/server/models.data.ts` for context only. Focus on the model file, do not descend into other code. + +**Primary Sources:** +- Pricing: https://api-docs.deepseek.com/quick_start/pricing +- Model List: https://api-docs.deepseek.com/api/list-models +- Release Notes: https://api-docs.deepseek.com/news/ (check for version updates like V3.2-Exp) + +**Note:** DeepSeek frequently releases new versions with significant pricing changes. Always check release notes first. + +**Fallbacks if blocked:** Search "deepseek api latest pricing", "deepseek latest models", "deepseek models list" or search GitHub for latest model prices and context windows + +**Important:** +- Review the full model list for additions, removals, and price changes +- Minimize whitespace/comment changes, focus on content +- Preserve comments to make diffs easy to review +- Flag broken links or unexpected content \ No newline at end of file diff --git a/.claude/commands/llms/update-models-gemini.md b/.claude/commands/llms/update-models-gemini.md new file mode 100644 index 000000000..c160ffeae --- /dev/null +++ b/.claude/commands/llms/update-models-gemini.md @@ -0,0 +1,21 @@ +--- +description: Update Gemini model definitions with latest pricing and capabilities +--- + +Update `src/modules/llms/server/gemini/gemini.models.ts` with latest model definitions. + +Reference `src/modules/llms/server/llm.types.ts`, `src/modules/llms/server/llm.server.types.ts`, and `src/modules/llms/server/models.data.ts` for context only. Focus on the model file, do not descend into other code. + +**Primary Sources:** +- Models: https://ai.google.dev/gemini-api/docs/models +- Pricing: https://ai.google.dev/gemini-api/docs/pricing +- Changelog: https://ai.google.dev/gemini-api/docs/changelog + +**Fallbacks if blocked:** Check Google AI JS SDK at https://github.com/googleapis/js-genai, search "gemini models latest pricing", "gemini latest models", or search GitHub for latest model prices and context windows + +**Important:** +- Ignore context windows (auto-determined at runtime) and training cutoffs (not supported) +- Review the full model list for additions, removals, and price changes +- Minimize whitespace/comment changes, focus on content +- Preserve comments to make diffs easy to review, do NOT remove comments +- Flag broken links or unexpected content diff --git a/.claude/commands/llms/update-models-groq.md b/.claude/commands/llms/update-models-groq.md new file mode 100644 index 000000000..12a117dd4 --- /dev/null +++ b/.claude/commands/llms/update-models-groq.md @@ -0,0 +1,19 @@ +--- +description: Update Groq model definitions with latest pricing and capabilities +--- + +Update `src/modules/llms/server/openai/models/groq.models.ts` with latest model definitions. + +Reference `src/modules/llms/server/llm.server.types.ts` and `src/modules/llms/server/models.data.ts` for context only. Focus on the model file, do not descend into other code. + +**Primary Sources:** +- Models: https://console.groq.com/docs/models +- Pricing: https://groq.com/pricing/ + +**Fallbacks if blocked:** Search "groq models latest pricing", "groq latest models", "groq api models", or search GitHub for latest model prices and context windows + +**Important:** +- Review the full model list for additions, removals, and price changes +- Minimize whitespace/comment changes, focus on content +- Preserve comments to make diffs easy to review +- Flag broken links or unexpected content \ No newline at end of file diff --git a/.claude/commands/llms/update-models-mistral.md b/.claude/commands/llms/update-models-mistral.md new file mode 100644 index 000000000..210d6d0a1 --- /dev/null +++ b/.claude/commands/llms/update-models-mistral.md @@ -0,0 +1,24 @@ +--- +description: Update Mistral model definitions with latest pricing and capabilities +--- + +Update `src/modules/llms/server/openai/models/mistral.models.ts` with latest model definitions. + +Reference `src/modules/llms/server/llm.server.types.ts` and `src/modules/llms/server/models.data.ts` for context only. Focus on the model file, do not descend into other code. + +**Primary Sources:** +- Models: https://docs.mistral.ai/getting-started/models/models_overview/ +- Pricing: https://mistral.ai/pricing#api-pricing +- Changelog: https://docs.mistral.ai/getting-started/changelog/ + +**Fallbacks if blocked:** +- Search "mistral [model-name] latest pricing", "mistral api latest pricing", "mistral latest models", or search GitHub for latest model prices and context windows +- Cross-reference: pricepertoken.com, helicone.ai, artificialanalysis.ai +- Check Mistral API list models response +- As last resort: Use Chrome DevTools MCP to render pricing table + +**Important:** +- Review the full model list for additions, removals, and price changes +- Minimize whitespace/comment changes, focus on content +- Preserve comments to make diffs easy to review +- Flag broken links or unexpected content diff --git a/.claude/commands/llms/update-models-ollama.md b/.claude/commands/llms/update-models-ollama.md new file mode 100644 index 000000000..607293f77 --- /dev/null +++ b/.claude/commands/llms/update-models-ollama.md @@ -0,0 +1,25 @@ +--- +description: Update Ollama model definitions with latest featured models +--- + +Update `src/modules/llms/server/ollama/ollama.models.ts` with latest model definitions. + +Reference `src/modules/llms/server/llm.server.types.ts` and `src/modules/llms/server/models.data.ts` for context only. Focus on the model file, do not descend into other code. + +**Primary Sources:** +- Model Library: https://ollama.com/library?sort=featured + +**Fallbacks if blocked:** Check https://github.com/ollama/ollama, search "ollama featured models", "ollama latest models", or search GitHub for latest model info + +**Important:** +- Skip models below 50,000 pulls +- Sort them in the EXACT same order as the source (featured models) +- Extract tags: 'tools' → hasTools, 'vision' → hasVision, 'embedding' → isEmbedding +- Extract 'b' tags (1.5b, 7b, 32b) to tags field +- Set today's date (YYYYMMDD format) for newly added models only +- Update OLLAMA_LAST_UPDATE constant to today's date +- Do NOT change dates of existing models +- Review the full model list for additions, removals, and changes +- Minimize whitespace/comment changes, focus on content +- Preserve comments and newlines to make diffs easy to review +- Sort them in the EXACT same order as the source (featured models) diff --git a/.claude/commands/llms/update-models-openai.md b/.claude/commands/llms/update-models-openai.md new file mode 100644 index 000000000..c0963dd35 --- /dev/null +++ b/.claude/commands/llms/update-models-openai.md @@ -0,0 +1,26 @@ +--- +description: Update OpenAI model definitions with latest pricing and capabilities +--- + +Update `src/modules/llms/server/openai/models/openai.models.ts` with latest model definitions. + +Reference `src/modules/llms/server/llm.server.types.ts` and `src/modules/llms/server/models.data.ts` for context only. Focus on the model file, do not descend into other code. + +**Manual hint:** For pricing page, expand all tables before copying content. + +**Primary Sources:** +- Models: https://platform.openai.com/docs/models (use Copy Page button) +- Pricing: https://platform.openai.com/docs/pricing (expand tables first) + +**Known Issue:** OpenAI docs block automated access (403 Forbidden). Manual browser access required. + +**Fallbacks if blocked:** +- Search "openai models latest pricing", "openai latest models" for third-party aggregators, or search GitHub for latest model prices and context windows +- OpenAI Node SDK (https://github.com/openai/openai-node) has limited model metadata only +- As last resort: Use Chrome DevTools MCP to navigate and extract from official docs + +**Important:** +- Review the full model list for additions, removals, and price changes +- Minimize whitespace/comment changes, focus on content +- Preserve comments to make diffs easy to review +- Flag broken links or unexpected content \ No newline at end of file diff --git a/.claude/commands/llms/update-models-openpipe.md b/.claude/commands/llms/update-models-openpipe.md new file mode 100644 index 000000000..abc2b82dd --- /dev/null +++ b/.claude/commands/llms/update-models-openpipe.md @@ -0,0 +1,19 @@ +--- +description: Update OpenPipe model definitions with latest pricing and capabilities +--- + +Update `src/modules/llms/server/openai/models/openpipe.models.ts` with latest model definitions. + +Reference `src/modules/llms/server/llm.server.types.ts` and `src/modules/llms/server/models.data.ts` for context only. Focus on the model file, do not descend into other code. + +**Primary Sources:** +- Base Models: https://docs.openpipe.ai/base-models +- Pricing: https://openpipe.ai/pricing + +**Fallbacks if blocked:** Search "openpipe models latest pricing", "openpipe latest models", "openpipe base models", or search GitHub for latest model prices and context windows + +**Important:** +- Review the full model list for additions, removals, and price changes +- Minimize whitespace/comment changes, focus on content +- Preserve comments to make diffs easy to review +- Flag broken links or unexpected content \ No newline at end of file diff --git a/.claude/commands/llms/update-models-perplexity.md b/.claude/commands/llms/update-models-perplexity.md new file mode 100644 index 000000000..61e53b54c --- /dev/null +++ b/.claude/commands/llms/update-models-perplexity.md @@ -0,0 +1,20 @@ +--- +description: Update Perplexity model definitions with latest pricing and capabilities +--- + +Update `src/modules/llms/server/openai/models/perplexity.models.ts` with latest model definitions. + +Reference `src/modules/llms/server/llm.server.types.ts` and `src/modules/llms/server/models.data.ts` for context only. Focus on the model file, do not descend into other code. + +**Primary Sources:** +- Models: https://docs.perplexity.ai/getting-started/models +- Pricing: https://docs.perplexity.ai/getting-started/pricing +- Changelog: https://docs.perplexity.ai/changelog/changelog + +**Fallbacks if blocked:** Search "perplexity api latest pricing", "perplexity latest models", or search GitHub for latest model prices and context windows + +**Important:** +- Review the full model list for additions, removals, and price changes +- Minimize whitespace/comment changes, focus on content +- Preserve comments to make diffs easy to review +- Flag broken links or unexpected content \ No newline at end of file diff --git a/.claude/commands/llms/update-models-xai.md b/.claude/commands/llms/update-models-xai.md new file mode 100644 index 000000000..4f3c81a75 --- /dev/null +++ b/.claude/commands/llms/update-models-xai.md @@ -0,0 +1,23 @@ +--- +description: Update xAI model definitions with latest pricing and capabilities +--- + +Update `src/modules/llms/server/openai/models/xai.models.ts` with latest model definitions. + +Reference `src/modules/llms/server/llm.server.types.ts` and `src/modules/llms/server/models.data.ts` for context only. Focus on the model file, do not descend into other code. + +**Primary Sources:** +- Models & Pricing: https://docs.x.ai/docs/models?cluster=us-east-1#detailed-pricing-for-all-grok-models + +**Known Issue:** docs.x.ai blocks automated access (403 Forbidden). Use fallbacks below. + +**Fallbacks if blocked:** +- Search "xai grok latest pricing", "xai latest models", "xai api models", or search GitHub for latest model prices and context windows +- Random sites? LangDB: https://langdb.ai/app/providers/xai/ (browse by model) +- As last resort: Use Chrome DevTools MCP to access docs.x.ai + +**Important:** +- Review the full model list for additions, removals, and price changes +- Minimize whitespace/comment changes, focus on content +- Preserve comments to make diffs easy to review +- Flag broken links or unexpected content \ No newline at end of file