Merge Gateway
Merge Gateway is a control plane for production AI providing unified access to OpenAI, Anthropic, Google (Gemini), Mistral, Cohere, and xAI (Grok) through a single API. It offers intelligent routing on cost/latency/quality, context compression, response caching, spend limits by team/project/customer, request-level logging, and automatic failover. BYOK billing is $0.05 per million tokens.
Documentation
Specifications
Examples
Schemas & Data
JSONSchema
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-schema/gateway-response-schema.json
JSONStructure
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/gateway-response-structure.json
Other Resources
Website
https://www.merge.dev/gateway
JSONLD
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-ld/merge-gateway-context.jsonld
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/gateway-models.yaml
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/gateway-responses.yaml
NaftikoCapability
https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/capabilities/gateway-routing.yaml