Martian Gateway API

Unified, OpenAI- and Anthropic-compatible LLM gateway providing access to 200+ models from leading providers through a single endpoint. Documented operations: POST /v1/chat/completions (OpenAI-compatible), POST /v1/messages (Anthropic-compatible), and GET /v1/models (List Models). Bearer API key authentication; models are addressed as provider/model-name.

API entry from apis.yml

apis.yml Raw ↑
name: Martian Gateway API
description: 'Unified, OpenAI- and Anthropic-compatible LLM gateway providing access to 200+ models from
  leading providers through a single endpoint. Documented operations: POST /v1/chat/completions (OpenAI-compatible),
  POST /v1/messages (Anthropic-compatible), and GET /v1/models (List Models). Bearer API key authentication;
  models are addressed as provider/model-name.'
humanURL: https://docs.withmartian.com/gateway
baseURL: https://api.withmartian.com/v1
tags:
- LLM
- LLM Gateway
- AI
- Inference
- OpenAI Compatible
- Anthropic Compatible
properties:
- type: Documentation
  url: https://docs.withmartian.com
- type: APIReference
  url: https://docs.withmartian.com/api-reference
- type: GettingStarted
  url: https://docs.withmartian.com/quickstart
- type: Authentication
  url: authentication/martian-authentication.yml
- type: Conventions
  url: conventions/martian-conventions.yml
- type: ErrorCatalog
  url: errors/martian-error-codes.yml
- type: Conformance
  url: conformance/martian-conformance.yml