Skip to main content
Morph serves open-weight models on inference kernels built for coding agents. Same weights, a different engine. How →

Run an open-weight model

Point any OpenAI SDK at https://api.morphllm.com/v1. Existing code only needs a new model string. The Anthropic SDK works too, at /v1/messages (see Endpoints).

Models

Every model supports tool calls, JSON mode and JSON schema, logprobs, and reasoning. Per-token rates are on the pricing page and live at /api/models/json. DeepSeek V4.1 Flash Abliterated is served behind approval.

Built for agent loops

Three things change when the caller is an agent rather than a chat window.
  • Prefix caching is on for every model with no configuration. Set an x-session-id header and each turn lands on the worker already holding its prefix.
  • Agent programs: tag turns with a run_id and the scheduler pins the run to its KV cache, resumes it first after a tool call, and admits the whole run under load.
  • Standby: service_tier: "standby" runs on spare capacity at half price. Sheds a fast 429 when a region is busy. Built for crons, batch jobs, and evals.
Speed comes from a speculator trained on each model’s own coding output (3.07x vs. 1.93x for a generic draft) and FP4 kernels tuned per GPU. How we optimize for codegen →

Specialized models

Small models that take one job off the main agent. Same key, same base URL. Fast Apply and WarpGrep also ship as an MCP server (edit_file, codebase_search) for Claude Code, Cursor, Codex, and VS Code:
Terminal

Dedicated endpoints

Reserve capacity for one model on its own pool. Hourly plans, your own endpoint URL, same OpenAI client. Dedicated endpoints →

Next steps

Open Source Models

Full model guide: Anthropic SDK, tool calls, structured outputs, approval-gated models

Prefix Caching

Session keys, cache-read pricing, hit-rate tips

Standby Requests

Half price for latency-tolerant work

Claude Code

Run Claude Code on Morph models

Fast Apply Quickstart

Prompt templates, tool definitions, MCP

API Playground

Try every model with no code

Enterprise

Dedicated instances, self-hosted deployments, zero data retention. 99.9% uptime SLA, SOC2, SSO.

Talk to Sales

Custom deployments and volume pricing