LLM API gateway vs Codebase API
LLM API gatewayby LLM APIPaid fromNot statedAccessHTTP, SDK, Hosted UIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Codebase APIby CodebasePaid from$16 /monthAccessHTTP, CLI, MCP, Hosted UIAgentsAgent-friendlyAPI QA score[SCORE]View API
Fact by fact
16 different7 stated by only one1 the same on both
The basics
What it isLLM API gateway: OpenAI-compatible gateway: one key and one bill for about 400 models from 36+ providers, with routing, fallbacks, caching and budgetsCodebase API: App-builder API that builds a web app from a prompt, returns a preview and the source, paid from monthly credits or per build over x402 with no account
AccessLLM API gateway: HTTP, SDK, Hosted UICodebase API: HTTP, CLI, MCP, Hosted UI
Still on saleLLM API gateway: YesCodebase API: Yes
What they work on
BothAI model
Price
PricesLLM API gateway: Not statedCodebase API:
- Indie$16 /month
- Builder$33 /month
- Pro$65 /month
Buying and paying
Agent gets a key aloneLLM API gateway: Nokey issued in a web account after sign-up by a personCodebase API: Yespaying the x402 offer returns 'x402.apiKey' for a wallet-keyed account
First call without a keyLLM API gateway: Yesthe model list answers without a key; completions need oneCodebase API: Noa keyless call answers 402 until paid
Agent can payLLM API gateway: Nocredits topped up by a person in the dashboardCodebase API: YesPOST /api/v1/builds with no key answers 402 PAYMENT-REQUIRED (x402 v2, USDC on Base); payment returns a key
Payment railsLLM API gateway: credits'Top up prepaid credits'; invoice for committed volumeCodebase API: card, cryptocard plans; USDC on Base over x402
Payment protocolsLLM API gateway: noneno agent payment protocol named on public pagesCodebase API: x402x402Version 2 in the PAYMENT-REQUIRED header
Subscription requiredLLM API gateway: No'Pay-as-you-go has no monthly fee or minimum'Codebase API: Nox402 payment buys credits with no plan
Price published as dataLLM API gateway: YesGET api.llmapi.ai/v1/models returns per-token pricing with no keyCodebase API: Yesthe 402 PAYMENT-REQUIRED header carries amount, asset and credits
Receipt or usage recordLLM API gateway: Yes'You get an invoice for every top-up'; dashboard usage by keyCodebase API: Yes402 response states 'x402.creditsGranted'; out-of-credit answers 402 insufficient-credits
Reading and signing up
Public pricesLLM API gateway: Yesper-model token prices on /pricing and /modelsCodebase API: Yesplan prices on the public pricing page
Self-serve sign-upLLM API gateway: Yes'Get API key'Codebase API: Yesaccount by web sign-up; key or OAuth from the account
Free useLLM API gateway: Noprepaid creditsCodebase API: Yes'Free $ 0 /mo ... 1,000 credits a month'
OpenAPILLM API gateway: Not statedCodebase API: Yes'OpenAPI 3.1 spec' at codebase.design/api-docs per llms.txt
OpenAPI versionLLM API gateway: Not statedCodebase API: 3.1stated in llms.txt
Docs without loginLLM API gateway: Yespages also as index.mdCodebase API: YesAPI reference readable without an account
llms.txtLLM API gateway: Yesllmapi.ai/llms.txt and llms-full.txtCodebase API: Yescodebase.design/llms.txt
Docs as MarkdownLLM API gateway: Not statedCodebase API: NoAccept: text/markdown returned text/html on the docs page tested
MCP
Vendor MCP serverLLM API gateway: Not statedCodebase API: Yeshttps://codebase.design/api/mcp
MCP server hosted by the vendorLLM API gateway: Not statedCodebase API: Yeshosted by the vendor
MCP sign-inLLM API gateway: Not statedCodebase API: Signs in with OAuth401 with OAuth protected-resource metadata; also accepts a Bearer API key
Jobs both do
Open a job to see every API that does it.

