Verdict
Modular builds the MAX high-performance inference serving stack and the Mojo programming language for AI systems. Through LLMAPI you reach 1 Modular model on the same OpenAI-compatible endpoint as every other provider, so switching between them is a one-string change.
Good fit for
- Text Generation
- Best for High Volume Production
- Open-Weight Models
- Best for Local Deployment
- Self-Hosted / On-Premise
- Fine-Tunable Models
Consider another provider for
- No code generation models in this catalog
- No image generation models in this catalog
- No vision models in this catalog
- No video generation models in this catalog
Key facts
Where a provider does not document something we say so rather than guess. Everything LLMAPI records about Modular, in one table.
Overview | |
| Provider | Modular |
| Website | modular.com |
| Best for | Custom serving stacks and AI systems engineering |
| Models on LLMAPI | 1 |
| Popular models | MAX serving — run Llama, Mistral, Qwen or custom models on your own stack |
Access & routing | |
| API compatibility | OpenAI-compatible — /v1/chat/completions |
| Model ID prefix | modular/<model> |
| Regions | US |
| Fallback | Configurable — on 429 or 5xx the router switches to any other model or provider on your list |
| Billing | One invoice across every provider, with per-key spend limits |
| Volume discount | Eligible |
Performance (median across listed models) | |
| Blended price / 1M | $3.96 |
Modality | |
| Tags | |
Price & performance | |
| Tags | |
Deployment | |
| Tags | |
Trust & safety | |
| Tags | |
Privacy & data | |
| Inference location | US |
| Data residency | Not documented by the provider |
| Default retention | Not documented by the provider |
| Zero-data retention | Not documented by the provider |
| Training on API data | Not documented by the provider |
| Human review | Not documented by the provider |
Compliance & lifecycle | |
| Certifications | SOC 2 |
| Deprecation notice | Not documented by the provider |
| Operational status | Operational Live status |
Prices and context from the OpenRouter public catalogue; uptime and output speed from OpenRouter provider endpoints; quality scores from LiveBench. Refreshed nightly — last updated 2026-09-29. — means no figure is published for that model.
Best Modular models
A quick view of how Modular 's 1 models compare on intelligence, output speed and price — so you can pick the right one for your use case.
Most intelligent
Intelligence index · 1 models
Fastest
Output tokens / second · 1 models
Lowest price
Blended price per 1M tokens · 1 models
Compared with other hosts
How Modular sits against the rest of the catalog, using the same measurements shown on every provider page.
- Price. Median blended price of $3.96 per 1M tokens — 35% below the $6.13 median across all 50 providers in the catalog.
- Throughput. Median output speed of 900 tokens/s, 159% faster than the 348 tok/s catalog median.
- Catalog depth. 1 model listed, against a catalog average of 5 per provider.
- Integration. Identical to every other provider here — same endpoint, same SDK, same keys, so a switch costs one string change.
Median blended price per 1M tokens
lower is better| Modular | $3.96 | |
| Scaleway | $3.95 | |
| DeepInfra | $3.88 | |
| Amazon Bedrock | $3.87 | |
| Databricks | $4.19 | |
| Makora | $4.57 |
Median output speed
higher is better| Modular | 900 tok/s | |
| Scaleway | 281 tok/s | |
| DeepInfra | 363 tok/s | |
| Amazon Bedrock | 360 tok/s | |
| Databricks | 214 tok/s | |
| Makora | 724 tok/s |
Figures are medians across the models listed on each provider page and are refreshed with the catalog.
Models & pricing
Every Modular model reachable with your LLMAPI key. Click a column heading to sort.
| Model | API model name |
|---|---|
| MAX serving — run Llama, Mistral, Qwen or custom models on your own stack | modular/max-serving-run-llama-mistral-qwen-or-custom-models-on-your-own-stack |
Price is a blended per-1M-token figure; latency is time to first token and throughput is output tokens per second, measured on the LLMAPI edge.
Cost calculator
Pick a model, enter your traffic, and see the monthly bill at LLMAPI rates.
Estimates use the blended per-1M-token price shown in the table above. Word counts differ by language — Cyrillic and CJK text uses 2–3× more tokens per word.
Modular via LLMAPI
Same models, same features, one key. Prefix the model ID with modular/ and point your OpenAI client at our base URL.
# Python · OpenAI SDK from openai import OpenAI client = OpenAI( base_url="https://api.llmapi.ai/v1", api_key="LLMAPI_KEY", ) r = client.chat.completions.create( model="modular/max-serving-run-llama-mistral-qwen-or-custom-models-on-your-own-stack", messages=[{"role": "user", "content": "Hello"}], )
| Pricing | Eligible for LLMAPI volume discounts; billed on one invoice with every other provider. |
| Features | Full pass-through — tool calling, JSON schema, streaming, vision and reasoning behave exactly as on Modular’s own API. |
| Fallback | Configurable. On 429 or 5xx the router switches to any model or provider on your fallback list. |
| Regions | US |
| Your data | LLMAPI stores request metadata only — model, token counts, latency and status. No prompt or completion content. |
Capabilities & use cases
Each tag below is its own catalog page listing every provider that shares it.
Developer resources
Where to go next.
Join thousands of developers building on one API key
Every provider in the catalog, one key, one invoice.
Questions
How do I call Modular models through LLMAPI?
Point any OpenAI-compatible client at https://api.llmapi.ai/v1 and use the model ID modular/max-serving-run-llama-mistral-qwen-or-custom-models-on-your-own-stack. No other change is needed.
Does Modular cost more through LLMAPI?
No. This provider is eligible for LLMAPI volume discounts, so heavy usage lands below list price.
Which regions are used?
US
What happens if the provider returns an error?
On 429 or 5xx responses the router falls back to any other model or provider on your configured list, so requests keep succeeding.
How many Modular models are available?
1 at the moment, all listed in the models table above and updated as the provider ships new ones.