CertSafari
    Databricks Certified Generative AI Engineer Associate· Lessons

    Domain 3 · Lesson 21/56

    Selecting an LLM from application attributes

    Select the best LLM based on the attributes of the application to be developed

    16 min read
    2.31% of exam
    8 sources
    Published 22 Oct 2026
    Docs as of 17 Oct 2026

    What you will be able to do

    • Translate an application's task, modality, context length, tool-use and reasoning needs into a model tier
    • Apply hard constraints (terms of use, region and cross-geo availability, data residency, compliance, retirement dates) to rule candidates out before comparing them
    • Treat serving mode and throughput limits as production constraints on model choice

    Key concept

    Attribute-led model selection — You pick an LLM by listing what the application needs (task, inputs, context size, tool use, reasoning depth, latency and cost targets), removing every model that cannot meet a hard constraint, and then choosing the smallest, cheapest tier that still fits what is left. You do not start from whichever model is most capable.

    1.Start from what the application must do

    Choosing an LLM starts with the application, not with a leaderboard. On Databricks, Unity Gateway puts dozens of models behind the same API: Claude, GPT, Gemini, Llama, Qwen, DeepSeek, GLM, Kimi and others, some hosted by Databricks and some by their providers. Because swapping one endpoint name for another is cheap, the hard part is knowing which model the workload actually needs. The model you call decides the quality, speed and cost of every response, so the choice comes from the application's requirements.

    The first filter is the kind of task. A model that produces conversation and a model that produces vectors cannot stand in for each other. A support assistant needs a chat model. The indexing step of a RAG pipeline needs an embedding model such as databricks-gte-large-en, which outputs a 1024-dimension vector and no text at all. Before you compare quality, write the application's attributes down as a short profile:

    • Task: chat, summarisation, extraction, coding, agentic tool use, or embedding.
    • Inputs: text only, or also images, video and audio.
    • Context: how many tokens one request must hold, and how long the output can be.
    • Reasoning depth: pattern matching over known answers, or multi-step analysis.
    • Operational targets: latency per request, request volume, budget per request, plus any compliance or residency rules.

    Every later step checks candidates against this profile. If a requirement is missing from it, you end up choosing the model by reputation.

    Checkpoint 1 of 8· Check yourself

    A team is writing the attribute profile for a RAG application. One step chunks product manuals and stores them in a vector index. The other step answers customer questions in a chat window. Which model should the indexing step use?

    Sources123

    2.Matching capability to a model tier

    Most provider families come in tiers, and each tier is aimed at a different kind of workload. In OpenAI's GPT-6 family, Astra is the frontier model for enterprise reasoning and long-context workloads. Sol offers strong agentic coding and tool use at a lower cost than Astra. Luna is the fast, cost-efficient model at the bottom of the price range. Anthropic's families follow the same pattern: Haiku, Sonnet and Opus. Opus 4.6 is described as excelling at complex reasoning, deep analysis and sophisticated multi-step workflows.

    Pick the lowest tier that still covers the hardest thing the application does. An FAQ bot that matches a question to a known answer never uses the deep analysis a frontier model is priced for, while every request pays that model's latency and per-token cost. At high volume the gap grows with each request. The reverse mistake also happens: if a contract-analysis agent has to plan several tool calls and reason over clauses, a budget tier saves money on requests that then fail. A model built for some other specialty, such as code generation or translation, is not a better fit for single-language support chat because it is specialised. It is just aimed at a different task.

    Tiers within the GPT-6 family, as described in the model catalog
    ModelPositioningFits applications that
    GPT-6 AstraFrontier model: enterprise reasoning, structured document processing, agentic search, long-context workloadsneed the deepest reasoning or very long inputs, where cost per request matters less
    GPT-6 SolStrong agentic coding, long-horizon reasoning and complex tool use at lower cost than Astrarun agents with many tool calls on a moderate budget
    GPT-6 LunaFast, cost-efficient; lowest cost in the lineuphandle high volumes of simple requests under tight latency and cost targets

    Checkpoint 2 of 8· Match them up

    Match each GPT-6 tier to the application it fits best, choosing the lowest tier that still covers the hardest thing each application does.

    Tap a term, then the definition that fits it.

    Checkpoint 3 of 8· Exam question

    A company is building a high-volume customer support chatbot that only needs to answer simple, repetitive FAQ-style questions drawn from a fixed knowledge base. Response latency and per-request cost at scale are the team's top concerns. Which approach best matches the LLM to this application's attributes?

    Sources3

    3.Context length, modality and reasoning as fit signals

    Context length is a requirement in its own right, separate from how capable a model is. A legal team that wants to summarise a 100-page contract in one prompt, without chunking, needs a context window that holds the whole document. Benchmark scores on other tasks and a low per-token price do not help if the contract does not fit. The catalog states this attribute directly. Inkling supports a context length of 1 million tokens, and GPT-6 Astra is positioned for long-context workloads. For OpenAI, Google Gemini and Anthropic models, the context window and maximum output tokens follow the values the provider publishes.

    Output length is a separate limit. Pay-per-token output caps vary widely: Meta Llama 3.3 70B Instruct is capped at 8,192 output tokens, while Moonshot AI Kimi K3 allows 1,048,576. A report generator that writes long documents can hit a low output cap even if its input fits easily. Input modality works the same way. Gemini 4 Argon accepts text, image, video and audio. Most GPT and Claude models listed accept text and image. The GTE and BGE embedding endpoints accept text only. If an application handles video, every text-and-image model drops out.

    Reasoning behaviour is the third signal, and it affects latency as much as quality. Reasoning-only models, such as GPT-6 Astra and Gemini 4 Argon, reason on every request and cannot turn it off. Hybrid models, such as Claude Haiku 5.5 or the Gemini 3 Flash models, can skip or disable reasoning for fast replies and switch it on when a request needs it. Effort parameters raise or lower the depth of reasoning. Higher effort improves accuracy on hard tasks and adds latency and tokens. For an application that is sensitive to latency and gets mostly easy requests, a hybrid model is the better fit.

    Application attributes and the model metadata that shows fit
    Application attributeMetadata to checkCatalog example
    Whole long document in one promptContext lengthInkling: context length of 1 million tokens
    Long generated outputMaximum output tokensLlama 3.3 70B Instruct: 8,192; Kimi K3: 1,048,576
    Video or audio inputSupported inputsGemini 4 Argon: text, image, video, audio
    Fast replies to easy requestsReasoning type (hybrid vs reasoning only)Claude Haiku 5.5: thinking can be disabled for faster responses
    Agents with tool callsStated support for function calling or tool useGemini 4 Argon supports function calling; Inkling optimized for agentic tool-use tasks

    These attributes come from model descriptions and model cards. Reading model cards and metadata explains how to read them. What matters here is using each field as evidence for one line of the application profile. Metadata only narrows the list. The catalog itself warns that models can hallucinate and recommends evaluating them, so the remaining candidates still need testing on your own data.

    Checkpoint 4 of 8· Check yourself

    An internal helpdesk assistant must reply at interactive speed. Most questions are easy lookups, and a few need multi-step analysis. Which model setup fits this profile best?

    Checkpoint 5 of 8· Exam question

    A legal team wants to summarize full contracts, some running 50 to 100 pages, in a single prompt without splitting the document into chunks. Which model attribute should be prioritized when selecting an LLM for this application?

    Sources345

    4.Constraints that rule a model out

    Some requirements are hard filters, not trade-offs. A model that breaks one is out, however good its benchmarks are, so apply these filters before you compare quality. Running a careful evaluation and then finding that the winner cannot be served in your region wastes the whole evaluation.

    Terms and licensing. Wherever a model is hosted, you are responsible for complying with the provider's terms of use. Third-party-hosted models go further: the provider runs the hosting environment, and the provider's terms govern how you use the model. The foundation models preinstalled in system.ai have permissive licenses. That matters when legal review blocks restrictive terms.

    Region and cross-geo availability. A model listed in system.ai is not necessarily available in your workspace. Availability depends on the workspace region, cross-geo settings and serving capacity. Some models, Gemini 4 Argon among them, use a global endpoint and need cross-geography routing enabled. If your organisation does not allow cross-geography routing, that model is out.

    Data residency and compliance. Foundation Model APIs is a Databricks Designated Service that uses Databricks Geos to manage data residency for customer content. Provisioned throughput endpoints are available with compliance certifications such as HIPAA. A healthcare workload that requires HIPAA therefore limits both the model and the way it is served.

    Lifecycle and interface. Deprecated models have retirement dates. Inkling, for example, is retired on October 30, 2026, so building a new application on it means a forced migration. Some models, such as GPT-6.1 Sol, are not supported in AI Playground and must be queried through the Responses API. That matters if your team relies on the Playground for prototyping.

    Checkpoint 6 of 8· Check yourself

    Your organisation's policy forbids cross-geography routing. During shortlisting, Gemini 4 Argon shows up under system.ai in Catalog Explorer, and it is the only candidate that accepts audio input. What should happen to it?

    Sources36782

    5.Serving mode and throughput as production constraints

    A model is only usable in production if it can be served the way production needs it. Foundation Model API serving modes explains the modes. Here they act as a filter on model choice. Pay-per-token is the easiest way to start, but it is shared, best-effort capacity. Priority mode puts a request ahead of standard pay-per-token traffic for steadier latency, with no commitment and at a higher per-token rate. Provisioned throughput gives dedicated capacity, either on-demand or reserved for a 1- or 3-month term. It is the mode for performance guarantees, fine-tuned models and compliance needs such as HIPAA.

    These modes affect model choice in three ways. A fine-tuned model that needs guaranteed throughput belongs on provisioned throughput. Pay-per-token endpoints have fixed rate limits: partner models start at Tier 1 quotas, and higher tiers require a quota request. If the expected load exceeds those limits, the model is only viable when its architecture supports provisioned throughput. Budget works the same way. Reserved capacity for a steady, predictable load and pay-per-token for a spiky prototype are different cost models, and a model that only one of them supports narrows your options.

    Partner-model pay-per-token token quota tiers
    Quota levelITPM limitOTPM limitAvailability
    Tier 11,000,000100,000Applied automatically to partner models unless a model-specific provider-capacity exception applies
    Tier 25,000,000500,000Available through the quota request flow
    Tier 310,000,0001,000,000Available through the quota request flow

    Checkpoint 7 of 8· Match them up

    Four workloads each need a Foundation Model API serving mode. Pair each mode with the workload it fits best.

    Tap a term, then the definition that fits it.

    Checkpoint 8 of 8· Exam question

    A team has fine-tuned a foundation model and is preparing to move a customer-facing application to production, where consistent response latency and guaranteed throughput under load are required. How should the fine-tuned model be served?

    Sources24

    Sources

    (8)

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 1.
      “for generating conversational responses, you can choose a chat model. Conversely, for generating embeddings of text, you can choose an embedding model.”
      ↩︎ Start from what the application must do
      “The model you choose directly affects the results of the responses you get from the API calls.”
      ↩︎ Key concept
    2. 2.
      “Efficiently compare LLMs to see the best candidate for your use case, or swap a production model with a better performing one.”
      ↩︎ Start from what the application must do
      “Foundation Model APIs is a Databricks Designated Service, which means that it uses Databricks Geos to manage data residency when processing customer content.”
      ↩︎ Constraints that rule a model out
      “Provisioned throughput endpoints are available with compliance certifications like HIPAA.”
      ↩︎ Constraints that rule a model out
      “Pay-per-token: This is the easiest way to start accessing foundation models on Databricks”
      ↩︎ Serving mode and throughput as production constraints
      “Priority mode is opt-in per request, requires no commitment, and is billed at a higher per-token rate.”
      ↩︎ Serving mode and throughput as production constraints
      “Reserved provisioned throughput: reserve dedicated capacity for a fixed 1- or 3-month term.”
      ↩︎ Serving mode and throughput as production constraints
      “Databricks admits the request ahead of standard best-effort pay-per-token traffic for more consistent latency under load.”
      ↩︎ Exam trap 3
      “This mode is recommended for all production workloads, especially those that require high throughput, performance guarantees, fine-tuned models, or have additional security requirements.”
      ↩︎ Prediction
      “Provisioned throughput comes in two options: on-demand, which has no term commitment, and reserved, which reserves dedicated capacity for a fixed term.”
      ↩︎ Checkpoint
    3. 3.
      “map any text to a 1024-dimension embedding vector and an embedding window of 8192 tokens”
      ↩︎ Start from what the application must do
      “GPT-6 Astra is OpenAI's frontier model for enterprise reasoning, structured document processing, coding, agentic search, multimodal inputs, and long-context workloads.”
      ↩︎ Matching capability to a model tier
      “delivering strong performance on agentic coding, long-horizon reasoning, and complex tool use at a lower cost than GPT-6 Astra”
      ↩︎ Matching capability to a model tier
      “Claude Opus 4.6 excels at complex reasoning, deep analysis, code generation, research, and sophisticated multi-step workflows.”
      ↩︎ Matching capability to a model tier
      “The model supports a context length of 1 million tokens and is optimized for coding, reasoning, and agentic tool-use tasks.”
      ↩︎ Context length, modality and reasoning as fit signals
      “Supported inputs: text, image, video, audio”
      ↩︎ Context length, modality and reasoning as fit signals
      “Databricks recommends customers evaluate their models to ensure they're operating as intended.”
      ↩︎ Context length, modality and reasoning as fit signals
      “Regardless of where a model is hosted, you are responsible for complying with the provider's applicable terms of use.”
      ↩︎ Constraints that rule a model out
      “This model uses a global endpoint and requires cross geography routing to be enabled.”
      ↩︎ Constraints that rule a model out
      “Thinking Machine Labs Inkling will be retired on October 30, 2026.”
      ↩︎ Constraints that rule a model out
      “This model is not supported in AI Playground. Use the Responses API to interact with this model.”
      ↩︎ Constraints that rule a model out
      “GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 family, bringing strong reasoning and agentic capability at the lowest cost in the lineup.”
      ↩︎ Exam trap 1
      “GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 family, bringing strong reasoning and agentic capability at the lowest cost in the lineup.”
      ↩︎ Prediction
    4. 4.
      “Meta Llama 3.3 70B Instruct | 8,192”
      ↩︎ Context length, modality and reasoning as fit signals
      “create a provisioned throughput endpoint if the pay-per-token limits don't meet your use case requirements.”
      ↩︎ Serving mode and throughput as production constraints
    5. 5.
      “This model supports adaptive thinking for deeper reasoning, and thinking can be disabled for faster responses.”
      ↩︎ Context length, modality and reasoning as fit signals
      “Higher reasoning effort can improve accuracy on complex tasks at the cost of increased latency and token usage.”
      ↩︎ Exam trap 4
    6. 6.
      “The provider operates the model-hosting environment, and the provider's terms govern your use of the model.”
      ↩︎ Constraints that rule a model out
      “Seeing a model there does not mean it is available in your workspace.”
      ↩︎ Exam trap 2
    7. 7.
      “These models have permissive licenses and have been optimized for serving with On-demand provisioned throughput Foundation Model APIs.”
      ↩︎ Constraints that rule a model out
    8. 8.
      “Availability depends on region, cross-Geo settings, and available serving capacity.”
      ↩︎ Constraints that rule a model out

    Spotted a mistake, or was something unclear? Tell us.