By Adhibita

MUSCLE Flex

Beta, by invitation

One endpoint. The right model for every task.

MUSCLE Flex sends each request from your coding agents and tools to the model that handles it best. New models join as they pass our tests, and your spend stays in view. You change one endpoint.

DevelopersQuickstart
Why Flex

Your agent stays the same. The models behind it keep getting better.

Your tools, your approvals and your repository stay with you.

How Flex works with your agent
How it works

How Flex chooses a model.

Quickstart

Keep your agent. Change one endpoint.

Three steps

Point your client at Flex.

Set the base URL of a supported OpenAI or Anthropic SDK, or a tested coding agent, to Flex. Add your Flex key. Nothing else in your agent changes.

Ask for muscle/auto.

Set the model to muscle/auto and send the request you already send. Streams, tool calls and continuations keep the shape your SDK expects.

Flex picks the model.

Flex checks the request, picks a model for the task, returns the response and records usage against your balance. Every response carries a request ID for support.

Illustrative example
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: `${process.env.FLEX_BASE_URL}/v1`,
  apiKey: process.env.MUSCLE_FLEX_API_KEY,
});

const res = await client.chat.completions.create({
  model: "muscle/auto",
  messages: [
    { role: "user", content: "Summarize this test failure." },
  ],
});
import Anthropic from "@anthropic-ai/sdk";

// Host only: the SDK adds /v1 itself
const client = new Anthropic({
  baseURL: process.env.FLEX_BASE_URL,
  apiKey: process.env.MUSCLE_FLEX_API_KEY,
});

const msg = await client.messages.create({
  model: "muscle/auto",
  max_tokens: 1024,
  messages: [
    { role: "user", content: "Summarize this test failure." },
  ],
});
# Check the key and balance. This call is never charged.
curl "$FLEX_BASE_URL/v1/account" \
  -H "Authorization: Bearer $MUSCLE_FLEX_API_KEY"

Two variables

FLEX_BASE_URL
Flex endpoint
MUSCLE_FLEX_API_KEY
Your key
Model
muscle/auto
Developers

Full quickstart

Endpoints, profiles and checks.

Spend

A clearer way to control spend.

Spend less time managing providers, and stop paying for maximum capability on every task. The beta uses one prepaid balance, with every charge visible in the portal.

Less upkeep

One integration.

One Flex key and one endpoint. We keep the list of models current for you.

Smarter spend

Pay for the fit.

Flex uses efficient models when the task allows and stronger ones when it needs them.

Beta pricing

Prepaid and visible.

Fund a balance first. Flex declines new work when credits run out, and the portal shows where every credit went.

Prepaid credits, added to your balance by the team during the beta. Beta pricing is provisional and may change with notice; savings vary by workload. The beta covers supported coding-agent and tool-use workflows.

Pricing

See beta pricing

The family

Part of the MUSCLE family.

Products

See the whole family

Build more

Build more. Manage less.

Beta, by invitationRequest access
MUSCLE Flex | One endpoint. The right model for every task.