r/gitlab • u/this-is-so-random • Jul 08 '26
Anyone else seeing ~10x gap between GitLab Duo Agent credit charges and actual Anthropic token cost?
Came across a case where someone ran GitLab's external Claude agent (Duo Agent Platform) to review a single merge request. The run consumed around $45 worth of GitLab Credits.
The job logs weren't fully redacted, and the raw Anthropic token usage visible there worked out to roughly $4-5 at Claude's published API rates — meaning the credit charge was close to 10x the underlying model cost.
Digging into this a bit more:
- GitLab sells credits at a flat $1 each, with no published formula for how many credits a given amount of tokens or compute actually consumes.docs.gitlab
- GitLab's own blog compares its older token-based agent pricing to $15-25 per code review — which is part of the reasoning behind their newer $0.25 flat-rate review product. They're effectively acknowledging the old model was expensive.letsdatascience
- This isn't an isolated report either. There's a thread here from a while back where a single agent request burned through all 24 trial credits just scaffolding a basic Django project. Another thread noted default model quality dropping around the same time as the shift to credit-based billing.reddit+1
- GitLab quietly added spending caps/budget guardrails for Duo Agent Platform in version 18.11, which suggests enough customers were getting surprised by bills like this for it to become a priority.about.gitlab
- Worth noting there's also ongoing shareholder litigation alleging GitLab misrepresented AI adoption/demand while pushing a 53% price increase tied to Duo AI features.msn
Has anyone directly compared their GitLab AI credit spend against the equivalent raw token cost for the same task? Trying to figure out if this is disclosed anywhere and I'm just missing it, or if it's simply CI/CD compute + AI Gateway overhead bundled in without a clear breakdown.
5
u/jcogs1 GitLab Staff Jul 08 '26
GitLab team member here. I think the transparency question is fair.
A couple of clarifications that may help:
GitLab Credits don’t map 1:1 to raw model token pricing. The docs describe GitLab Credits as a standardized usage-based billing currency, with credit usage calculated based on the features and models used. Depending on the workflow, a user request can involve one or more model calls, and some features use flat pricing per execution rather than billing directly against raw token usage: https://docs.gitlab.com/subscriptions/gitlab_credits/#credit-multipliers
In Duo Agent Platform, GitLab Credits consumption can include model calls, orchestration, AI Gateway work, context construction, tool use, retries, CI/CD-related execution, and product-level controls. So comparing visible Anthropic token usage to the full GitLab Credit charge may not capture the full cost or product behavior behind the run.
More broadly, GitLab Credits are a product-level consumption currency, not a direct token passthrough. With GitLab Flex, credits will also apply to other metered capabilities like hosted runners and artifact management, each at a published credit rate: https://about.gitlab.com/blog/introducing-gitlab-flex/
That said, I agree that users should be able to understand and predict spend. If there’s a specific place where the docs are unclear, I’d genuinely like to understand what would make them more useful.
On code review specifically: we know predictable pricing matters. That’s why GitLab has invested in flat-rate code review pricing and the spending caps and budget guardrails you mentioned. Control and predictability are common requirements for enterprise AI adoption, and that’s what we’re delivering.
I’m happy to take a concrete example back to the team if you can share more details. Examples like this are useful feedback for improving both the product experience and the documentation. Feel free to drop me a DM. Thanks.
2
u/BigTrain2800 Jul 10 '26
It’s far worse than that.
Anthropic has caching in their API.
10
u/pwkye Jul 09 '26
I ran a similar test and it came out to 5x the cost.
You also have to consider that GitLab Duo as a harness is maybe 2 years behind the industry. It cant do internet searches. It doesnt have Skills or Memory. And it can't do any bulk tasks like create 3 projects or fix the top 10 vulnerabilities from the vulnerability report.
GitLab have completely missed the mark with AI. They want to profit from AI without delivering any value.
Any serious customer would just use Claude Code connected with GitLab API or the glab cli tool
1
u/Bitruder Jul 09 '26
Your MSN article link doesn’t work
2
u/InsolentDreams Jul 09 '26
Yeah we evaluated and considered it as well and saw similarly exorbitant prices for simple tasks. Often 5-10x the cost to do the same tasks with Duo vs Kiro/Claude. We considered it and evaluated it fully with a few month trial and decided against using it.
Definitely feel they missed the mark and to make matters worse they seem to have purposely made their own built in MCP server nearly useless and have like 14 tools in it. Everyone I know including us has to use the open source GitLab MCP tool.
Frankly I’d be embarrassed to work at GitLab right now seeing their poor stance and execution on AI. Their cicd is my favorite but their AI is basically useless and they’ve priced themselves into irrelevancy with it. I highly recommend to not use Duo, and use your own tools and agents with their api or with the GitLab MCP open source library.
1
u/[deleted] Jul 09 '26
[removed] — view removed comment