Codebase API vs GitLab REST and GraphQL API
Codebase APIby CodebasePaid from$16 /monthAccessHTTP, CLI, MCP, Hosted UIAgentsAgent-friendlyAPI QA score[SCORE]View API
GitLab REST and GraphQL APIby GitLabPaid fromNot statedAccessHTTP, CLI, MCPAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
15 different9 stated by only one1 the same on both
The basics
What it isCodebase 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 accountGitLab REST and GraphQL API: Reads and writes projects, repositories, issues, merge requests, commits, pipelines and packages on GitLab
AccessCodebase API: HTTP, CLI, MCP, Hosted UIGitLab REST and GraphQL API: HTTP, CLI, MCP
Still on saleCodebase API: YesGitLab REST and GraphQL API: Yes
What they work on
BothDeployment
Only one of themCodebase API: Async jobWebsiteWork projectAI modelGitLab REST and GraphQL API: CommentCommitIssuePull requestRepositorySoftware packageWorkflow runUserCI/CD pipelineGroup+11 more
Price
PricesCodebase API: GitLab REST and GraphQL API:
- Indie$16 /month
- Builder$33 /month
- Pro$65 /month
- Premium$29 /user/month, billed annually
- Storage$5 /month for 10 GiB, billed annually
- Enterprise Agile Planning$15 /user/month
Buying and paying
Agent gets a key aloneCodebase API: Yespaying the x402 offer returns 'x402.apiKey' for a wallet-keyed accountGitLab REST and GraphQL API: Nokeys, tokens or OAuth apps are created by a signed-in person in the vendor UI
First call without a keyCodebase API: Noa keyless call answers 402 until paidGitLab REST and GraphQL API: Not stated
Agent can payCodebase API: YesPOST /api/v1/builds with no key answers 402 PAYMENT-REQUIRED (x402 v2, USDC on Base); payment returns a keyGitLab REST and GraphQL API: Nocheckout needs a person with a card, or a sales contract
Payment railsCodebase API: card, cryptocard plans; USDC on Base over x402GitLab REST and GraphQL API: Not stated
Payment protocolsCodebase API: x402x402Version 2 in the PAYMENT-REQUIRED headerGitLab REST and GraphQL API: Not stated
Subscription requiredCodebase API: Nox402 payment buys credits with no planGitLab REST and GraphQL API: NoFree tier
Price published as dataCodebase API: Yesthe 402 PAYMENT-REQUIRED header carries amount, asset and creditsGitLab REST and GraphQL API: Not stated
Receipt or usage recordCodebase API: Yes402 response states 'x402.creditsGranted'; out-of-credit answers 402 insufficient-creditsGitLab REST and GraphQL API: Not stated
Pay per callCodebase API: Not statedGitLab REST and GraphQL API: Nocompute minutes $10 per 1,000 are CI, not API calls
Reading and signing up
Public pricesCodebase API: Yesplan prices on the public pricing pageGitLab REST and GraphQL API: Yestiers and add-ons on pricing page
Self-serve sign-upCodebase API: Yesaccount by web sign-up; key or OAuth from the accountGitLab REST and GraphQL API: Yesno card required
Free useCodebase API: Yes'Free $ 0 /mo ... 1,000 credits a month'GitLab REST and GraphQL API: YesFree tier, 5 users per top-level group
OpenAPICodebase API: Yes'OpenAPI 3.1 spec' at codebase.design/api-docs per llms.txtGitLab REST and GraphQL API: Yesdoc/api/openapi/openapi_v2.yaml in the gitlab repo
OpenAPI versionCodebase API: 3.1stated in llms.txtGitLab REST and GraphQL API: Not stated
Docs without loginCodebase API: YesAPI reference readable without an accountGitLab REST and GraphQL API: Yesdocs.gitlab.com
llms.txtCodebase API: Yescodebase.design/llms.txtGitLab REST and GraphQL API: Yesabout.gitlab.com/llms.txt
Docs as MarkdownCodebase API: NoAccept: text/markdown returned text/html on the docs page testedGitLab REST and GraphQL API: Not stated
MCP
Vendor MCP serverCodebase API: Yeshttps://codebase.design/api/mcpGitLab REST and GraphQL API: YesGitLab MCP server and Orbit MCP endpoint in docs.gitlab.com
MCP server hosted by the vendorCodebase API: Yeshosted by the vendorGitLab REST and GraphQL API: Yes
MCP sign-inCodebase API: Signs in with OAuth401 with OAuth protected-resource metadata; also accepts a Bearer API keyGitLab REST and GraphQL API: Not stated
Jobs both do
Open a job to see every API that does it.

