Back to feed
Dev.to
Dev.to
5/9/2026
"My Team Had GCP Credits. Claude Code Wanted an Anthropic Key."

"My Team Had GCP Credits. Claude Code Wanted an Anthropic Key."

Short summary

Engineer bridges Claude Code to Google Cloud by building a local API gateway (CliGate) that translates Anthropic's API protocol to Vertex AI, eliminating the need for a separate API key and billing surface. The pattern handles regional routing and works with other CLIs (Codex, Gemini). Router-based architecture lets teams swap providers later without rewiring tools.

  • CliGate local gateway consolidates Claude Code with Vertex AI, unifying credentials and billing
  • Translates Anthropic Messages API to Vertex publisher endpoints with regional model family routing
  • Extensible design supports Codex CLI and Gemini CLI without tool configuration changes

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more