Choose how to serve
Shared inference
Send your first shared API request.
Dedicated endpoints
Create, monitor, and cancel reserved capacity.
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 SDK (Python)
- Anthropic SDK (TypeScript)
- cURL
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.