import OpenAI from "openai";Fast general models for agent loops
Frontier coding models,
served on custom kernels
Output speed
Codegen-specific optimizations and custom GPU kernels. Up to 150 tok/s on DeepSeek V4 Flash, measured on private deployments with custom speculators. Public endpoints run on shared capacity.
One OpenAI-compatible API
Point your existing client at api.morphllm.com. Switch models by changing one string.
const client = new OpenAI({ baseURL: "https://api.morphllm.com/v1", apiKey: process.env.MORPH_API_KEY,}); const res = await client.chat.completions.create({ model: "morph-glm52-744b", messages: [{ role: "user", content: "Refactor this function..." }],});The lineup
Open-weight frontier models with long context, served and billed per token. No per-seat fees.
// Available general modelsmorph-glm52-744b // 744B MoE, 1M contextmorph-minimax3-428b // 428B MoE, 256k contextmorph-minimax27-230b // 230B MoE, agentic workflowsmorph-dsv4flash // 1M context, fastmorph-qwen36-27b // dense, low latencyBuilt for production agent workloads
Every agent will write code. We bet the stack on it.
So we tune every layer for that one workload: custom GPU kernels, speculative decoding shaped around code, and serving built for the agent loop instead of general chat. Not general infrastructure with code bolted on.
The fastest endpoints are private deployments
The headline speeds on this page come from dedicated deployments, not the shared public endpoints. At scale we build the deployment around your traffic: speculators trained on it, caching tuned to it, and pricing well under public rates.
tokens per day served across private deployments
trained on your traffic for higher acceptance rates
prefix and KV caching tuned to your workload
large discounts over public per-token rates
Sign up and start free. No card required.
Get API KeyAdd a billing method for $10 in free credits and full rate limits.