AIToday
Large Language ModelsOpen-Source AIAI Business & IndustryHacker NewsPublished: Apr 28, 2026, 07:00 JST1 min read

Lightport, a lightweight AI gateway forked from Portkey, makes LLM providers OpenAI-compatible by transforming requests and responses.

Lightport, a lightweight AI gateway forked from Portkey, makes LLM providers OpenAI-compatible by transforming requests and responses.

3 Key Points

  1. Lightport accepts OpenAI-compatible requests, transforms them for the target provider, and returns the response. It supports 77 total providers including OpenAI, Anthropic, Azure OpenAI, Google Gemini, Vertex AI, Bedrock, Cohere, Mistral, Groq, Deepseek, Together AI, Fireworks, and Ollama.

  2. The gateway implements request/response transformation only—retries, secret management, caching, rate limiting, and other operational concerns are explicitly non-goals and are better handled at a higher abstraction layer. It started as a fork of Portkey AI Gateway, since fixed numerous bugs, added integration tests for every provider, and continues to actively maintain the gateway as it directly powers Glama.

  3. Supported endpoints include POST /v1/chat/completions, POST /v1/completions, and POST /v1/responses (+ GET, DELETE, input_items). The gateway runs on http://localhost:8787 and accepts provider specification via the x-lightport-provider header along with credentials passed via Authorization or provider-specific headers.

Ask the AI about this article →

Get the latest Large Language Models news every morning

For example, today's edition would include:

  • CBTS launches Forge Agents for custom AI agentsSiliconANGLE AI · 48m ago
  • Imec CEO: AI era widens chip-model-CSP collaborationDIGITIMES Asia · 48m ago
  • Alphabet's AI Overviews reach 2.5B monthly usersYahoo Finance AI · 48m ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleEU orders Google to open Android's AI features to competitors; Google calls it 'unwarranted intervention'