Back to directory

Mistral GLM Bridge

A small proxy that translates OpenAI-compatible chat requests into Mistral's native /v1/conversations endpoint, letting the 9router gateway reach a GLM-5.2 model through Mistral without hitting the rate limits on Mistral's OpenAI-compatible endpoint.

Mistral GLM Bridge

Mistral exposes both an OpenAI-compatible /v1/chat/completions endpoint, which is often rate-limited for third-party models, and a native /v1/conversations endpoint that is not. This bridge receives OpenAI-format requests from the 9router gateway, translates them to /v1/conversations, and translates the response back to OpenAI format, so a GLM-5.2 model can be used through Mistral without hitting the rate limit.

It runs as a local FastAPI server on a configurable port (default 8090) and host, started, stopped, checked and watched, with auto-restart on crash, through a control script. It is plugged into 9router as a regular provider and requires the user's own Mistral API key, set through an environment variable rather than committed to the repository.

Built with Python and FastAPI. MIT licensed; documentation is provided in English, Indonesian, Chinese, Japanese and Korean.

More in LLM gateways

See all 106
  • aihappey-ai

    github.com

    A stateless, multi-provider .NET AI gateway exposing normalized OpenAI- and Anthropic-compatible endpoints, managed agents and skills across a very large catalog of models.

  • Unified AI System

    happy520ai.github.io

    A self-hosted, protocol-first AI gateway and agent control plane for OpenAI, Anthropic, Gemini, MCP and A2A, turning a rough request into a structured, reviewable prompt before it runs.

  • Subroute

    github.com

    A local AI gateway and desktop control desk that gives coding tools one steady endpoint, so switching between AI subscriptions, API providers and local models doesn't mean reconfiguring every client.