Skip to content

feat(llm-model-catalog): add MiniMax provider (MiniMax-M3, MiniMax-M2.7) - #4417

Closed
octo-patch wants to merge 1 commit into
triggerdotdev:mainfrom
octo-patch:octo/20260729-provider-add-recvq9e16GyVEJ
Closed

feat(llm-model-catalog): add MiniMax provider (MiniMax-M3, MiniMax-M2.7)#4417
octo-patch wants to merge 1 commit into
triggerdotdev:mainfrom
octo-patch:octo/20260729-provider-add-recvq9e16GyVEJ

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: The maintained LLM model catalog and pricing inputs had no MiniMax entries, so runs on MiniMax-M3 and MiniMax-M2.7 could not be matched for model observability or cost attribution.

What changed

Adds the MiniMax provider and its two current text models to @internal/llm-model-catalog, then regenerates the runtime catalog modules from the JSON sources.

Catalog metadata (src/model-catalog.json):

Model Context window Input Thinking
MiniMax-M3 1,000,000 text, image, video (vision) adaptive / off (extended_thinking)
MiniMax-M2.7 204,800 text always-on (extended_thinking)

Token pricing (src/default-model-prices.json, USD per 1M tokens):

Model Input Output Cache read Cache write
MiniMax-M3 0.60 2.40 0.12
MiniMax-M2.7 0.30 1.20 0.06 0.375

Match patterns follow the existing convention and also accept a provider-prefixed id (e.g. minimax/MiniMax-M3).

Regenerated modules: src/defaultPrices.ts and src/modelCatalog.ts were regenerated with node scripts/generate.mjs (no manual edits).

Checks

  • node scripts/generate.mjs — regenerated the two modules; the diff contains only the new entries.
  • oxfmt --check on both edited JSON source files — clean.
  • tsc --noEmit over types.ts, defaultPrices.ts, modelCatalog.ts — passes (generated data conforms to DefaultModelDefinition / ModelCatalogEntry).
  • Verified the new match patterns resolve the model ids (and their provider-prefixed forms) and produce the expected per-token cost.

…iniMax-M2.7

Add catalog metadata and token pricing for MiniMax-M3 and MiniMax-M2.7 so
runs on these models are matched for observability and cost attribution,
then regenerate defaultPrices.ts and modelCatalog.ts from the JSON sources.
@changeset-bot

changeset-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b0f68f5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

Hi @octo-patch, thanks for your interest in contributing!

This project requires that pull request authors are vouched, and you are not in the list of vouched users.

This PR will be closed automatically. See https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md for more details.

@github-actions github-actions Bot closed this Jul 29, 2026
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 1ccf4cc8-6822-43cc-857f-fd8dfe5771fe

📥 Commits

Reviewing files that changed from the base of the PR and between 8d321f8 and b0f68f5.

📒 Files selected for processing (4)
  • internal-packages/llm-model-catalog/src/default-model-prices.json
  • internal-packages/llm-model-catalog/src/defaultPrices.ts
  • internal-packages/llm-model-catalog/src/model-catalog.json
  • internal-packages/llm-model-catalog/src/modelCatalog.ts

Walkthrough

Adds MiniMax-M2.7 and MiniMax-M3 to the model catalog with provider metadata, context limits, capabilities, feature flags, and resolution timestamps. Adds matching default pricing entries with Standard tiers, input/output prices, cache pricing fields, and effective start dates.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant