Midas Code API is now in public beta. Get started free
The core AI engine powering Midas Code.
Midas Engine is the model layer beneath the Midas Code API. Built from the ground up for code generation with a 200K token context window and sub-second latency.
Model Performance
94.7%
HumanEval
Pass@1
91.2%
MBPP
Pass@1
200K
Context
Token window
<800ms
Latency
Median p50
Our latest code-focused model, trained on 500B tokens of high-quality code across 40+ languages and frameworks.
200K token context window. Pass entire codebases, documentation, and examples. The engine understands your full project.
Median latency under 800ms for standard generations. Streaming available for interactive use cases.
{
"model": "midas-2",
"output_format": "json",
"schema": {
"type": "object",
"properties": {
"code": { "type": "string" },
"language": { "type": "string" },
"tests": {
"type": "array",
"items": { "type": "string" }
}
}
}
}
The same engine that powers Midas Code is available directly via our REST API. Build anything.