Skip to main content
Call shared models immediately or reserve dedicated capacity. Morph manages both.

Choose how to serve

Shared inference

Send your first shared API request.

Dedicated endpoints

Create, monitor, and cancel reserved capacity.
Dedicated capacity neither shrinks with traffic nor scales to zero. Review scaling before purchasing.

API formats

Shared API: https://api.morphllm.com. One key, two formats: SDK examples use tabs. Anthropic Messages supports the same open source chat models, token billing, and rate limits. Fast Apply, WarpGrep, Compact, and Reflex use OpenAI format only. Authenticate with Authorization: Bearer YOUR_API_KEY or x-api-key: YOUR_API_KEY.
Anthropic streaming, tools (tool_use / tool_result), system prompts, and conversation history work unchanged. Reasoning returns thinking blocks; requested thinking budgets map to effort tiers: under 8k → low, under 24k → medium, above → high.

Claude Code

Claude Code setup supports tools, streaming, system prompts, and conversation history. Verified with v2.1.
Anthropic folds system messages into its system prompt. In Morph, messages entries with {"role": "system"} return 400, invalid message role: 'system'. Use the separate system parameter, as Claude Code already does. Proxies injecting system messages must rewrite those entries to user until support ships.