Skip to content

feat(cerebras): add openai/gpt-oss-120b model#58

Merged
stackbilt-admin merged 2 commits into
mainfrom
feat/cerebras-gpt-oss-120b
May 7, 2026
Merged

feat(cerebras): add openai/gpt-oss-120b model#58
stackbilt-admin merged 2 commits into
mainfrom
feat/cerebras-gpt-oss-120b

Conversation

@stackbilt-admin
Copy link
Copy Markdown
Member

Summary

  • Adds openai/gpt-oss-120b to CerebrasProvider.models and TOOL_CAPABLE_MODELS
  • Registers a model catalog entry with TOOL_CALLING | BALANCED | HIGH_PERFORMANCE tiers, 128k context, tool support
  • Pricing mirrored from Groq's GPT-OSS 120B entry ($0.00015/$0.0006 per input/output token) — update once Cerebras publishes official pricing
  • Bumps to v1.6.1

Test plan

  • CerebrasProvider instantiation with openai/gpt-oss-120b resolves without throwing
  • Model shows up in getAvailableModels('cerebras') output
  • Tool-use request routed to openai/gpt-oss-120b does not strip tool schemas (model is in TOOL_CAPABLE_MODELS)
  • Existing tests pass (npm test)

🤖 Generated with Claude Code

Registers Cerebras GPT-OSS 120B as a supported model with tool-calling
capability — equivalent perf/cost profile to Groq's GPT-OSS 120B entry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The model was registered in models[] and TOOL_CAPABLE_MODELS but missing
from getModelCapabilities(). estimateCost() returns 0 when the model is
absent, silently disabling quota pre-checks and cost tracking for all
requests using this model.

Also updates the hardcoded model list assertion in cerebras.test.ts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@stackbilt-admin stackbilt-admin merged commit e695f37 into main May 7, 2026
3 checks passed
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