Now routing Gemini 3.1 Pro

One API.
Every frontier model.

ModGate is the unified gateway for 200+ AI models. Switch providers with a string, route by price or latency, and ship without rewriting a line of code.

models
248
tokens / wk
31.4B
p50 ttft
0.34s
~/modgat · curl200 OK · 412ms
$ curl https://api.modgat.com/v1/chat/completions \
    -H "Authorization: Bearer $MODGAT_KEY" \
    -d '{
      "model": "deepseek/deepseek-v4-pro",
      "route": "cheapest",
      "messages": [
        { "role": "user", "content": "Plan a 3-day Lisbon trip." }
      ]
    }'
# or: "openai/gpt-5.5" · "moonshot/kimi-k2-6"

{
  "id": "mg_01J9X…",
  "model": "deepseek/deepseek-v4-pro",
  "choices": [{ "message": {
    "role": "assistant",
    "content": "Day 1 — Alfama & Fado…"
  }}],
  "usage": { "prompt": 32, "completion": 412 },
  "cost_usd": 0.0046
}
typescript · python · go · rust · curlopenai-compatible
Routes to
Global frontier

One API, connect to the global frontier

Route to the latest frontier models from China, the US, and beyond through a single OpenAI-compatible endpoint. Switch providers with one string change.

China Frontier

DeepSeek · GLM · Kimi · Qwen — exceptional value and long context

DeepSeek
CN · Flagship
DeepSeek V4 Pro

SWE-bench 80.6%, roughly 1/10 the cost of Opus

1M contextCoding leaderOpen weights
1M context$0.2800 in · $2.4800 out / 1M
Z.AI
CN · Flagship
GLM-5.2

MIT open source, enterprise self-hosting and sovereign deployment

MIT licenseSelf-hostedEnterprise ready
200K context$0.6300 in · $2.5000 out / 1M
Moonshot
CN · Flagship
Kimi K2.6

Native swarm sampling for complex multi-step workflows

Agent swarmMulti-step tasks256K context
256K context$0.3000 in · $0.9000 out / 1M
Qwen
CN · Flagship
Qwen 3.6 Plus

Broadest product line, bilingual long context and tool use

1M contextBilingualTool use
1M context$0.1500 in · $0.4500 out / 1M

US Frontier

Claude · GPT · Gemini — leading reasoning and multimodal

OpenAI
US · Flagship
GPT-5.5

Top agentic workflows, Terminal-Bench 82.7%

1M contextAgentic codingNative tools
1M context$5.0000 in · $30.0000 out / 1M
Anthropic
US · Flagship
Claude Opus 4.8

SWE-bench 88.6%, the Claude flagship available on ModGate

Coding agentExtended thinkingComputer use
200K context$5.0000 in · $25.0000 out / 1M
Google
US · Flagship
Gemini 3.1 Pro

GPQA 94.3%, multimodal + long context at strong value

1M contextMultimodalBest value
1M context$2.0000 in · $12.0000 out / 1M
xAI
US · Flagship
Grok 4.3

Real-time data grounding with low-latency inference

Realtime dataLow latencyLive X grounding
128K context$1.2500 in · $2.5000 out / 1M

More regions and providers are on the way.

View all frontier models →
Global ranking · updated weekly

The world's top 10 models.

Aggregated from public benchmarks, arena scores and developer adoption. Route to any of them with a single string change.

Hover or tap a row to see its 12-week score trend.

The catalog

Text, vision, audio, image & video — one contract.

A curated view of the frontier models you can route through ModGate. Pricing and availability are representative — actual runtime models are configured in your dashboard.

Text & reasoning

11 models
Model
GPT-5.5
Claude Opus 4.8
Gemini 3.1 Pro
Llama 4 405B
DeepSeek V4 Pro
GLM-5.2
Kimi K2.6
Qwen 3.6 Plus
MiMo V2.5 Pro
Mistral Large 3
Grok 4.3
What you get

Built for teams shipping LLM products in production.

Smart routing

Route by cost, latency, capability, or region. Failover across providers in milliseconds — your users never see a 503.

openai
anthropic
google
meta
mistral
cheapest

Cost & latency analytics

Per-route dashboards. Set spend caps and alerts. Export usage to your warehouse.

Zero retention

Prompts never leave your perimeter. SOC 2 Type II, HIPAA, EU residency.

OpenAI-compatible

Drop-in replacement for openai-sdk. Same shape for tools, vision, streaming.

Evals & A/B

Compare two models on the same prompt, side-by-side, with cost & quality scores.

Drop-in

Change one line. Switch the entire stack.

Point the OpenAI SDK at ModGate and prefix the model with a vendor. That's it. Tools, streaming, vision, and JSON mode work everywhere.

  • Identical schemas across providers
  • Streaming with SSE or WebSocket
  • Per-request route override
  • Built-in cost & token accounting
openai.tstypescript
import OpenAI from "openai";

const ai = new OpenAI({
  baseURL: "https://api.modgat.com/v1",
  apiKey: process.env.FORGE_KEY,
});

const res = await ai.chat.completions.create({
  model: "gemini-3-pro",
  messages: [{ role: "user", content: "ship it" }],
  // optional — let ModGate pick the cheapest qualified model:
  // model: "auto", route: { max_cost: 0.002 },
});
Pricing

You pay tokens. We pay the rest.

Hobby
$0Pay only for tokens.
  • All 248 models
  • Playground access
  • Per-request analytics
  • Community support
Team
$20/ seat / month
  • Shared workspaces & keys
  • Cost caps & alerts
  • Eval suites
  • Slack + email support
Enterprise
CustomSSO, residency, SLA.
  • EU / US residency
  • Private routing
  • 99.99% uptime SLA
  • Dedicated solutions eng

The last AI SDK you'll ever install.

Stop juggling SDKs, keys, and dashboards. Get one API key, route across every frontier model, and ship.