Why Vertex AI Cost More Than a Claude Subscription
Vertex AIClaudeэкономика ИИ
The same task, very different economics
What stands out here is not the token price itself, but the gap between two ways of buying the same result. In the original user discussion, a task run under Claude’s $20 subscription used 15% of a four-hour limit and represented about $3 in virtual value. The same task cost $10 through Claude Sonnet 5 in Google Cloud Vertex AI.
This is not a universal benchmark. We do not know the exact input and output token counts, cache hits, repeated calls, or configuration details for either run. The case date is also unspecified, so these figures should be treated as a snapshot of conditions at the time of the discussion, not as guaranteed pricing for September 2026.
Still, the engineering signal is real: subscription limits and API billing measure workload in fundamentally different ways. A subscription can be more economical for intensive interactive work by one user, while Vertex AI charges for every programmatic call. Having $15,000 in Google Cloud credits does not make a call cheaper; it merely hides the expense temporarily.
The first step would be to break the agent trace into stages: system prompt size, conversation history, tool outputs, retry count, and generation length. Even switching to Haiku will not help if the harness sends the same context again on every loop.
The practical optimization checklist is short:
- shorten instructions and remove duplication in the harness, as suggested for Pi;
- move stable instructions and tool schemas into a cacheable prefix;
- route simple steps to a smaller model;
- cap response length, retries, and parallel branches;
- measure the cost of the full agent trace, not one request.
The caching recommendation aligns with Anthropic’s prompt caching documentation: the reusable part of the context should remain stable and appear at the beginning of the request.
When subscriptions win and the API still matters
For ongoing manual work, the subscription looks more economical in this case. The conclusion is less straightforward for automation: subscriptions were not sold through Google Marketplace, while the corporate budget was tied to Google Cloud credits.
Vertex AI still makes sense where programmatic agents, parallel workloads, and pay-as-you-go usage are needed. But without telemetry, an agent can easily turn long context windows, retries, and verbose outputs into an invisible budget leak.
I would not choose between a subscription and Vertex AI based on the price of one run. The real unit of comparison is not a token or a user seat, but a successfully completed task including every agent loop. That is the cost most teams still measure least effectively.