Gemini API vs Heroku Managed Inference and Agents
Gemini APIby GooglePaid fromNot statedAccessHTTP, SDKAgentsNot agent-friendlyAPI QA score[SCORE]View API
Heroku Managed Inference and Agentsby HerokuPaid fromNot statedAccessHTTP, CLIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
11 different6 stated by only one2 the same on both
The basics
What it isGemini API: Gemini models by API key: text, vision, audio in; tools for Search and Maps grounding, code execution, file search; batchHeroku Managed Inference and Agents: Heroku add-on serving Claude, Amazon Nova, rerank and embedding models to apps, metered per token or query
AccessGemini API: HTTP, SDKHeroku Managed Inference and Agents: HTTP, CLI
Still on saleGemini API: YesHeroku Managed Inference and Agents: Yes
What they work on
Price
PricesGemini API: Heroku Managed Inference and Agents: Not stated
- Grounding with Google Search (Gemini 3 and newer)$14 per 1,000 requests
Buying and paying
Agent gets a key aloneGemini API: Nokey created in AI StudioHeroku Managed Inference and Agents: NoINFERENCE_KEY set by the add-on on a person's app
First call without a keyGemini API: Not statedHeroku Managed Inference and Agents: No
Agent can payGemini API: NoHeroku Managed Inference and Agents: Nocheckout and plan purchase need a signed-in person
Payment railsGemini API: credits, otherprepaid and pay-as-you-go via Google billingHeroku Managed Inference and Agents: card, invoice'For those customers paying by credit card ... metered billing'; enterprise uses add-on credits
Payment protocolsGemini API: noneno protocol named in the batch paymentRails cellHeroku Managed Inference and Agents: nonenone named on pages read
Subscription requiredGemini API: Noprepaid or pay as you goHeroku Managed Inference and Agents: Nometered
Price published as dataGemini API: Not statedHeroku Managed Inference and Agents: No
Pay per callGemini API: Yesper token, per grounded requestHeroku Managed Inference and Agents: Not stated
Reading and signing up
Public pricesGemini API: Yesper model, per 1M tokens, on aistudio.google.com/docs/pricingHeroku Managed Inference and Agents: Yesper-model rates on the add-on page
Self-serve sign-upGemini API: YesGoogle account and AI StudioHeroku Managed Inference and Agents: Yesattach the add-on to an app
Free useGemini API: YesFree tier with free tokens on some modelsHeroku Managed Inference and Agents: No
Docs without loginGemini API: YesHeroku Managed Inference and Agents: Yes
llms.txtGemini API: Not statedHeroku Managed Inference and Agents: Yeswww.heroku.com/llms.txt
Docs as MarkdownGemini API: Not statedHeroku Managed Inference and Agents: No
Jobs both do
Open a job to see every API that does it.

