MartLLM
One API key for Claude, GPT, Gemini, DeepSeek and image or video models, often below list
MartLLM is a paid MCP server for ai models and llm tooling. It runs as a hosted remote server, so there is nothing to install locally.
- Pricing
- Paid
- Platforms
- API, CLI, VS Code
- Runs
- Remotely
- What it can do
- Can change data (2 tools)
- Version
- 1.0.0
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http mcp https://api.martllm.com/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://api.martllm.com/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://api.martllm.com/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"url": "https://api.martllm.com/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://api.martllm.com/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://api.martllm.com/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add mcp --url https://api.martllm.com/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp]
url = "https://api.martllm.com/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://api.martllm.com/mcpEnter a Name (for example "MartLLM"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://api.martllm.com/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp": { "httpUrl": "https://api.martllm.com/mcp" } } }Or run: gemini mcp add -s user --transport http mcp https://api.martllm.com/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp": { "serverUrl": "https://api.martllm.com/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp": { "url": "https://api.martllm.com/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp": { "type": "streamableHttp", "url": "https://api.martllm.com/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp": { "url": "https://api.martllm.com/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp": { "url": "https://api.martllm.com/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp": { "url": "https://api.martllm.com/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp": { "url": "https://api.martllm.com/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About MartLLM
MartLLM is a marketplace that gives you a single OpenAI- and Anthropic-compatible endpoint for many chat, image, video and music models. Each request is routed to one of several sellers offering that model, and the cheapest working offer is preferred, so you pay what that seller charges rather than the model maker's list rate.
Integration is a base-URL change: you keep your existing OpenAI or Anthropic SDK and switch models by changing the model id. The service also offers a hosted MCP server with tools for listing models, requesting quotes, generating images and videos, and checking balance, which coding agents such as Claude Code, Codex and Cursor can connect to with an API key.
A request that fails is not billed, and a failed seller hands the request to the next one. Passwords and API keys in prompts are masked before they leave MartLLM, and personal data can be hidden per key. It suits developers and small teams who want to call several model families through one prepaid balance.
Tools this server provides (9)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 9 tools change data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- list_modelsName suggests: reads
- List available models.
- get_modelName suggests: reads
- Get details for a model.
- quote
- Get a price quote for a request.
- generate_image
- Generate an image.
- edit_imageName suggests: changes
- Edit an image.
- start_videoName suggests: changes
- Start a video generation job.
- get_jobName suggests: reads
- Check the status of a job.
- wait_job
- Wait for a job to finish.
- balance
- Check account balance.
What it does
- OpenAI and Anthropic compatibility
- Works with existing OpenAI and Anthropic SDKs by pointing the base URL at MartLLM.
- Single prepaid balance
- One key and one credit balance cover models from many providers, with no monthly fee or minimum spend.
- Automatic seller failover
- If one seller fails before answering, the request moves to the next seller for that model.
- No charge for failed requests
- Requests or generations that fail are not billed.
- Prompt data masking
- Passwords and API keys are swapped for tags before a request leaves MartLLM, and personal data can be hidden per key.
- Hosted MCP server
- A Streamable HTTP MCP endpoint exposes model listing, quotes, image and video generation and balance tools.
Good for
- Calling Claude, GPT, Gemini and DeepSeek through one API key
- Generating images or videos from an agent or script with pay-as-you-go billing
- Adding fallback across several sellers for the same model
- Connecting a coding agent to a hosted model gateway via MCP
- Comparing per-token prices across models before choosing one
Pricing
Paid
Prepaid credit, no subscription; card top-up costs 5.5% + $0.50; per-model prices vary by seller
Prices change. Check martllm.com before you buy.
MartLLM FAQ
What is MartLLM?
MartLLM is one OpenAI- and Anthropic-compatible API key for Claude, GPT, Gemini, DeepSeek and other text, image, video and music models, usually below list price. Sellers list offers for each model, and each request goes to the cheapest working offer.
Do I pay for failed requests?
No. A request or a generation that fails costs $0, and you are only billed for results you receive.
Is there a fee or minimum spend?
There is no MartLLM fee on requests and no monthly fee or minimum spend. Adding credit by card costs 5.5% + $0.50, and credit starts from $5.
Is MartLLM OpenAI-compatible?
Yes. Set the base URL to the MartLLM endpoint and keep your existing OpenAI SDK. The Anthropic-compatible endpoint works the same way.
Is MartLLM free?
No. MartLLM is a paid product.
How do I add MartLLM to Claude Code?
Run this command in your terminal: claude mcp add --transport http mcp https://api.martllm.com/mcp
What are the best alternatives to MartLLM?
The closest alternatives to MartLLM are UplinkSwitch, LLM Broker, Unrestrictable, apimodels and LLM Gateway.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
