VS Code lets you pick which language model answers your Copilot Chat requests. This is separate from which harness runs the session. Most advice on model choice talks about speed versus reasoning versus context size, and that advice works for AL too. But AL has one extra problem that general guides never mention.

New to this? Here is what a language model is

For anyone newer to AI, a short explanation helps the rest of this post make sense.

  • Language model: predicts the next piece of text or code from a prompt, based on patterns it learned during training.
  • Training cutoff: the date its training data stops. Anything newer, it simply does not know.
  • Provider: the company behind a model. Copilot offers several, including Anthropic, OpenAI, and Google.
  • Fast model: quick and cheap. Best for small, clear tasks.
  • Reasoning model: slower, but thinks through harder problems first.
  • Context window: how much code and conversation the model can hold in mind at once.

None of this is specific to AL. The next section is where AL starts to differ from general advice.

Why the knowledge gap hurts AL more than other languages

A model trained before a given BC version shipped will write code with full confidence, using an older version of the standard application. For example:

  • A field that has since been renamed
  • A procedure that has since been marked obsolete
  • A permission set format that has since changed

It will not warn you about this. It has no way of knowing its own knowledge is outdated.

Microsoft’s own BCQuality project exists precisely for this reason. Its own admission criterion for what belongs in its knowledge base is direct about it: content belongs there when it “prevents a BC-specific mistake an otherwise capable agent would make.” That is Microsoft acknowledging, in plain terms, that a capable model still gets Business Central specifics wrong on its own.

What to do about it: whenever you write AL code against a standard Business Central object, treat the model’s first answer as a guess, not a fact. Check it against your real symbols. A Local or Copilot session with your AL workspace open can do that check for you. A model working from memory alone cannot.

Fast models versus reasoning models

Use a fast model for simple, repetitive work, such as:

  • A field with a standard validation trigger
  • An action that calls an existing procedure
  • Adding a FactBox to a page

There is nothing to think through, so speed wins.

Use a reasoning model when there is a real decision to make, such as:

  • Table extension versus a brand new child table
  • Figuring out why a posting routine is slow on a large dataset
  • Breaking up a report dataset that has grown too complex
  • Designing an event driven integration between two apps

Auto model selection is a fine default for everyday work. I switch to a reasoning model by hand whenever I am designing something new rather than extending something that already works, since a bad first design costs real time later.

GitHub documents this split across every provider in the picker, not just one. As of this writing:

  • Fast tier: GPT-5.6 Luna, GPT-6 Luna, Claude Haiku 4.5, the Gemini Flash line
  • Reasoning tier: GPT-5.5, GPT-5.6 Sol, GPT-5.4, the Claude Opus range, Claude Sonnet

This list changes every few weeks as providers release new versions, so treat it as a snapshot, not a fixed reference. Open the Manage models view in your own picker to see each model’s context size, cost, and whether it supports adjustable thinking effort. That tells you more than the model’s name does.

Matching models to Ask, Plan, and Agent

One thing worth clearing up first: VS Code does not let you pin a different model to Ask, Plan, and Agent. All three share the same model picker. Switch the model and it applies no matter which role you are in. GitHub does not publish a recommended model per role either, so what follows is my own approach, not an official guideline.

In practice, I switch the model by hand depending on what I am about to do, not which role I am in:

  • Ask, for a quick question: a fast model. There is no real thinking involved in explaining a line of code or answering a syntax question.
  • Plan, for anything with real stakes: a reasoning model, switched on before I start. Designing a new table structure or working out how an event chain should flow benefits far more from depth than from speed, and Plan is exactly where that depth should happen, before any code gets written.
  • Agent, once a plan exists: often a fast model again. The hard thinking already happened in Plan, so Agent is mostly following a clear set of steps.

Custom agents work differently, and this is the one place model choice per workflow step is actually built in. A custom agent’s .agent.md file can pin its own model in the frontmatter, so it always runs on the model you chose for it, regardless of what is selected elsewhere.

For an AL reviewer agent that checks code against BCQuality, a fast model is usually enough, since it is mostly pattern matching against known rules. For an agent you want to weigh trade offs rather than just flag violations, pin a reasoning model instead.

Putting it together

Session Target decides whether the agent can even see your real workspace and symbols.

Model choice decides how carefully it thinks once it has that access, and how much you should trust what it tells you about objects it has not actually checked.

Background:


Discover more from think about IT

Subscribe to get the latest posts sent to your email.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post Navigation