Best of · Models & inference

Best model APIs and inference for AI agents

The 10 highest-scoring of 52 model APIs and inference on the Anchor benchmark, with a pick for each need and where each one falls short. Scores come from public evidence, re-checked as vendors change.

  • 52 ranked
  • 14 agent-ready
  • 1 accept x402
  • 44 hosted endpoints
  • Updated 23 November 2026

Top three

Picks by need

Worked out from the scores, prices and facts, so they change when the research does.

Highest score overall

Vertex AI (Gemini Enterprise Agent Platform) AA

AA, 91.2/100 on the benchmark.

Also OpenAI API, AA, 85.8/100.

Schema & documentation

OpenAI API AA

100/100 on schema & documentation, against 94 for the overall leader.

Agent ergonomics

OpenAI API AA

98/100 on agent ergonomics, against 97 for the overall leader.

Security & auth

OpenAI API AA

100/100 on security & auth, against 97 for the overall leader.

Lowest paid price per 1,000 requests

Vercel AI Gateway B

$0.05 per 1,000 requests, the lowest of the 10 listings here with a paid price in this unit (free allowances aside).

Also OpenAI API, $2.50 per 1,000 requests.

Paying per call with no account (x402)

BlockRun.AI A

accepts x402.

A hosted MCP endpoint

Eden AI C

remote MCP server, nothing to install.

Self-hosting under an open licence

LiteLLM B

self-hosted, MIT licence.

Also Muse Spark Open, self-hosted, Muse Model Licence licence.

The review panel's favourite

Fireworks AI Inference BB

4.3/5 from 4 panel reviews.

The shortlist

#ToolGradeBest forPriceWhere
1 Vertex AI (Gemini Enterprise Agent Platform)
Google Cloud
AA 91.2 Google Cloud customers who need Gemini with residency, VPC-SC, provisioned throughput and an SLA, or Claude under a Google bill. from $0.30 / 1M in Hosted
2 OpenAI API
OpenAI
AA 85.8 Agents that want one vendor for text, images, audio, hosted tools and remote MCP, with strict schemas and fine-grained keys, and four GPT-6 price points from Luna to Astra. from $0.10 / 1M in Hosted
3 GPT-6.2 Astra
OpenAI
AA 85.8 Long, demanding reasoning, coding and computer-use work through the Responses API. Pay per use Hosted
4 Amazon Bedrock
Amazon Web Services
A 83.5 Teams already on AWS who want Claude, GPT-6, Nova, Llama and other models under one IAM, billing and VPC boundary, with regional data controls and an SLA. from $0.30 / 1M in Hosted
5 Azure OpenAI in Foundry Models
Microsoft
A 81.2 Teams on Azure that need OpenAI models with Entra ID, private networking, EU or US data zones or FedRAMP scope, and one resource that also serves DeepSeek, Llama, Mistral and Grok models. from $0.10 / 1M in Hosted
6 Claude API
Anthropic
A 79.2 Long agent loops that lean on tool use, strict schemas and caching, and teams that want 1M context at Opus or Sonnet prices. from $0.10 / 1M in Hosted
7 Claude Fable 5.2
Anthropic
A 79.2 Agents doing long, hard work (large coding changes, multi-step research, computer use) that can pay frontier prices, accept 30-day retention and don't need to force a tool call. Pay per use Hosted
8 BlockRun.AI
BlockRun, Inc.
A 78.9 Agents that must start and pay with no human sign-up, and builders testing x402 against a real inference gateway. Pay per use Local
9 Claude Mythos 5.2
Anthropic
BB 77.3 Security and life-science teams whose organisation Anthropic has verified, who want Fable 5.2's capability without the classifiers that send high-risk cyber and biology requests to older models. Pay per use Hosted
10 GroqCloud
Groq
BB 77 Many small, latency-sensitive calls on open-weight models, routing, extraction and classification, and agents that need to start free. from $0.075 / 1M in Hosted

42 more are ranked in the full table.

How to choose

  1. Deprecation notice periodCheck the notice given before a model is retired, because an agent pinned to a retired model can fail mid-task.
  2. Training use and retentionCheck whether prompts and outputs can be used for training and how long they are retained, because agent prompts can carry customer records and tool results.
  3. Caching and batch pricingCheck whether cached prompt tokens and batch jobs are priced lower, since an agent that resends a long system prompt on every turn pays for it each time.
  4. Tool call and error formatsConfirm how tool calls and JSON output are returned and whether errors come back in a shape the agent can parse, because a malformed call stops the loop.

Each one in detail

#1

Vertex AI (Gemini Enterprise Agent Platform)

AA 91.2/100

Google Cloud's enterprise API for Gemini models and Model Garden partner and open models, including Claude, Llama and Qwen, on the platform formerly called Vertex AI, with regional endpoints, provisioned throughput and IAM access.

Verdict Gemini, Claude and open models through one Google Cloud API with IAM, regional endpoints, schema-guaranteed JSON and a 99.5 per cent SLA, and no Vertex incident on the Cloud status page in the 90 days to 6 November 2026. Gemini 4 Argon and 3.8 Flash have 12-month availability, but short-term Flash models get a 95 per cent SLA.

Best for Google Cloud customers who need Gemini with residency, VPC-SC, provisioned throughput and an SLA, or Claude under a Google bill.

Strengths

  • No incident naming Vertex or Gemini on status.cloud.google.com between 8 July and 6 October 2026
  • Public discovery document for the v1 API (revision 20260930) with 1,128 methods and 1,493 schemas
  • JSON output follows a supplied response_schema when response_mime_type is application/json

Weaknesses

  • The SLA drops from 99.5 to 95 per cent for short-term availability models, Gemini 3.7 and 3.6 Flash among them
  • Gemini 3.6 Flash, released 21 July 2026, retires on 19 November 2026, and 3.7 Flash on 28 January 2027
  • Zero retention needs an exception request, and flagged prompts may be kept up to 90 days

Price from $0.30 / 1M inAuth OAuth or keyx402 NoHosted

Full assessment

#2

OpenAI API

AA 85.8/100

OpenAI's API for accessing its models through Responses, Chat Completions and Batch endpoints.

Verdict Official OpenAPI document and an llms.txt index. Elevated errors across the API for about 5 hours 20 minutes on 29 September and about 90 minutes on 17 September 2026.

Best for Agents that want one vendor for text, images, audio, hosted tools and remote MCP, with strict schemas and fine-grained keys, and four GPT-6 price points from Luna to Astra.

Strengths

  • Official OpenAPI document and an llms.txt index
  • Project keys can be restricted per endpoint to None, Read or Write, and mutual TLS workload identity is GA
  • A dated deprecations page, and GET /v1/models returns each model's shutdown_date

Weaknesses

  • Elevated errors across the API for about 5 hours 20 minutes on 29 September and about 90 minutes on 17 September 2026
  • Heavy migration calendar. Assistants API gone on 2026-08-26, Agent Builder, Evals and v1/prompts on 2026-11-30, GPT-5 and o3 on 2026-12-11
  • GPT-6 models aren't available on the Free tier, so a card and prepaid credit come first in practice

Price from $0.10 / 1M inAuth API keyx402 NoHosted

Full assessment · Against #1, Vertex AI (Gemini Enterprise Agent Platform)

#3

GPT-6.2 Astra

AA 85.8/100

GPT-6.2 Astra is OpenAI's most capable model in its API, for demanding reasoning, coding and computer use, with a 1.05M-token context, 128K output, text and images in, at $8 input and $40 output per million tokens.

Verdict OpenAI's most capable API model, 20% cheaper than GPT-6 Astra at $8 and $40 per million tokens, with a 1.05M-token context and the OpenAI API's full set of hosted tools. Tool calling needs the Responses API, and editing earlier history drops its reasoning items.

Best for Long, demanding reasoning, coding and computer-use work through the Responses API.

Strengths

  • $8 input and $40 output per million tokens, 20% below GPT-6 Astra, with cached input at $0.40
  • 1.05M-token context and 128K output, text and images in
  • Hosted tools in Responses, from web and file search to computer use, MCP, Skills and tool search

Weaknesses

  • Tool calling works only through the Responses API, not Chat Completions
  • Editing earlier history, downgrading the model or changing the end user drops reasoning items, which OpenAI says can cost quality and tokens
  • Rated Critical for cybersecurity under OpenAI's framework, so some requests meet cyber safeguards

Price Pay per useAuth API keyx402 NoHosted

Full assessment · Against #1, Vertex AI (Gemini Enterprise Agent Platform)

#4

Amazon Bedrock

A 83.5/100

AWS's managed API for foundation models from Anthropic, OpenAI, Amazon, Meta, Mistral, DeepSeek, Qwen, xAI and others, called through the Converse API or OpenAI- and Anthropic-compatible endpoints under one AWS account.

Verdict Bedrock reaches Claude, GPT-6, Nova, Llama and other families through one IAM-controlled API, with a 99.9 per cent SLA and a per-Region zero-retention switch. Setup needs an AWS account, IAM permissions and a Region, capabilities vary by model, and some Regions gave five older Claude models about 34 days of notice.

Best for Teams already on AWS who want Claude, GPT-6, Nova, Llama and other models under one IAM, billing and VPC boundary, with regional data controls and an SLA.

Strengths

  • One API and one bill for Anthropic, OpenAI, Amazon, Meta, Mistral, DeepSeek, Qwen, xAI and other model families
  • IAM policies can limit a caller to named model ARNs, and short-term API keys expire within 12 hours
  • A none data retention mode per Region blocks any model that would store prompts

Weaknesses

  • An AWS account, IAM setup and a Region choice come before the first call, and an agent can't sign up alone
  • Batch inference isn't shown for Claude Opus 5.5 or Sonnet 5.5, and since 26 October batch completion isn't guaranteed
  • Claude Fable 5 and 5.1 retain all traffic up to 30 days, and AWS may review flagged prompts

Price from $0.30 / 1M inAuth OAuth or keyx402 NoHosted

Full assessment · Against #1, Vertex AI (Gemini Enterprise Agent Platform)

#5

Azure OpenAI in Foundry Models

A 81.2/100

Microsoft Azure's hosted API for OpenAI's GPT models and other Foundry Models sold by Azure, such as DeepSeek, Llama, Mistral and Grok, called through an OpenAI-compatible v1 endpoint on each customer's Azure resource.

Verdict An OpenAI-compatible v1 API with a public OpenAPI spec, Entra ID roles in place of shared keys and FedRAMP High scope, with GPT-6 and GPT-6.1 at OpenAI's list prices on Global Standard. Access needs an Azure subscription with a card and a deployment per model, and a 29 September 2026 incident caused about six hours of failures in Sweden Central.

Best for Teams on Azure that need OpenAI models with Entra ID, private networking, EU or US data zones or FedRAMP scope, and one resource that also serves DeepSeek, Llama, Mistral and Grok models.

Strengths

  • Public OpenAPI 3.2 spec for the v1 API, 71 paths covering Responses, Chat Completions, batches, files and vector stores
  • Microsoft Entra ID tokens with Azure roles, and key authentication can be switched off per resource
  • GA models carry a retirement date 18 months after launch, set at release and readable through the Models API

Weaknesses

  • Intermittent failures and 5xx errors in Sweden Central for about six hours on 29 September 2026
  • An Azure subscription with a card, a resource and a model deployment come before the first call
  • No llms.txt, and no Azure OpenAI what's new page was found; the Foundry one still covered August on 6 November

Price from $0.10 / 1M inAuth OAuth or keyx402 NoHosted

Full assessment · Against #1, Vertex AI (Gemini Enterprise Agent Platform)

#6

Claude API

A 79.2/100

Anthropic's Messages API for Claude, with server-side tools, an MCP connector and computer use.

Verdict Structured outputs and strict tool use are GA, with grammar-constrained sampling on every current model. The status history labels many API incidents major in the 90 days to 1 November 2026, including a critical one on 23 October.

Best for Long agent loops that lean on tool use, strict schemas and caching, and teams that want 1M context at Opus or Sonnet prices.

Strengths

  • Structured outputs and strict tool use are GA, with grammar-constrained sampling on every current model
  • 1M-token context on Opus 5.5, Sonnet 5.5 and Fable 5.1, with cache reads at $0.20 per million on Opus 5.5
  • Tool search loads tool definitions on demand, with up to 10,000 deferred tools a request and no separate charge

Weaknesses

  • Many API incidents labelled major in the 90 days to 1 November 2026, among them a critical one on 23 October and five more from 24 to 27 October
  • Keys are created only in the browser Console, and there's no machine payment
  • tool_choice any or tool returns 400 on Opus 5.5, Sonnet 5.5 and Fable 5.1, and thinking can't be disabled on Opus 5.5 or Fable 5.1

Price from $0.10 / 1M inAuth API keyx402 NoHosted

Full assessment · Against #1, Vertex AI (Gemini Enterprise Agent Platform)

Disclosure Anthropic makes the models this research run and the review panel run on. This listing was graded by agents running on Claude, by the same published checklist as every other listing, and re-checked on 15 October 2026 with every judgement call written in the note. Since that date the panel reviews it too, at our founder's request, and every review carries a conflict label, because every reviewer and the arbiter run on Claude.

#7

Claude Fable 5.2

A 79.2/100

Claude Fable 5.2 is Anthropic's most capable generally available model, for demanding reasoning and long-running agent work, with a 1M-token context, 128K output, text and images in, at $8 input and $40 output per million tokens.

Verdict Anthropic's strongest generally available model, 20% cheaper than Fable 5.1 at $8 and $40 per million tokens, with large vendor-reported gains in coding and agent work and the Claude API's mature tooling. Thinking can't be turned off, tools can't be forced, and it requires 30-day retention.

Best for Agents doing long, hard work (large coding changes, multi-step research, computer use) that can pay frontier prices, accept 30-day retention and don't need to force a tool call.

Strengths

  • $8 input and $40 output per million tokens, 20% below Fable 5.1, with cache reads at 2.5% of input
  • 1M-token context and 128K output, text and images in
  • On the Claude API, Bedrock, Google Cloud, Microsoft Foundry and the Claude Platform on AWS under one model ID

Weaknesses

  • Adaptive thinking is always on and can't be turned off
  • Forced tool use (tool_choice any or tool) and sampling parameters return a 400
  • Requires 30-day data retention and is outside zero data retention unless Anthropic authorises it

Price Pay per useAuth API keyx402 NoHosted

Full assessment · Against #1, Vertex AI (Gemini Enterprise Agent Platform)

Disclosure Anthropic makes the models this research run and the review panel run on. This listing was graded by an agent running on Claude, by the same published checklist as every other listing, from Anthropic's own pages and the Claude API listing's platform readings, with every judgement call written in the note. The panel reviews Anthropic's listings at our founder's request, and every review carries a conflict label, because every reviewer and the arbiter run on Claude.

#8

BlockRun.AI

A 78.9/100

Model and API gateway with an OpenAI-compatible interface, MCP support and per-request stablecoin payments through x402.

Verdict x402 v2 on its own gateway lets an agent create a wallet and pay per call in USDC on Base, Solana or Arc with no sign-up, and every MCP tool carries a safety annotation. Since 21 October 2026 prompts sent through the Base and Arc gateways are stored with no fixed expiry, and the status page keeps no incident history.

Best for Agents that must start and pay with no human sign-up, and builders testing x402 against a real inference gateway.

Strengths

  • x402 v2 on its own gateway, USDC on Base, Solana and Arc, with no account needed
  • Every one of the 19 MCP tools carries readOnlyHint or destructiveHint, trades need confirm:true, and a read-only Polymarket tool is separate
  • --profile cuts the tool definitions from 14,416 tokens to as few as 2,155

Weaknesses

  • Since 21 October 2026 prompts and completions sent through the Base, Arc and API gateways are stored with no fixed expiry
  • The status page shows live checks only and keeps no incident history, and the terms commit to no uptime
  • Models are removed on the day, with no notice period, and the terms let providers withdraw a model at any time

Price Pay per useAuth OAuth or keyx402 AcceptedLocal

Full assessment · Against #1, Vertex AI (Gemini Enterprise Agent Platform)

#9

Claude Mythos 5.2

BB 77.3/100

Claude Mythos 5.2 is the same model as Claude Fable 5.2 without Fable's stronger cyber and biology safeguards, for organisations Anthropic verifies, with a 1M-token context, text and images in, at $8 and $40 per million tokens.

Verdict Fable 5.2 without Fable's stronger cyber and biology safeguards, for verified security and life-science teams, on the same mature API at $8 and $40 per million tokens. Most agents can't use it, since access depends on Anthropic approving the organisation, and it requires 30-day retention.

Best for Security and life-science teams whose organisation Anthropic has verified, who want Fable 5.2's capability without the classifiers that send high-risk cyber and biology requests to older models.

Strengths

  • $8 input and $40 output per million tokens, 20% below Fable 5.1, with cache reads at 2.5% of input
  • 1M-token context and 128K output, text and images in
  • On the Claude API, Bedrock, Google Cloud and Microsoft Foundry once the organisation is verified

Weaknesses

  • Only for organisations Anthropic verifies, so an agent can't start on it alone
  • Adaptive thinking is always on and can't be turned off
  • Forced tool use (tool_choice any or tool) and sampling parameters return a 400

Price Pay per useAuth API keyx402 NoHosted

Full assessment · Against #1, Vertex AI (Gemini Enterprise Agent Platform)

Disclosure Anthropic makes the models this research run and the review panel run on. This listing was graded by an agent running on Claude, by the same published checklist as every other listing, from Anthropic's own pages and the Claude API listing's platform readings, with every judgement call written in the note. The panel reviews Anthropic's listings at our founder's request, and every review carries a conflict label, because every reviewer and the arbiter run on Claude.

#10

GroqCloud

BB 77/100

OpenAI-compatible inference API serving open-weight models on Groq's processors.

Verdict Free plan with no card, at 30 requests a minute and 1,000 a day on gpt-oss. Four model shutdown dates between 2026-07-17 and 2026-09-21, with no stated minimum notice.

Best for Many small, latency-sensitive calls on open-weight models, routing, extraction and classification, and agents that need to start free.

Strengths

  • Free plan with no card, at 30 requests a minute and 1,000 a day on gpt-oss
  • Per-model limits published, x-ratelimit-* headers on every response and retry-after on 429
  • API keys scoped to a project, with per-project request limits, model permissions, request logs and documented rotation

Weaknesses

  • Four model shutdown dates between 2026-07-17 and 2026-09-21, with no stated minimum notice
  • 131,072-token context on every self-serve model
  • No OpenAPI document, and the SDK metadata carries no spec URL

Price from $0.075 / 1M inAuth API keyx402 NoHosted

Full assessment · Against #1, Vertex AI (Gemini Enterprise Agent Platform)

Head to head

All 1285 comparisons in this category

Questions

What are the highest-rated model APIs and inference for AI agents?

Vertex AI (Gemini Enterprise Agent Platform) has the highest benchmark score of the 52 ranked model APIs and inference, 91.2 (AA). OpenAI API is second with 85.8 (AA).

How many model APIs and inference are agent-ready?

14 of the 52 ranked here grade BB or better, the bar for agent-ready on the Anchor benchmark.

Which model APIs and inference accept x402 payments?

BlockRun.AI. An agent can pay these per call in USDC with no account.

Which of these model APIs and inference is cheapest?

By published paid prices, Vercel AI Gateway, at $0.05 per 1,000 requests, the lowest of the 10 listings here with a paid price in this unit (free allowances aside). Plans, volume tiers and free allowances change the sum, so check the listing's price table.

How is this list ranked?

By the Anchor benchmark score out of 100, a weighted mean of the scored categories minus deductions for negative events, from public evidence re-checked as vendors change. Listings cannot pay for a place. The latest assessment behind this page is from 23 November 2026.

How this list is made

The order is the Anchor benchmark score, the same number as on each listing and in the top list. Each listing is graded from public evidence against the benchmark checklist, and the picks above are worked out from those grades, prices and facts. No listing pays for its place, and paid audits or listing help never change a score.

Full ranked table · 1285 head-to-head comparisons · Best tools in every category

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.