Blog

MAI Code 2 vs GPT-6.1 Sol: which prepares better technical specs

MAI Code 2 vs GPT-6.1 Sol in a real planning test with the same repository. We compare technical specs, dependencies, architecture, and cost per task.

Francisco Gaona

Francisco Gaona

Founder and technical lead

MAI Code 2 vs GPT-6.1 Sol is not a laboratory benchmark. It is the second test in a series where we put AI models to work on real projects.

In the previous test, we used GPT-6 Luna and MAI Code 2 Flash to implement the same feature in the same repository. Flash finished first, followed our architecture more closely, and took fewer detours.

This time we were testing something else: which model prepares a better technical spec for another agent to execute. We compared MAI Code 2 vs GPT-6.1 Sol using the same feature and the same access to the project.

Specifications do not decide what product to build. That remains a product decision. But once a feature is defined, a good technical spec lets an implementation agent modify the right system without improvising.

MAI Code 2 review: what did each model cost

These were the prices per million tokens:

Model Input Cached input Output
MAI Code 2 (promotion) $0.50 $0.025 $2.50
MAI Code 2 (final price) $1.00 $0.05 $5.00
GPT-6.1 Sol $2.00 $0.10 $10.00

The MAI Code 2 promotion lasts until May 17, 2027.

Right now, it costs roughly one quarter as much as GPT-6.1 Sol. When the promotion ends, it will still cost about half as much per token.

The difference can seem irrelevant for a small task. Preparing a serious spec consumes context and reasoning: the model has to read the feature, inspect the repository, understand the architecture, and locate the affected parts.

Price per token tells only part of the story. If the plan is generic, references components that do not exist, or misses how the system is organized, the initial saving disappears quickly. The implementation agent will follow that spec and spread the errors through the repository.

The test: preparing a complex feature

We are building a delivery system for a client. It coordinates users, statuses, operational rules, assignments, incidents, and integrations with other systems. We had already done the product work:

  • Understand what the client needed.
  • Define the expected behavior.
  • Set the scope.
  • Split the work into features.
  • Prioritize it in the sprint.
  • Resolve the main product decisions.

The test started after that. We took one of those features and asked MAI Code 2 and GPT-6.1 Sol to prepare the technical plan needed to implement it.

We did not want them to redesign the product or write code directly. We wanted a spec explaining how the feature fit into the system that already existed.

How we work

We do not give an agent an idea and tell it to build the product.

We start by doing product work with the client. We understand the problem, decide what is worth building, and organize the functional sprint in GitHub.

Then we take each feature and prepare its technical spec. The process is fairly direct:

  1. Understand the problem with the client.
  2. Define the functional scope.
  3. Organize the sprint in GitHub.
  4. Split the work into features.
  5. Take one defined feature.
  6. Analyze how it affects the current system.
  7. Prepare and review its technical spec.
  8. Have the agent implement the feature from that spec.
  9. Review the result and the pull request.

MAI Code 2 mainly enters at steps six and seven. It does not decide what product to build: it turns a functional decision into a technical plan precise enough for another agent to implement.

Need help building with AI? Talk to us.

AI software planning: the sprint and the spec are not the same

The functional sprint answers questions such as:

  • What problem are we solving?
  • What does the user need to do?
  • What is included in this phase?
  • What is left out?
  • Which feature has priority?
  • What does the client actually need?

We handle those decisions.

A technical spec answers different questions:

  • Which parts of the code are affected?
  • Which entities, actions, or use cases need changing?
  • Does the data model need to change?
  • Which authorization rules apply?
  • Which integrations could be affected?
  • Which edge cases need coverage?
  • Which tests need adding or changing?
  • In what order should the changes be implemented?
  • Which architecture rules must the agent follow?

This is where coding models make sense for AI software planning. We use them to inspect the system, organize the work, and keep an implementation agent from turning six lines of functional description into an improvised implementation.

What we asked the models

We gave MAI Code 2 and GPT-6.1 Sol the same feature and the same project context. We asked them to:

  • Read the functional definition.
  • Inspect the repository.
  • Understand the existing architecture.
  • Locate affected parts of the system.
  • Identify data, logic, and permission changes.
  • Detect technical dependencies.
  • Cover edge cases.
  • Propose the necessary tests.
  • Put the implementation in order.
  • Prepare a spec another agent could execute.
  • Flag questions that needed a human decision.

A good technical specification does not describe the prettiest solution the model can imagine. It explains how to implement the feature inside the existing system while respecting its decisions and constraints.

What happened with MAI Code 2

MAI Code 2 understood the assignment. It did not redesign the product or turn the feature into a list of user stories. It entered the repository, studied how the system was built, and prepared a technical plan close to what we needed.

Its strength was connecting the feature to existing code. It correctly identified:

  • The affected domain areas.
  • The workflows that needed changing.
  • The authorization rules involved.
  • The necessary state changes.
  • The integrations that could be affected.
  • The edge cases that needed coverage.
  • The tests we needed to review or add.

It also put the implementation in a sensible order. If a change affects the data model, domain logic, an integration, and the interface, the order can prevent many detours.

The spec was not an abstract description of “create a service, add an endpoint, and write tests.” It was connected to the actual pieces of the project.

It respected the existing system

A technical spec written without a close read of the repository usually looks valid until implementation begins. It may propose services that already exist, place logic in the wrong layer, or add structures that do not fit the architecture.

The result can be technically sound and completely wrong for that system.

MAI Code 2 stayed close to our conventions and to the way we organize code. That makes the spec useful to the next agent. It does not have to reinterpret a generic plan: it receives instructions tied to the repository it is going to modify.

It also knew when to stop

When it found a reasonable technical decision that it could infer from the code, it included that decision in the plan. When it found something that affected functional behavior or feature scope, it flagged it for review.

That boundary matters. We do not want the model asking whether it should create a class every five minutes. We also do not want it deciding on its own who can cancel a delivery or what happens when an external operation fails.

The model can help prepare the technical solution. Product decisions remain ours and the client’s.

What happened with GPT-6.1 Sol

GPT-6.1 Sol also produced a strong spec. Its analysis was more extensive and explored more technical alternatives. At some points it considered different approaches, explained their tradeoffs, and went deeper into possible architecture problems.

That depth is useful when a feature requires a delicate technical decision.

The downside is that we do not always need to open five paths. For a spec another agent will execute, too many alternatives can create ambiguity. Someone eventually has to close the document and choose a route.

MAI Code 2 was more direct. It understood the system, proposed a route, and organized the implementation. GPT-6.1 Sol showed more depth, but it needed more editing to turn the analysis into a closed, executable spec.

MAI Code 2 vs GPT-6.1 Sol

Our comparison looked like this:

Area MAI Code 2 GPT-6.1 Sol
Feature understanding Good Good
Repository reading Implementation-focused Broader and more exploratory
Ready-to-execute spec More direct Needed more editing
Dependency detection Good Good
Technical depth Enough and concrete Greater
Alternative exploration More limited More complete
Risk of overanalysis Lower Higher
Best use in this test Preparing code specs Exploring complex technical decisions

We did not discover that one model is intelligent and the other is not. They have slightly different jobs.

To turn an already defined feature into an executable technical spec, we prefer MAI Code 2. To study a difficult architecture decision, compare alternatives, or investigate an ambiguous problem, GPT-6.1 Sol still makes sense.

What Microsoft says

Microsoft says MAI Code 2 reaches roughly 98% of GPT-6.1 Sol’s performance across its test set, at a considerably lower cost during the promotion.

The fine print:

  • Some tests ran on Microsoft’s own infrastructure.
  • The models were evaluated with specific reasoning configurations.
  • The percentage combines different coding tests.
  • The cost used for MAI Code 2 includes its promotional price.

A benchmark does not necessarily measure the quality of a technical spec for your repository. That is why we tested it inside our real workflow.

We are not paid to win benchmarks. We are paid to build working software and keep each feature from becoming an all-day ordeal.

The important saving comes later

MAI Code 2 costs less than GPT-6.1 Sol, but the important saving is not only in the tokens used to write the spec.

It comes from what happens afterward.

If the spec identifies the affected parts correctly, respects the architecture, and resolves the important technical decisions, the implementation agent takes fewer detours. If the spec is generic or wrong, the error spreads:

  • Files that should stay untouched get changed.
  • Existing logic gets duplicated.
  • Unnecessary abstractions get introduced.
  • Project conventions get broken.
  • Migrations have to be rebuilt later.
  • The pull request fills with changes nobody requested.

Correcting a decision inside the spec takes a few minutes. Correcting it after another agent has built half a feature on top of it takes a much bigger chunk of the day.

That is why we think it is worth using a more capable model for code planning, even if a cheaper model handles the implementation afterward.

One model for thinking, another for coding

After these tests, our workflow is starting to become clear:

  • We define the product, scope, and functional sprint.
  • MAI Code 2 studies an already defined feature and helps prepare its technical spec.
  • MAI Code 2 Flash handles much of the daily implementation.
  • GPT-6.1 Sol comes in when we need more depth or when we are examining a particularly complex technical decision.
  • We review the spec, code, and pull request.

It is not a fully automatic chain. Each model works where it adds the most value, and a person continues to resolve the important decisions.

That approach makes more sense than sending everything to the most powerful available model, leaving it to work for hours, and hoping it understood the product.

Our conclusion

To turn this delivery-system feature into a technical spec, we prefer MAI Code 2 to GPT-6.1 Sol.

It read the repository well, understood the affected parts, and prepared a concrete enough plan for another agent to implement the feature. GPT-6.1 Sol offered deeper analysis and explored more alternatives. We will use it when that depth is needed.

In our usual workflow, MAI Code 2 fits better as the step between functional planning and implementation.

We first talk to the client and decide what to build. Then we organize the sprint and define the features. Only then do we use a model to understand how to take one of those features into code.

AI does not decide the product for us. We give it a feature we have already thought through and ask it to prepare the ground for building it without creating avoidable problems.

For that job, MAI Code 2 has worked quite well.

An agent without a good spec only makes mistakes faster

At Gaobaltech, we use AI to build real software, not demos. We define the product with you, prepare technical specs, and use each model where it adds value.

Talk to us

Contact form

The form is ready when you are.

Load the Microsoft form and tell us what you need.

Prefer email? Write to us directly.

Email us

Privacy preferences

We use essential technologies and, with your permission, functional services such as the contact form.