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 Artificial Intelligence, 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, API reference, getting-started guide, support, signup flow, and 20 more developer resources.

55.3/100 strong ▬ flat Agent 24/100 agent aware saas Full breakdown ↓
scored 2026-09-08 · rubric v0.20.0
AccessFreemiumSelf serve⚡ Free to try
1 APIs
Artificial IntelligenceLLMModel RouterGatewayCost Optimization

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-09-08 · rubric v0.20.0
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. 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. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

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 5

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

API Collection

OPEN COLLECTION

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

Get Started 4

Portal, sign-up, and the first successful call

Documentation 2

Reference material describing how the API behaves

Agent Surfaces 4

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 4

Pagination, idempotency, versioning, errors, and events

Build 3

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 3

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.
deliveryModel:
  model: saas
  open_source: false
  commercial: true
  callable_host: true
  label: Hosted service · you call their endpoint
  confidence: high
  source:
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: medium
  source:
  - plans
  - authentication
  - security
  generated: '2026-09-03'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/martian-ai.png
tags:
- Artificial Intelligence
- LLM
- Model Router
- Gateway
- Cost Optimization
tags_raw:
- AI
- LLM
- Model Router
- Gateway
- Cost Optimization
created: '2026-06-20'
modified: '2026-08-08'
specificationVersion: '0.23'
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:
  - Message
  tags_raw:
  - 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
- type: DeveloperPortal
  url: https://docs.withmartian.com
- type: APIReference
  url: https://docs.withmartian.com/api-reference
- type: GettingStarted
  url: https://docs.withmartian.com/quickstart
- type: Support
  url: https://docs.withmartian.com/resources/support
- type: SignUp
  url: https://app.withmartian.com/
- type: Login
  url: https://app.withmartian.com/
- type: StatusPage
  url: https://status.withmartian.com
- type: Packages
  url: packages/martian-ai-packages.yml
- type: SDKs
  url: packages/martian-ai-packages.yml
- type: Conventions
  url: conventions/martian-ai-conventions.yml
- type: ErrorCatalog
  url: errors/martian-ai-error-codes.yml
- type: Lifecycle
  url: lifecycle/martian-ai-lifecycle.yml
- type: Conformance
  url: conformance/martian-ai-conformance.yml
- type: WellKnown
  url: well-known/martian-ai-well-known.yml
- type: X-MCPServerCandidate
  url: mcp/martian-ai-mcp.yml
  note: 'Renamed from MCPServer 2026-09-03 (roadmap#247): the manifest self-describes as status: candidate — a tool list derived
    from the published API contracts, not an existing server. The scorer already read the manifest and reported mcp_server
    correctly; the MCPServer type was crediting the artifact-type surfaces with a server that does not exist.'
- type: LLMsTxt
  url: llms/martian-ai-llms.txt
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
x-merged-from:
- martian

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/martian-ai"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/martian-ai/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/martian-ai/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.