LiteLLM AI Gateway vs Claude API
LiteLLM AI Gatewayby Berrie AIPaid fromNot statedAccessHTTP, SDK, Hosted UIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Claude APIby AnthropicPaid fromNot statedAccessHTTP, SDK, CLIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
13 different5 stated by only one1 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 supportClaude API: Claude models by API: messages, batches, files, server tools (web search, code execution) and Managed Agents sessions
AccessLiteLLM AI Gateway: HTTP, SDK, Hosted UIClaude API: HTTP, SDK, CLI
Still on saleLiteLLM AI Gateway: YesClaude API: Yes
What they work on
BothAI answer
Only one of themLiteLLM AI Gateway: Access tokenAI modelTeamUsage recordAI agentClaude API: Agent runAsync jobCode executionSearch resultStorage object
Price
PricesLiteLLM AI Gateway: Not statedClaude API:
- Web search tool$10 USD per 1,000 searches
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'Claude API: Nodocs send you to sign up and create the key in the console
First call without a keyLiteLLM AI Gateway: Nocalls need a virtual key or the master keyClaude API: Not stated
Agent can payLiteLLM AI Gateway: NoEnterprise by sales contract; OSS freeClaude API: Noa person adds a card in the Console
Payment railsLiteLLM AI Gateway: invoice, marketplace'directly, or through AWS Marketplace and authorized resellers'Claude API: card, invoice, creditsstates "Major credit cards"; invoicing for enterprise; prepaid credits; also AWS and Azure Marketplace in CCUs
Payment protocolsLiteLLM AI Gateway: noneno x402, MPP, ACP or AP2 on pages readClaude API: noneno protocol named in the batch paymentRails cell
Subscription requiredLiteLLM AI Gateway: NoOSS free; Enterprise annualClaude API: Nousage billed monthly or prepaid credits
Price published as dataLiteLLM AI Gateway: Noprices only in the HTML pageClaude API: Not stated
Pay per callLiteLLM AI Gateway: Not statedClaude API: Yesper token
Reading and signing up
Public pricesLiteLLM AI Gateway: Some prices are on a public pageOpen Source $0; Enterprise 'Talk to sales'Claude API: Yesper-model token prices on platform.claude.com/docs pricing
Self-serve sign-upLiteLLM AI Gateway: Yesinstall script or pip, no accountClaude API: Yesconsole sign-up
Free useLiteLLM AI Gateway: Yes'The open-source gateway is free to self-host, forever'; 30-day Enterprise trial key by emailClaude API: Yesstates "New users receive free credits to test the API"; amount not stated
Docs without loginLiteLLM AI Gateway: Yesdocs.litellm.ai publicClaude API: Yes
llms.txtLiteLLM AI Gateway: Yeshttps://www.litellm.ai/llms.txt and https://docs.litellm.ai/llms.txtClaude API: Yesdocs.claude.com/llms.txt and platform.claude.com/llms.txt; www.anthropic.com/llms.txt is 404
Docs as MarkdownLiteLLM AI Gateway: NoAccept: text/markdown returned HTML or JSON on the docs and site URLsClaude API: Not stated
Jobs both do
Open a job to see every API that does it.

