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
x-docs-platform: readthedocs
x-docs-platform-confidence: medium
x-docs-platform-checked: 2026-10-04
tags:
- Artificial Intelligence
- LLM
- Model Router
- Gateways
- 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: CapabilityMap
  url: capabilities/martian-ai-capability-edges.yml
  name: Martian Business Capability Map
- 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
