Skip to content

Foundation APIs

This is the layer most often missed in AI spend tracking. Foundation API spend lands in a billing account — AWS, Azure, an OpenAI org account — rather than as a SaaS line item, so finance never sees it as "AI spend" and engineering never reports it because they think of it as "infra." All usage-based, all invisible by default unless someone goes looking.

What's tracked

ToolVendorPricing modelCoverage todayNotes
OpenAI APIOpenAIPer-tokenCatalog-listed · Hostname-recognised · Billing-connectable (via OpenAI Codex connector)The Codex connector polls the same OpenAI billing surface — covers API usage too.
Anthropic APIAnthropicPer-tokenCatalog-listed · Hostname-recognised · Billing-connectable (via Claude Code connector)Same — Claude Code admin key reads org-wide billing.
Google Gemini APIGooglePer-token via Vertex / AI StudioCatalog-listed · Hostname-recognised · Billing-connectableGemini connector.
AWS BedrockAmazonPer-token, billed via AWSCatalog-listedLands on the AWS bill — no Flowstate connector to AWS billing. Manual entry.
Azure OpenAI ServiceMicrosoftPer-token, billed via AzureInvisibleLands on the Azure bill. Manual entry.
Together AITogether AIPer-token gatewayInvisibleManual entry.
FireworksFireworksPer-token gatewayInvisibleManual entry.
GroqGroqPer-token (fast inference)InvisibleManual entry.
ReplicateReplicatePer-token / per-second gatewayInvisibleWhere Stable Diffusion / Flux usage often lands.
fal.aifal.aiPer-second gatewayInvisibleSame — image / video model serving.
OpenRouterOpenRouterPer-token gateway across providersInvisibleManual entry. Multi-model routing makes attribution hard.

What Flowstate misses today

The two biggest gaps: AWS Bedrock and Azure OpenAI Service. Both are usage-based, both bill through cloud accounts, and neither has a Flowstate connector. If your engineering org is using either at scale, the spend is hiding inside your AWS or Azure invoice — go pull the line items and enter them as AI Agents per project.

The gateway providers (Together, Fireworks, Groq, Replicate, fal.ai, OpenRouter) are the third gap. Engineering teams reach for these to get cheap or fast inference; the spend looks small per call but compounds quickly. Model each used gateway as its own AI Agent with the monthly invoice value.

Conversely: if you've already wired the OpenAI Codex, Claude Code, or Gemini billing connectors, your foundation API spend on those vendors is already covered. The connector reads org-wide billing — chat seats, code agents, raw API calls all roll into the same number.

Flowstate Documentation