Skip to main content

Quickstart

Get started with the Morpheus Inference API in just a few minutes. The API is fully OpenAI-compatible, meaning you can use existing OpenAI SDKs and tools with just a base URL change.
Base URL: https://api.mor.org/api/v1Authentication: Bearer token (your API key)

Step 1: Get Your API Key

  1. Go to app.mor.org
  2. Create an account or sign in
  3. Click Create API Key and copy it immediately
Your API key won’t be shown again after creation. Store it securely.

Step 2: Make Your First Request

The Morpheus Inference API is fully OpenAI-compatible. Simply change the base URL and use your Morpheus API key.
curl https://api.mor.org/api/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "llama-3.3-70b",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

OpenAI Compatibility

The Morpheus Inference API implements the OpenAI API specification, ensuring compatibility with existing OpenAI clients and tools. You can switch from OpenAI to Morpheus with just two changes:
SettingOpenAIMorpheus
Base URLhttps://api.openai.com/v1https://api.mor.org/api/v1
API Keysk-... (OpenAI key)sk-... (Morpheus key)
Any application that supports “OpenAI-compatible” APIs can work with Morpheus. This includes Cursor, Continue, LangChain, and hundreds of other tools.

Streaming Responses

For real-time output, enable streaming:
curl https://api.mor.org/api/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "llama-3.3-70b",
    "messages": [
      {"role": "user", "content": "Write a haiku about AI"}
    ],
    "stream": true
  }'

Available Models

List available models to see what’s currently active in the marketplace:
curl https://api.mor.org/api/v1/models \
  -H "Authorization: Bearer YOUR_API_KEY"

View All Models

See the complete list of available models with capabilities and context windows.

Next Steps