---
title: "testing copilot model flag"
description: "Today I found a way to test model syntax, cause the clankers always get the exact model name that copilot wants wrong."
date: 2026-04-29
published: true
tags:
  - cli
template: til
---


Today I found a way to test model syntax, cause the clankers always get the
exact model name that copilot wants wrong.

``` bash
copilot --model claude-sonnet-4.5 -p "Reply with OK" --allow-all --no-ask-user -s
copilot --model gpt-5.4 -p "Reply with OK" --allow-all --no-ask-user -s
```
