Martian website screenshot

Martian

Martian operates an LLM model router and gateway that dynamically routes each request to the best underlying model across providers for the optimal balance of quality, latency, and cost. The Martian Gateway exposes a drop-in, OpenAI-compatible REST API (and an Anthropic Messages-compatible surface) so applications can route across a large catalog of models by changing only the base URL.

Martian publishes 3 APIs on the APIs.io network: Chat Completions API, Messages API, and Models API. Tagged areas include AI, LLM, Model Router, Gateway, and Cost Optimization.

The Martian catalog on APIs.io includes 1 event-driven AsyncAPI specification and 1 Spectral governance ruleset.

Martian’s developer surface includes authentication, documentation, engineering blog, and 8 more developer resources.

44.5/100 developing ▬ flat Agent 36/100 agent ready Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemiumSelf serve⚡ Free to try
3 APIs
AILLMModel RouterGatewayCost Optimization

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 44.5/100 · developing
Contract Quality 17.6 / 25
Developer Ergonomics 4.3 / 20
Commercial Clarity 7.9 / 20
Operational Transparency 4.8 / 13
Governance 2.5 / 12
Discoverability 7.4 / 10
Agent readiness — 36/100 · agent ready
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 6 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/martian-ai: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 3

Individual APIs this provider publishes, each with its own machine-readable definition.

Martian Chat Completions API

The Chat Completions API from Martian — 1 operation(s) for chat completions.

Martian Messages API

The Messages API from Martian — 1 operation(s) for messages.

Martian Models API

The Models API from Martian — 1 operation(s) for models.

Open Collections 1

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

Martian Gateway API

OPEN COLLECTION

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Martian Ai Rate Limits

4 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Event Specifications 1

AsyncAPI definitions for this provider's event-driven and streaming APIs.

Martian Gateway Chat Completions Streaming (HTTP + SSE)

AsyncAPI 2.6 description of the Martian Gateway's **chat completion streaming** surface. Martian does not publish a WebSocket API. The Martian Gateway is an OpenAI-compatible mo...

ASYNCAPI

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Martian API Rules

3 rules · 1 errors 2 warnings

SPECTRAL

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Martian Ai Authentication

http · 1 scheme

SECURITY

Martian Ai Domain Security

TLSv1.3 · HSTS · DNSSEC · DMARC

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Martian Ai Agentic Access

3 operations · 2 acting

3 operations · 2 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 1

Status, limits, changes, and where to get help

Commercial 2

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: martian-ai
url: https://raw.githubusercontent.com/api-evangelist/martian-ai/refs/heads/main/apis.yml
name: Martian
kind: company
description: Martian operates an LLM model router and gateway that dynamically routes each request to the best underlying
  model across providers for the optimal balance of quality, latency, and cost. The Martian Gateway exposes a drop-in, OpenAI-compatible
  REST API (and an Anthropic Messages-compatible surface) so applications can route across a large catalog of models by changing
  only the base URL.
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/martian-ai.png
tags:
- AI
- LLM
- Model Router
- Gateway
- Cost Optimization
created: '2026-06-20'
modified: '2026-06-20'
specificationVersion: '0.19'
apis:
- aid: martian-ai:martian-ai-chat-completions-api
  name: Martian Chat Completions API
  description: The Chat Completions API from Martian — 1 operation(s) for chat completions.
  humanURL: https://docs.withmartian.com/api-reference/endpoints
  baseURL: https://api.withmartian.com/v1
  tags:
  - Chat Completions
  properties:
  - type: OpenAPI
    url: openapi/martian-ai-chat-completions-api-openapi.yml
  - type: Documentation
    url: https://docs.withmartian.com/quickstart
  - type: APIReference
    url: https://docs.withmartian.com/api-reference/endpoints
  - type: Postman
    url: collections/martian-ai.postman_collection.json
- aid: martian-ai:martian-ai-messages-api
  name: Martian Messages API
  description: The Messages API from Martian — 1 operation(s) for messages.
  humanURL: https://docs.withmartian.com/api-reference/endpoints
  baseURL: https://api.withmartian.com/v1
  tags:
  - Messages
  properties:
  - type: OpenAPI
    url: openapi/martian-ai-messages-api-openapi.yml
  - type: Documentation
    url: https://docs.withmartian.com/quickstart
  - type: APIReference
    url: https://docs.withmartian.com/api-reference/endpoints
  - type: Postman
    url: collections/martian-ai.postman_collection.json
- aid: martian-ai:martian-ai-models-api
  name: Martian Models API
  description: The Models API from Martian — 1 operation(s) for models.
  humanURL: https://docs.withmartian.com/api-reference/endpoints
  baseURL: https://api.withmartian.com/v1
  tags:
  - Models
  properties:
  - type: OpenAPI
    url: openapi/martian-ai-models-api-openapi.yml
  - type: Documentation
    url: https://docs.withmartian.com/quickstart
  - type: APIReference
    url: https://docs.withmartian.com/api-reference/endpoints
  - type: Postman
    url: collections/martian-ai.postman_collection.json
common:
- type: AgenticAccess
  url: agentic-access/martian-ai-agentic-access.yml
- type: DomainSecurity
  url: security/martian-ai-domain-security.yml
- type: Authentication
  url: authentication/martian-ai-authentication.yml
- type: GitHubOrganization
  url: https://github.com/withmartian
- type: LinkedIn
  url: https://www.linkedin.com/company/withmartian
- type: Website
  url: https://www.withmartian.com
- type: Documentation
  url: https://docs.withmartian.com
- type: Plans
  url: plans/martian-ai-plans-pricing.yml
- type: RateLimits
  url: rate-limits/martian-ai-rate-limits.yml
- type: FinOps
  url: finops/martian-ai-finops.yml
- type: Blog
  url: https://www.withmartian.com/blog
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com