MartLLM documentation
MartLLM is an API for text, image, video, music and speech models. Each request is sent to an available third-party provider for the requested model and billed at its price as served, with no MartLLM fee added. Every request is listed with its cost in Dashboard → Activity. The API accepts both the OpenAI and Anthropic wire formats, so existing clients work after you set the base URL.
MartLLM was called UberLLM until November 2026. Same service, same accounts and API keys, and the old web and API addresses keep working, so nothing you set up has to change.
- OpenAI-compatible:
https://api.martllm.com/v1(/chat/completionsand/responses) - Anthropic-compatible:
https://api.martllm.com(/v1/messages)
Get started
- Quickstart: key → base URL → first streaming call.
- Authentication:
ull_keys and how to send them. - OpenAI SDK · Anthropic SDK
- Streaming: SSE on both surfaces.
- Responses API:
POST /v1/responses(OpenAI SDKresponses.create, Codex CLI) on every chat model. - Models & routing: model ids, automatic retries, routing options.
- Pricing: no MartLLM fee on requests. Adding credit by card costs 5.5% + $0.50.
- Errors: 402 / 404 / 429 / 503 codes.
- Make a video or image: images, picture edits, videos and music: which field carries the source picture, job status, cost and how long files are kept.
- Changelog: what changed in the API, the catalog and the site.
- Price API and price badge: current prices as JSON with no key, and a live price badge for a README.
- Embed live prices on your site: a price table for your blog or docs from one script tag or an iframe.
- OpenAPI spec: every
/v1route as an OpenAPI 3.1 file, for Postman, Swagger UI, code generators and API catalogs.
Editor & framework integrations
- uberllm init:
npx uberllm initsets up Claude Code, Codex CLI, OpenCode, Kilo Code, Goose, Aider and Continue in one command, with backups and an undo. - Claude Code: one command, for every project or one; models, context, and your balance in the status line.
- Codex CLI: OpenAI's coding agent on any model, through the Responses API.
- Coding agents: Cline · Kilo Code · OpenCode · Cursor · Goose · Roo Code · Aider · Continue
- Chat apps: Open WebUI · LibreChat · Raycast
- Roleplay: SillyTavern · JanitorAI · RisuAI
- Automation: n8n
- Frameworks: LangChain · Vercel AI SDK
- Starter kits: a Next.js chat app, a LangGraph agent, a CrewAI crew and an agent CLI to copy and run, plus a live price badge for your README.
- All integrations
- Live model picks and prices for each tool, plus Chatbox and the OpenAI SDK: Set up your tool.
Sell capacity
- Sellers: list an offer from the dashboard or with
npx uberllm sell, pricing modes, health scoring, payouts.