Join early access
Menu

Models · Buyer's guide

How to choose an LLM for AI agents

The best model is the one that completes your actual workflow safely, within your latency, data and cost requirements—not the one with the loudest benchmark.

By Triangulum Labs · 25 November 2026 · All guides

An agent does more than answer a question. It reads state, decides which tool to call, handles the result and sometimes waits for a person. A model that writes a persuasive answer can still choose the wrong tool or invent an argument. Compare the entire journey, not just a single response.

Start with the task and the boundary

Write down the user goal, allowed tools, required outcome, maximum acceptable latency and actions that must be approved. A support agent drafting a reply and an operations agent updating a customer record have different error costs. Measure them separately.

Compare model families on your own cases

Teams may consider hosted model families such as OpenAI, Anthropic Claude or Google Gemini, as well as suitable open-weight models they operate themselves. Availability, versions, context limits, tool interfaces, data terms and prices change. Check current provider documentation and confirm the integration and deployment path before choosing; naming a model here does not imply a supported Triangulum integration.

Run the same representative cases against candidates with the same tool definitions, instructions, data and stopping rules. Include normal tasks, ambiguous requests, tool errors and adversarial content. Score final outcomes and review traces; a model can arrive at a correct-looking answer after taking an unacceptable action. Our agent evaluation guide provides a test plan.

Hosted model or self-hosted model?

A hosted API reduces model operations but sends the selected inputs to another service. An open-weight model can be operated in infrastructure you control, but you own serving capacity, updates, security and evaluation. Hosting the agent runtime in a VPC does not by itself keep prompts inside that VPC if it calls a hosted model. Map both boundaries before making a privacy decision.

Use a smaller model where the task allows

Consider simpler models for constrained classification or routing and more capable models for tasks that need complex reasoning—but only after measuring the quality and security of each step. An extra routing call can add latency and cost, and switching models changes behavior. Re-run the regression suite when you change a model, prompt, tool or policy.

Keep model choice separate from permissions

In Triangulum Labs' internal security proof, credential isolation and gateway restrictions passed in a tested configuration. A separate real-model evaluation recorded zero successful attacks against each of two models across 100 attack texts per model, in one agent shape. The live evaluation was not part of the signed proof. Read the technical whitepaper for methodology and partial results.

Questions to ask before committing

  1. What percentage of our own tasks succeeds without unsafe or unauthorized actions?
  2. What happens when the model asks for a forbidden tool or returns malformed arguments?
  3. What data leaves our environment, and what are the provider's current retention and regional terms?
  4. What is the cost per completed task, including retries, tools and review?
  5. How will we detect regressions after a provider or model version changes?

Continue with AI agent costs, self-hosted deployment and agent permissions.

Build the agent around your workflow

Tell us what you want the agent to do and which data boundaries matter to your team.