Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Jul 10, 2025

Important

Add Grok-4 model as the default in xai.ts with updated properties and pricing.

  • Models:
    • Add grok-4 model to xaiModels in xai.ts with 256K context window, image support, and prompt cache support.
    • Set grok-4 as xaiDefaultModelId in xai.ts.
  • Pricing:
    • grok-4 has input price 3.0, output price 15.0, cache writes price 0.75, and cache reads price 0.75.
  • Misc:
    • Reorder models in xai.ts to place grok-4 at the top.
    • Add .changeset/red-symbols-grab.md file.

This description was created by Ellipsis for 9126042. You can customize this summary. It will automatically update as commits are pushed.

@mrubens mrubens requested review from cte and jr as code owners July 10, 2025 11:02
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jul 10, 2025
@delve-auditor
Copy link

delve-auditor bot commented Jul 10, 2025

No security or compliance issues detected. Reviewed everything up to 9126042.

Security Overview
  • 🔎 Scanned files: 2 changed file(s)
Detected Code Changes
Change Type Relevant files
Enhancement ► xai.ts
    Add Grok-4 model configuration
    Update default model to Grok-4
    Reorder model definitions

Reply to this PR with @delve-auditor followed by a description of what change you want and we'll auto-submit a change to this PR to implement it.

@mrubens mrubens merged commit cdde7b3 into main Jul 10, 2025
16 checks passed
@mrubens mrubens deleted the grok_4 branch July 10, 2025 11:07
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Jul 10, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jul 10, 2025
@daniel-lxs daniel-lxs mentioned this pull request Jul 10, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants