Skip to content

fix typo in model name (no 's')#1698

Merged
OskarStark merged 1 commit intosymfony:mainfrom
tacman:tac
Feb 27, 2026
Merged

fix typo in model name (no 's')#1698
OskarStark merged 1 commit intosymfony:mainfrom
tacman:tac

Conversation

@tacman
Copy link
Contributor

@tacman tacman commented Feb 27, 2026

Q A
Bug fix? yes
New feature? no
Docs? no
License MIT

Typo in the model name, no "s".

The model page lists them as Pixtral Large and Pixtral 12B. The direct links confirm the API names:

pixtral-large-2411 → pixtral-large-latest
pixtral-12b-2409 → pixtral-12b-latest

Documentation URL: https://docs.mistral.ai/getting-started/models/models_overview/

$ MISTRAL_KEY=$(grep MISTRAL_API_KEY /home/tac/g/sites/ai-pipeline-demo/.env.local | cut -d= -f2)
for model in "pixtral-12b-2409" "pixtral-12b-latest" "pixstral-12b-latest"; do
  result=$(curl -s -X POST https://api.mistral.ai/v1/chat/completions \
    -H "Authorization: Bearer $MISTRAL_KEY" \
    -H "Content-Type: application/json" \
    -d "{\"model\":\"$model\",\"messages\":[{\"role\":\"user\",\"content\":\"hi\"}],\"max_tokens\":3}")
  echo "$model: $(echo $result | python3 -c 'import sys,json; d=json.load(sys.stdin); print(d.get("choices",[{}])[0].get("message",{}).get("content","") or d.get("error",{}).get("message","")[:60])' 2>/dev/null)"
done

pixtral-12b-2409: Hello!
pixtral-12b-latest: Hello!
pixstral-12b-latest: 
curl -s -X POST https://api.mistral.ai/v1/chat/completions \
  -H "Authorization: Bearer $MISTRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"pixstral-large-latest","messages":[{"role":"user","content":"hi"}],"max_tokens":5}'

That returns "Invalid model: pixstral-large-latest". The pixtral name works.

@carsonbot carsonbot added Status: Needs Review Bug Something isn't working labels Feb 27, 2026
@carsonbot carsonbot changed the title fix typo in model name (no 's') fix typo in model name (no 's') Feb 27, 2026
@OskarStark
Copy link
Contributor

Good catch, thanks Tac.

@OskarStark OskarStark merged commit 3b9c7e1 into symfony:main Feb 27, 2026
399 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants