Skip to content

Update LLM pricing tables and add providers#2110

Merged
openminddev merged 4 commits intomainfrom
update-model-prices
Feb 5, 2026
Merged

Update LLM pricing tables and add providers#2110
openminddev merged 4 commits intomainfrom
update-model-prices

Conversation

@openminddev
Copy link
Copy Markdown
Contributor

This pull request updates the LLM model pricing tables in both the docs/api-reference/introduction.mdx and mintlify/api-reference/introduction.mdx files. 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:

  • The pricing tables are now organized by provider (OpenAI, Gemini, DeepSeek, X.AI Grok, Near AI, Open Router), making it easier to find and compare model prices.

New models and pricing updates:

  • Added several new models across providers, including gpt-5.2, grok-4-fast, anthropic/claude-haiku-4.5, and others, with their respective input and output token prices.
  • Updated and corrected token pricing for existing models to reflect current rates and ensure accuracy.

Provider-specific enhancements:

  • Expanded the Near AI and Open Router sections with additional models and updated pricing details, increasing coverage of available options.

Formatting and clarity improvements:

  • Improved table formatting for consistency and readability, including clearer separation between providers and more descriptive model names.

Removal of outdated information:

  • Removed outdated and duplicate model entries, as well as legacy pricing, to prevent confusion and maintain up-to-date documentation.

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.
Copilot AI review requested due to automatic review settings February 5, 2026 06:06
@openminddev openminddev requested review from a team as code owners February 5, 2026 06:06
@github-actions github-actions Bot added documentation Improvements or additions to documentation robotics Robotics code changes python Python code labels Feb 5, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/llm/plugins/openai_llm.py
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
Copy link
Copy Markdown

codecov Bot commented Feb 5, 2026

Codecov Report

❌ Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/llm/plugins/near_ai_llm.py 87.50% 1 Missing ⚠️

📢 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.
@openminddev openminddev requested a review from a team as a code owner February 5, 2026 06:13
@github-actions github-actions Bot added the tests Test files label Feb 5, 2026
@openminddev openminddev merged commit b2198d5 into main Feb 5, 2026
8 checks passed
@openminddev openminddev deleted the update-model-prices branch February 5, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation python Python code robotics Robotics code changes tests Test files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants