Update LLM pricing tables and add providers#2110
Merged
openminddev merged 4 commits intomainfrom Feb 5, 2026
Merged
Conversation
Restructure the LLM Models section in docs/api-reference/introduction.mdx and mintlify/api-reference/introduction.mdx: add separate subsections for OpenAI, Gemini, DeepSeek, X.AI Grok, Near AI, and Open Router; normalize and standardize numeric formatting (expand shorthand like "30k" to "30000"); update and correct various model pricing entries and table layouts for clarity and consistency across both files.
Update available models and defaults across LLM plugins and docs. Docs: replace anthropic/claude-opus-4.1 with anthropic/claude-sonnet-4.5 in example OpenRouter request. NearAI: expand enum with multiple new models, normalize model identifiers (e.g. "Qwen/Qwen3-30B-A3B-Instruct-2507"), and change the default/fallback model to openai/gpt-oss-120b. OpenAI plugin: add entries for gpt-5.1 and gpt-5.2. OpenRouter: add several new models, update opus to 4.5, and change the default model to anthropic/claude-sonnet-4.5.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reorganizes LLM pricing documentation by provider and updates model offerings with current pricing information. It also updates Python enums and default models to align with the new documentation structure.
Changes:
- Reorganized pricing tables in documentation by provider (OpenAI, Gemini, DeepSeek, X.AI Grok, Near AI, Open Router)
- Added new model enums including
gpt-5.2,grok-4-fast,claude-haiku-4.5, and others across providers - Updated default models in configuration classes to reflect current recommendations
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/llm/plugins/openrouter.py | Updated OpenRouter model enum with new models and changed default from Llama to Claude Sonnet |
| src/llm/plugins/openai_llm.py | Added GPT-5.1 and GPT-5.2 model enums |
| src/llm/plugins/near_ai_llm.py | Updated model names to include provider prefixes, added new models, and changed default model |
| mintlify/api-reference/introduction.mdx | Reorganized pricing tables by provider and updated pricing information |
| mintlify/api-reference/endpoints/llm.mdx | Updated example model reference from Opus 4.1 to Sonnet 4.5 |
| docs/api-reference/introduction.mdx | Reorganized pricing tables by provider and updated pricing information |
| docs/api-reference/endpoints/llm.mdx | Updated example model reference from Opus 4.1 to Sonnet 4.5 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Replace GPT_5_2 = "gpt-5.2" with GPT_5_1 = "gpt-5.2" in src/llm/plugins/openai_llm.py. Updates the OpenAIModel enum entry for the gpt-5.2 model; review for potential duplicate or typo with existing GPT_5_1/GTP_5_1 entries.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Adjust assertion in tests/llm/plugins/test_near_ai_llm.py to check for 'gpt-oss-120b' in the default model name instead of 'qwen', reflecting the updated default model used by NearAILLM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the LLM model pricing tables in both the
docs/api-reference/introduction.mdxandmintlify/api-reference/introduction.mdxfiles. The changes reorganize the pricing information by provider, add new models, correct and update token pricing, and improve clarity and consistency across documentation.Major updates to LLM pricing and documentation:
Model categorization and structure:
New models and pricing updates:
gpt-5.2,grok-4-fast,anthropic/claude-haiku-4.5, and others, with their respective input and output token prices.Provider-specific enhancements:
Formatting and clarity improvements:
Removal of outdated information: