How to Convert API Requests Between OpenAI, Anthropic Claude & Google Gemini

November 18, 2026 • 8 min read • By MafLabs Engineering

1. The Fragmented LLM API Ecosystem

Every major AI provider uses a distinct API schema. OpenAI uses messages: [{role, content}] with top-level tools. Anthropic Claude isolates system as a top-level string parameter and expects separate tool result blocks. Google Gemini uses contents: [{role, parts: [{text}]}].

2. Pain Points When Migrating Providers

Manually translating request JSON during multi-model evaluations causes errors:

3. Deterministic In-Browser Schema Translation

The MafLabs LLM API Converter translates requests between OpenAI, Anthropic, and Gemini with one click, preserving parameters and generating ready-to-use cURL commands.

Try the Free Tool on MafLabs

Run 100% in your browser. Fast, ad-free, and private with zero cloud data retention.

Open LLM API Converter →