FIM Gate Docs
About

Base URL

A reference for FIM Gate base URLs across APIs, covering the OpenAI-compatible, Claude, and Gemini native protocol entry points.

FIM Gate has a single service entry point:

https://api.gate.fim.ai

There is currently one global entry point with no regional nodes. All three protocols share this domain — the only differences are the endpoint paths and the authentication headers.

Quick reference

ProtocolBase URLFull endpoint exampleAuth header
OpenAI-compatiblehttps://api.gate.fim.ai/v1https://api.gate.fim.ai/v1/chat/completionsAuthorization: Bearer
Native Claude Messages APIhttps://api.gate.fim.aihttps://api.gate.fim.ai/v1/messagesx-api-key
Native Gemini GenerateContent APIhttps://api.gate.fim.aihttps://api.gate.fim.ai/v1beta/models/{model}:generateContentx-goog-api-key

Common configurations

  • Official OpenAI SDK: set base_url to https://api.gate.fim.ai/v1.
  • Official Anthropic SDK and Claude-protocol tools (such as Claude Code): set base_url to https://api.gate.fim.ai; the SDK automatically builds the full endpoint https://api.gate.fim.ai/v1/messages.
  • Google GenAI SDK and Gemini-protocol tools (such as Gemini CLI): set base_url to https://api.gate.fim.ai; the full endpoint looks like https://api.gate.fim.ai/v1beta/models/{model}:generateContent.
  • Third-party clients: different apps join the base URL differently. If one form doesn't work, try https://api.gate.fim.ai, https://api.gate.fim.ai/v1, and https://api.gate.fim.ai/v1/chat/completions in turn.