Skip to content

Cannot use grok-4: Request failed: The requested resource was not found. #4177

@matthiasg

Description

@matthiasg

Describe the bug

When trying to use grok-4-0709 with CLI or APP i get:

Request failed: The requested resource was not found. Please check the URL and try again. Documentation is available at https://docs.x.ai/ (code: 404) (status 404)

The API Key is unlimited and other apps can use them to access grok-4

To Reproduce
Steps to reproduce the behavior:

Just configure goose with X.AI and an API key (all models), select the top grok-4-0709 model and try to chat.

Or:

┌   goose-configure 
│
◇  What would you like to configure?
│  Configure Providers 
│
◇  Which model provider should we use?
│  xAI 
│
●  XAI_API_KEY is already configured
│  
◇  Would you like to update this value?
│  Yes 
│
◇  Enter new value for XAI_API_KEY
│  ▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪
│
◇  Model fetch complete
│
◇  Enter a model from that provider:
│  grok-4-0709
│
◇  Request failed: The requested resource was not found. Please check

Expected behavior
Should have responded without error

Screenshots
If applicable, add screenshots to help explain your problem.

Please provide following information:

  • OS & Arch: [e.g. Ubuntu 22.04 x86]
  • Interface: UI & CLI
  • Version: goose -V => 1.4.1 (also for UI)
  • Provider & Model: [e.g. XAI - grok-4-0709]

Metadata

Metadata

Assignees

Labels

p3Priority 3 - Low

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions