LiteLLM AI Gateway vs Friendli Model APIs
LiteLLM AI Gatewayby Berrie AIPaid fromNot statedAccessHTTP, SDK, Hosted UIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Friendli Model APIsby FriendliAIPaid fromNot statedAccessHTTP, SDK, CLIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
13 different3 stated by only one3 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 supportFriendli Model APIs: Serverless inference API for open models (GLM, Gemma and others), OpenAI-compatible, billed per million input, cached-input and output tokens from prepaid credits
AccessLiteLLM AI Gateway: HTTP, SDK, Hosted UIFriendli Model APIs: HTTP, SDK, CLI
Still on saleLiteLLM AI Gateway: YesFriendli Model APIs: Yes
What they work on
Only one of themLiteLLM AI Gateway: Access tokenTeamUsage recordAI agentFriendli Model APIs: Transcript
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'Friendli Model APIs: 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 keyFriendli Model APIs: Noevery call needs a key or OAuth token
Agent can payLiteLLM AI Gateway: NoEnterprise by sales contract; OSS freeFriendli Model APIs: 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'Friendli Model APIs: card, bankTransfer, marketplace'all major credit and debit cards', ACH, AWS Marketplace (billing docs)
Payment protocolsLiteLLM AI Gateway: noneno x402, MPP, ACP or AP2 on pages readFriendli Model APIs: noneno x402, MPP, ACP or AP2 on pages read
Subscription requiredLiteLLM AI Gateway: NoOSS free; Enterprise annualFriendli Model APIs: Noprepaid credits, pay per token
Price published as dataLiteLLM AI Gateway: Noprices only in the HTML pageFriendli Model APIs: Noprices only in the HTML page
Receipt or usage recordLiteLLM AI Gateway: Not statedFriendli Model APIs: Yesbilling history and current usage in Friendli Suite; not checked by API
Reading and signing up
Public pricesLiteLLM AI Gateway: Some prices are on a public pageOpen Source $0; Enterprise 'Talk to sales'Friendli Model APIs: Yesplan prices on the public pricing page
Self-serve sign-upLiteLLM AI Gateway: Yesinstall script or pip, no accountFriendli Model APIs: Yesaccount by web sign-up; key or OAuth app from account settings
Free useLiteLLM AI Gateway: Yes'The open-source gateway is free to self-host, forever'; 30-day Enterprise trial key by emailFriendli Model APIs: Not stated
Docs without loginLiteLLM AI Gateway: Yesdocs.litellm.ai publicFriendli Model APIs: YesAPI reference readable without an account
llms.txtLiteLLM AI Gateway: Yeshttps://www.litellm.ai/llms.txt and https://docs.litellm.ai/llms.txtFriendli Model APIs: Yesfriendli.ai/docs/llms.txt
Docs as MarkdownLiteLLM AI Gateway: NoAccept: text/markdown returned HTML or JSON on the docs and site URLsFriendli Model APIs: YesAccept: text/markdown returns text/markdown on friendli.ai/docs
MCP
Vendor MCP serverLiteLLM AI Gateway: Not statedFriendli Model APIs: The vendor's MCP server only searches its docshttps://friendli.ai/docs/mcp: 'search and retrieval tools for the FriendliAI Docs site'; the MCP server only searches documentation
Jobs both do
Open a job to see every API that does it.

