Using Claude Code fully without getting locked in
Most of our engineering runs through Claude Code, and I'd make the same choice again. I'd also want to be able to leave within a week if the price or the terms changed. Those two goals pull against each other less than they seem to, as long as you decide where your working knowledge lives.
A LinkedIn post this week told the story of a 400-developer company facing a tenfold AI bill and a week to switch, because all their workflows were built for Claude. I couldn't find the Reddit thread it came from. The best comment under it offered a likelier explanation: per-token prices didn't jump. What changed was the billing model. This year PYMNTS reported that Anthropic was moving Enterprise customers to usage-based billing (the change doesn't apply to businesses with fewer than 150 users), and The Register reported that it takes effect at contract renewal. Heavy agentic coding uses a lot of tokens. A flat seat that turns into a meter at renewal can look like a tenfold increase to whoever reads the invoice.
The post's answer was to build their own AI infrastructure. That's a real option for some companies. For most, the cheaper defense is making the tool replaceable.
What carries over and what doesn't
Think of a Claude Code setup in three parts.
Your knowledge, which is portable if you keep it in files. Project instructions, coding rules, runbooks, architecture notes and the reasons behind past decisions are plain Markdown. Claude Code reads CLAUDE.md. Other agent tools read AGENTS.md (OpenAI's Codex CLI does), and Claude Code reads AGENTS.md too when no CLAUDE.md exists. If you keep both, put the content in AGENTS.md and have CLAUDE.md import it with one line, @AGENTS.md. Skills follow the Agent Skills open standard: a skill that sticks to the standard's fields moves to another tool, and one that uses Claude Code's own extras doesn't. MCP servers (the connectors to your databases, tickets and docs) speak an open protocol that other tools also use.
Your checks, which are portable if they're scripts. Tests, linters, a quality gate that fails the build, a smoke test that drives the real app: none of these care which AI wrote the code. A rule that lives only in a prompt ("always run the tests") leaves with the tool. A rule that lives in a script the build runs stays.
The wiring, which you'll rebuild. Hooks (commands that run before or after the agent acts), permission settings, subagent definitions and slash commands are configured in Claude Code's own files. The scripts a hook calls are yours and carry over; the way they're attached doesn't. For us that's the several days of a switch: our secret-guard hook, session-start checks and scheduled jobs would each need a new home.
The model's behavior, which nothing carries. Prompts tuned on one model may need work on another. That's why anything your product generates with AI needs its own test set, separate from the coding tool.
Changing the bill without changing the tool
You don't have to leave Claude Code to change who bills you.
- Through your cloud provider. Claude Code can run its models through Amazon Bedrock, Google Cloud's Agent Platform (formerly Vertex AI) or Microsoft Foundry, switched on with one environment variable each, plus that cloud's credentials. Usage is billed pay-as-you-go by AWS, Google or Microsoft, so it shows up on the cloud bill you already watch.
- Through a gateway. Setting
ANTHROPIC_BASE_URLpoints Claude Code at an LLM gateway, which can add per-team budgets, logging and routing. Anthropic's docs say plainly that it doesn't endorse or audit third-party gateways, and that it doesn't support routing Claude Code to non-Claude models through one. If you try it anyway, you're on your own when it breaks. - Through a different tool. If you want a different model, the supported route is a different agent tool. That's where the files above pay off.
If you're a one- or two-person team
This is us. Owning AI infrastructure isn't realistic at this size: no budget for the hardware, no time to run it, and no open model we'd trust to match a frontier model on long agentic work without testing it ourselves.
Pros of going all in on Claude Code:
- One person can carry work that used to need several: a release train, a help desk, a marketing site.
- The bill is less than a hire, as long as you watch the usage.
- Your rules and checks become a written system, which is worth having whoever does the work.
Cons:
- A change in plan limits or billing lands on you with no procurement team to absorb it.
- Usage climbs quietly. A long session that rereads a big history costs far more than a short one.
- Your setup can drift into Claude-only features without anyone noticing.
What I'd do: keep instructions in AGENTS.md, every rule that matters in a script, and a one-page note listing which features would stop if the tool vanished. Check your usage weekly. A gateway is probably more machinery than you need; the cloud-provider route is worth knowing about but not worth setting up until you have a reason.
If you're a larger software house
At 400 developers the numbers change. A seat price that moves at renewal is a budget event, and a week to switch means a week of hundreds of people working without the tool they've learned.
Owning infrastructure starts to make sense here, for some workloads. Pros: data that never leaves your network, a cost you can predict, and no renewal surprise. Cons: hardware or reserved cloud capacity, a team to run and upgrade it, open models that you'll need to test against your own tasks, and the job of keeping up with model releases yourself. A common pattern is both: their own models for high-volume, well-defined jobs, and a frontier model for the hard ones.
The cheaper moves come first:
- Read the renewal terms. Know whether you're on seats, a meter or a commitment, and model next year's bill from this year's token counts per developer.
- Route through infrastructure you control. Cloud-provider billing or a gateway gives you budgets per team and a place to switch.
- Standardize on
AGENTS.mdacross repos, so a second tool can pick up the same instructions. - Keep two tools in working order. A small group on a second agent tool costs little and turns "a week to switch" into "move the rest of the company."
- Test what your product generates. If an AI writes anything your customers see, a test set with pass or fail checks is the way to know whether a cheaper or different model is good enough.
If you're in healthcare or another regulated field
Check which hosts your data agreement covers before you check prices. We send health data only to services with a signed agreement. Our coding tool isn't one of them, so our rule is that patient data stays out of it. Switching is slower for you because every new host needs that agreement first. That's a reason to have the second option set up before you need it.
If you run an agency or consultancy
Your clients may pick the provider, or forbid one. Keep the per-client choice in configuration, never in the instructions themselves, and keep each client's instructions and tests in that client's repository. The upside is that your process becomes something you can show a client.
If you're not a developer
Operations, marketing and support teams using Claude Code for documents and automation have the least lock-in: their work is already text files and scripts. The risk is the opposite one. A workflow that lives only in someone's chat history is gone when they switch tools, or when the history is gone. Write it down as a file.
Five things to do this week
- List every place your work depends on one AI tool or provider, and what happens when it fails.
- Move your project instructions into
AGENTS.mdand import it fromCLAUDE.md. - Turn your three most important rules into scripts the build runs.
- Find out exactly how you're billed today and what changes at renewal.
- If your product generates anything with AI, write ten pass-or-fail test cases for it.
We did the first and the last of these in October, after asking what would stop if our provider vanished; that write-up is here: If our AI provider disappeared tomorrow.
More Facets Novum Insights · Facets Novum LLC · facetsnovum.com
