apis.directory

LiteLLM AI Gateway vs AI/ML API

LiteLLM AI Gatewayby Berrie AIPaid fromNot statedAccessHTTP, SDK, Hosted UIAgentsNot agent-friendlyAPI QA score[SCORE]View API
AI/ML APIby AI/ML APIPaid fromNot statedAccessHTTP, SDK, CLI, MCPAgentsNot agent-friendlyAPI QA score[SCORE]View API

Fact by fact

15 different7 stated by only one1 the same on both

The basics

Made byLiteLLM AI Gateway: Berrie AIAI/ML API: AI/ML API
What it isLiteLLM AI Gateway: Open-source, self-hosted AI gateway and Python SDK that puts 100+ LLM providers behind one OpenAI-compatible API, with virtual keys, budgets, spend tracking, routing, fallbacks and guardrails; an Enterprise licence adds SSO, audit logs and supportAI/ML API: One OpenAI-compatible API key and USD balance for 800+ third-party models (chat, images, video, speech, embeddings, OCR, 3D) and a remote MCP server over 10,000+ tools, billed per call
AccessLiteLLM AI Gateway: HTTP, SDK, Hosted UIAI/ML API: HTTP, SDK, CLI, MCP
Still on saleLiteLLM AI Gateway: YesAI/ML API: Yes

What they work on

Only one of themLiteLLM AI Gateway: Access tokenTeamAI agentAI/ML API: Agent toolImageVectorVideo

Buying and paying

Agent gets a key aloneLiteLLM AI Gateway: Yesquickstart writes a master key to .env with no account; 'It asks no questions ... under Claude Code'AI/ML API: Nosign-in in a browser
First call without a keyLiteLLM AI Gateway: Nocalls need a virtual key or the master keyAI/ML API: Noevery call needs a key or OAuth token
Agent can payLiteLLM AI Gateway: NoEnterprise by sales contract; OSS freeAI/ML API: Nobalance topped up by card, PayPal or crypto in the account by a person
Payment railsLiteLLM AI Gateway: invoice, marketplace'directly, or through AWS Marketplace and authorized resellers'AI/ML API: card, crypto, other'credit or debit card, PayPal or cryptocurrency'
Payment protocolsLiteLLM AI Gateway: noneno x402, MPP, ACP or AP2 on pages readAI/ML API: nonenone named
Subscription requiredLiteLLM AI Gateway: NoOSS free; Enterprise annualAI/ML API: No'There is no subscription'
Smallest purchase (USD)LiteLLM AI Gateway: Not statedAI/ML API: From $20'Top up from $20'
Price published as dataLiteLLM AI Gateway: Noprices only in the HTML pageAI/ML API: Yes'agents should read include=pricing from the catalogue' (GET /v1/models)
Test purchasesLiteLLM AI Gateway: Not statedAI/ML API: Yesdocs list 'Sandbox Mode'
Receipt or usage recordLiteLLM AI Gateway: Not statedAI/ML API: Yes'GET /v2/billing returns current_balance'; 'Request Tracing and Cost Headers'

Reading and signing up

Public pricesLiteLLM AI Gateway: Some prices are on a public pageOpen Source $0; Enterprise 'Talk to sales'AI/ML API: Yesper-model prices per 1M tokens
Self-serve sign-upLiteLLM AI Gateway: Yesinstall script or pip, no accountAI/ML API: Yeskeys at aimlapi.com/app/keys after sign-in
Free useLiteLLM AI Gateway: Yes'The open-source gateway is free to self-host, forever'; 30-day Enterprise trial key by emailAI/ML API: Not stated
Docs without loginLiteLLM AI Gateway: Yesdocs.litellm.ai publicAI/ML API: Yesdocs public
llms.txtLiteLLM AI Gateway: Yeshttps://www.litellm.ai/llms.txt and https://docs.litellm.ai/llms.txtAI/ML API: Yeshttps://aimlapi.com/llms.txt and docs.aimlapi.com/llms.txt
Docs as MarkdownLiteLLM AI Gateway: NoAccept: text/markdown returned HTML or JSON on the docs and site URLsAI/ML API: Yesdocs answer GET index.md?ask=

MCP

Vendor MCP serverLiteLLM AI Gateway: Not statedAI/ML API: Yeshttps://mcp.aimlapi.com/mcp
MCP server hosted by the vendorLiteLLM AI Gateway: Not statedAI/ML API: Yeshosted by the vendor
MCP sign-inLiteLLM AI Gateway: Not statedAI/ML API: Signs in with OAuth'OAuth 2.1 + PKCE with dynamic client registration'; a Bearer API key also works

Jobs both do

Open a job to see every API that does it.

For API makers

Is your API missing?

Send one link and we add it to the graph: what it works on, what it costs and what it connects to.

Free, or $100 one time for review in 1 to 2 days.