Send your first request
Create a dashboard API key. To bill an organization, select it before creating the key. Set your terminal’s key:morph-glm53-744b. The catalog lists public model IDs, context windows, and rates.
- cURL
- Python
- JavaScript
Use your existing client
OpenAI clients needhttps://api.morphllm.com/v1, your Morph key, and a public model ID.
See Anthropic formats and coding agent setup for other clients.
Handle busy periods and errors
For429, honor Retry-After when present; retry with exponential backoff and jitter. Immediate retries add load, not capacity.
For 401, check the key and authorization header. For model errors, check the catalog ID. Correct invalid credentials or IDs before retrying.
Standby is a separate tier for work that tolerates capacity rejections; batch processing handles work without interactive responses.