LiteLLM AI Gateway vs CometAPI
Fact by fact
13 different3 stated by only one2 the same on both
The basics
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 supportCometAPI: OpenAI-compatible API that resells 500+ models from OpenAI, Anthropic, Google, xAI, DeepSeek and others for chat, embeddings, images, video and speech, pay as you go
AccessLiteLLM AI Gateway: HTTP, SDK, Hosted UICometAPI: HTTP, SDK
Still on saleLiteLLM AI Gateway: YesCometAPI: Yes
What they work on
Only one of themLiteLLM AI Gateway: Access tokenTeamUsage recordAI agentCometAPI: ImageSpeechTranscriptVectorVideo
Price
PricesLiteLLM AI Gateway: Not statedCometAPI:
- Image (selected model)$0.042 /image
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'CometAPI: Nokey or token is created by a signed-in person
First call without a keyLiteLLM AI Gateway: Nocalls need a virtual key or the master keyCometAPI: No/v1/models returns 401 without a key
Agent can payLiteLLM AI Gateway: NoEnterprise by sales contract; OSS freeCometAPI: Noplan bought by card in the web app by a person; no agent payment protocol
Payment railsLiteLLM AI Gateway: invoice, marketplace'directly, or through AWS Marketplace and authorized resellers'CometAPI: cardcard checkout for self-serve plans
Payment protocolsLiteLLM AI Gateway: noneno x402, MPP, ACP or AP2 on pages readCometAPI: noneno x402, MPP, ACP or AP2 on pages read
Subscription requiredLiteLLM AI Gateway: NoOSS free; Enterprise annualCometAPI: Nopay as you go
Price published as dataLiteLLM AI Gateway: Noprices only in the HTML pageCometAPI: Noprices in HTML tables and model pages
Reading and signing up
Public pricesLiteLLM AI Gateway: Some prices are on a public pageOpen Source $0; Enterprise 'Talk to sales'CometAPI: Yesplan prices on the public pricing page
Self-serve sign-upLiteLLM AI Gateway: Yesinstall script or pip, no accountCometAPI: Yes'Start Free' self-serve sign-up
Free useLiteLLM AI Gateway: Yes'The open-source gateway is free to self-host, forever'; 30-day Enterprise trial key by emailCometAPI: Not stated
Docs without loginLiteLLM AI Gateway: Yesdocs.litellm.ai publicCometAPI: YesAPI reference readable without an account
llms.txtLiteLLM AI Gateway: Yeshttps://www.litellm.ai/llms.txt and https://docs.litellm.ai/llms.txtCometAPI: Yeswww.cometapi.com/llms.txt
Docs as MarkdownLiteLLM AI Gateway: NoAccept: text/markdown returned HTML or JSON on the docs and site URLsCometAPI: Not stated
Jobs both do
Open a job to see every API that does it.

