GCP-112 · Lesson 10 of 12 · 18 min

Build, buy or customize decisions

▶ Video coming soon A video version of this lesson is on the way.

Jules's shortlist now has five use cases, and for each one the steering committee wants to know the same thing: should Birchline buy a finished product, customize a platform with its own data, or build something of its own? Vendors have already called. One offers a retail chatbot that is "live in two weeks". A systems integrator proposes a fully custom AI platform. Owen, now studying for the Associate Cloud Engineer exam, half-jokingly suggests building everything in-house because it would be more fun. Farah lays out the options on one page. "There is no single right answer," she says, "but there is a right question for each use case: where does our own data or process make the difference, and how much control do we need?" This lesson works through that decision.

The spectrum of options

Generative AI solutions sit on a spectrum from ready-made to fully custom. Google's materials for the Generative AI Leader exam describe the landscape in layers, from infrastructure up through models, platforms and agents to applications. An organization can enter at different layers.

From buying to building.
OptionWhat it meansGoogle Cloud examples (see GCP-111)Birchline use
Buy a finished applicationUse a prebuilt product with built-in AI, configured but not codedGemini for Google Workspace; the Gemini app; Gemini Enterprise for enterprise search and assistantsEmail drafting and document summaries for office staff
Customize a platformUse a managed AI platform with your own data, prompts, grounding and tools, with little or no model trainingAgent Platform and Agent Studio, prebuilt retrieval, Customer Engagement Suite for contact centersProduct description drafts; staff policy assistant; future email assistant
Tune a modelAdapt a foundation model with your own examplesTuning on the AI platform; open models such as GemmaPossible later for very high-volume descriptions
Build customDevelop and operate your own models or deeply custom systemsAI-optimized infrastructure such as TPUs and GPUs; training pipelinesNot justified at Birchline's scale

Google renames products from time to time, and the exam guide published in 2026 uses current names; GCP-111 covers the portfolio and its history. The decision logic in this lesson does not depend on product names.

A horizontal spectrum with four stops from left to right: Buy, Customize, Tune, Build. Above it, arrows show speed to value and vendor responsibility decreasing to the right; below it, arrows show control, differentiation and required expertise increasing to the right.
Moving from buy to build trades speed and simplicity for control and differentiation.

The decision factors

Farah lists the factors that should drive the choice. Each pushes in a direction, and the best option is the one that fits the use case's strongest needs.

Factors in the build, buy or customize decision.
FactorPushes toward buying when...Pushes toward customizing or building when...
DifferentiationThe task is common to many organizations, such as email draftingThe organization's own data, voice or process is the source of value
Speed to valueResults are needed in weeksThere is time to develop and test
IntegrationThe task lives inside tools staff already useIt must connect to internal systems such as orders or inventory
Control and complianceVendor controls meet requirementsSpecific data location, logging, model choice or behavior is required
SkillsThe organization has few AI engineersIt has, or will build, a capable team
Cost profilePer-user licenses are affordable at the needed scaleUsage-based pricing on a platform is cheaper at high volume
Lock-in toleranceSwitching later is acceptablePortability between models and providers matters

Applying the factors to Birchline's shortlist

Jules and Farah walk through each shortlisted use case with the steering committee.

  • Email and document help for office staff: buy. The task is the same in every company, it lives inside Gmail and Docs, and staff already have the Gemini app; Gemini for Google Workspace features will be tested with 60 people from January 2027. The work is adoption, not engineering.
  • Product description drafts: customize. The value comes from Birchline's catalog, style guide and examples. A platform with grounding on the catalog and a simple review screen gives control over prompts and evaluation without training a model.
  • Staff policy assistant: buy first, then decide. Gemini Enterprise's search and assistant features can ground answers in approved policy documents with permissions, which may be enough. If store staff need it inside the point-of-sale screens, a customized assistant on the platform may follow.
  • Review digests: customize lightly. A scheduled job sends each product's new reviews to a model with a summarization prompt and writes the digest into the merchandising dashboard. It needs integration but no special model.
  • Customer email assistant (2027): customize, and evaluate a contact-center product. It must read order data through APIs, follow refund rules and hand over to people. A contact-center suite with agent assistance features may fit better than starting from scratch; the decision will follow a side-by-side pilot.

Nothing on the list justifies building or training a model from scratch. Farah notes that this is typical: very few organizations outside AI companies and the largest enterprises train their own foundation models. The common path is to buy where the task is generic and customize where the data is unique.

Comparing total cost of ownership

Prices differ in shape: per-user licenses, usage charges, and people's time to build and run. Total cost of ownership (TCO) adds them all over a period, such as three years, so options can be compared fairly. The figures below are illustrative, not real prices, for the policy assistant.

Python Example
# Illustrative three-year TCO for the staff policy assistant. Not real prices.
years = 3
users = 400                                     # store managers and supervisors

buy = {"licences": users * 6 * 12 * years,       # per user, per month (illustrative)
       "setup": 8000, "content_upkeep": 6000 * years, "admin": 4000 * years}
customize = {"usage": 3500 * years,              # model and retrieval usage per year
             "build": 45000, "content_upkeep": 6000 * years, "run": 15000 * years}

for name, costs in (("Buy", buy), ("Customize", customize)):
    total = sum(costs.values())
    print(f"{name:<10} {total:>9,.0f} over {years} years  ({total / years / users:,.0f} per user per year)")
Output
Buy          124,400 over 3 years  (104 per user per year)
Customize    118,500 over 3 years  (99 per user per year)

What this code does

Using illustrative prices, the program adds up three years of costs for buying a ready-made policy assistant and for building a customized one. Buying is mostly license fees, while building has a large one-time cost plus running and usage costs. The totals and cost per user per year come out close, which shows the decision rests on more than price.

With these assumptions, buying is cheaper for 400 users, mainly because the custom option carries build and run costs in people's time. If the assistant later needed to serve 3,000 store staff, the comparison would shift, because license costs grow with every user while usage costs grow with questions asked. That is why the TCO model keeps its assumptions visible: the decision can be revisited when they change. Note too that content upkeep costs the same in both options. Whoever provides the technology, Birchline must keep its policies accurate.

Running a side-by-side pilot

When the choice between options is close, a short side-by-side pilot settles it with evidence. For the customer email assistant, Birchline plans to run two candidates on the same 500 labeled historical emails from the data readiness work in lesson 5: a contact-center product configured with Birchline's policies, and a customized assistant built on the AI platform with grounding on orders and policies. Each will be scored on the same rubric for accuracy, tone and correct escalation, and each will be costed with the same TCO model. Supervisors will review the outputs without knowing which option produced them, so that brand loyalty or excitement about building something does not tilt the result.

The pilot design also tests the softer factors from the decision table. How long did each option take to set up? How easily could the team change a rule? How clear were the vendor's answers to the procurement questions? Those observations go into the decision record alongside the scores.

Revisiting decisions

A build, buy or customize decision is not permanent. Products improve, prices change and Birchline's own skills grow. The AI inventory from lesson 9 includes a review date for each system, and at each review the owner asks whether the original reasons still hold. Farah expects at least one of today's customized tools to be replaced by a product feature within two years, and at least one bought tool to be outgrown. Planning for that from the start, by keeping prompts, evaluation sets and documents portable, makes the change cheap when it comes.

Owen, for his part, gets his wish in a small way: the review digest job, a simple scheduled integration, is his first production contribution, built on the platform with a summarization prompt and a few dozen lines of code. It is not a custom model, but it is his.

Worked problem

Where the costs cross

A buy option costs 72 dollars per user per year with no setup. A customize option costs 60,000 dollars a year regardless of users. At how many users do the two cost the same?

Show solution
  1. Set 72 × users = 60,000.
  2. Users = 60,000 ÷ 72 ≈ 833.

Answer: About 833 users. Below that, buying is cheaper; above it, the fixed-cost option wins, if the assumptions hold.

Questions for vendors

Buying does not hand over responsibility. Birchline's AI procurement policy, from lesson 9, requires answers to a standard set of questions before any AI purchase.

  • Is our data used to train or improve the vendor's models, and can we opt out? Where is it processed and stored?
  • Which underlying models are used, how are model changes announced, and can we test before a change reaches us?
  • What security testing, including red teaming, has the product had, and what certifications does the vendor hold?
  • Can the product ground answers in our documents with our permissions, and does it cite sources?
  • What logs and reports do we receive, and how long are they kept?
  • How do we export our data and configuration if we leave?
  • What happens when the product gives a harmful or wrong answer, and what support and contract terms apply?

The two-week retail chatbot vendor cannot say which model it uses or whether model changes are announced. Jules declines politely and notes it in the procurement log.

Avoiding lock-in where it matters

Lock-in means switching providers would be costly or slow. Some lock-in is acceptable in exchange for speed and simplicity. Where it matters, a few habits keep options open: keeping prompts, evaluation sets and grounding documents as the organization's own assets in its own repositories; using platforms that offer a choice of models, such as Google's Model Garden, which includes Google's own models and third-party and open models; separating business logic from the model call so the model can be replaced; and testing a second model occasionally against the evaluation set. Farah's view is that the most valuable thing Birchline will own is not any model, but its curated data, its evaluation sets and its review processes, because those carry over to whatever tools come next.

Choosing a model within an option

When a use case is customized on a platform, there is still a choice of model. The exam guide lists the factors leaders should weigh: the modality needed, such as text, images or audio; the context window, which limits how much input fits at once; performance on the task, measured on the organization's own evaluation set; cost and speed; security and availability in the needed regions; and how much customization the model supports. A smaller, faster model often handles a narrow task such as tagging emails well and cheaply, while a larger model may be needed for complex reasoning across long documents. Farah's habit is to try the smallest model that meets the quality bar on Birchline's own test cases.

Common mistakes

  • MistakeBuilding custom AI for tasks that finished products already do well.

    InsteadBuy for generic tasks, customize where your own data makes the difference.

  • MistakeComparing options on license or usage prices alone.

    InsteadCompare three-year total cost of ownership, including people's time and content upkeep.

  • MistakeAssuming buying moves responsibility to the vendor.

    InsteadAsk the procurement questions and keep ownership of outcomes.

  • MistakeLetting prompts and evaluation sets live only in a vendor's tool.

    InsteadKeep them as your own assets to limit lock-in.

  • MistakeChoosing the largest model by default.

    InsteadChoose the smallest model that meets the quality bar on your own tests.

Summary and key terms

  • Generative AI options run from buying finished applications, through customizing platforms with your own data, prompts and grounding, to tuning models and building custom systems.
  • Buy when the task is generic, needed quickly and lives in tools staff already use; customize or build when your data, process, integration or control needs are the source of value.
  • Compare options with total cost of ownership over several years, including licenses, usage, build, run and content upkeep, and revisit when assumptions change.
  • Ask vendors about data use, models, security, grounding, logs, exit and liability.
  • Limit harmful lock-in by owning prompts, evaluation sets and documents and keeping models replaceable.
  • Choose models by modality, context window, performance, cost, security, availability and customization.
Buy
Using a finished product with built-in AI, configured rather than coded.
Customize
Using a managed AI platform with your own data, prompts, grounding and tools.
Build
Developing and operating your own models or deeply custom AI systems.
Total cost of ownership
All costs of an option over a period, including people's time.
Lock-in
A situation where switching providers would be costly or slow.
Context window
The amount of input a model can take into account at once.
Modality
The type of data a model handles, such as text, images or audio.
Model Garden
Google Cloud's catalog of first-party, third-party and open models.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Why does Birchline buy rather than build email drafting for office staff?

    Show answer

    The task is generic, lives in Gmail and Docs, and is already covered by the licensed product.

  2. Which cost appears in both the buy and customize options for the policy assistant?

    Show answer

    Content upkeep: Birchline must keep its policies accurate either way.

  3. What does Farah consider Birchline's most valuable AI assets?

    Show answer

    Its curated data, evaluation sets and review processes.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz