Optional API compatibility

Keep your agent.
Adapt the
connection.

Your coding agent already does the hard work. Use AnyModel when a particular API needs adaptation. Keep direct connections when they work.

Native frontier sessions stay native.
API access and subscriptions stay separate.

THE CONNECTIONYOU CHOOSE
01
Your maintained client

Keep its tools, permissions and workflow.

Only when needed
AnyModelRequest & response adaptation
Optional
02
Your selected API provider

Exact model. Explicit credentials. Its billing.

A compatible connection does not make every model equally capable.

01 / Pick the shortest path

Start with what
already works.

A proxy should solve a specific mismatch. It should not become another dependency in every coding session.

A
Frontier coding

Studio → native agent

Use official Codex or Claude execution for complex coding. Studio preserves workspaces, approvals and session control; SpecWeave keeps task ownership and acceptance evidence.

No adapter needed
B
Hosted alternatives

Existing agent → OpenRouter

OpenCode and Pi already connect to hosted providers. Test a model on a bounded task before trusting it with more. OpenCode setup ↗

Use direct support
C
A real compatibility gap

Maintained client → AnyModel → API

Use the adapter when the endpoint needs protocol or tool-schema adaptation. Verify that exact route; retain the client's own permission and session boundaries.

Set up AnyModel

02 / Know what is listed

Check the catalog.
Choose deliberately.

Model names and free tiers change. The new CLI reads OpenRouter's public catalog and shows when it checked. No key, no inference call, no local-model scan.

Legacy aliases keep their exact IDs. Missing models fail clearly. A former free preset never silently becomes a paid replacement.

Explore the provider catalog ↗
PUBLIC DISCOVERYRead only

# Find currently listed coding models

npx anymodel models --search coder --tools

# Inspect zero-priced entries as JSON

npx anymodel models --free --json

# Check a legacy alias without a substitution

npx anymodel check qwen

Listed ≠ account access, endpoint health, coding quality or native subscription entitlement. Advertised tools still need a real execution check.

03 / When you need the adapter

One explicit route.

Install your coding client separately, choose an exact supported model, and keep API credentials separate from native accounts.

1

Bring a maintained client

Install Claude Code through its official distribution. Confirm claude --version works. AnyModel 2.0 does not ship or automatically discover the old bundled client.

Official client setup ↗
2

Pin your API model

Set your own OPENROUTER_API_KEY. Replace the placeholder below with an exact ID from the catalog. Startup checks availability before listening.

npx anymodel proxy openrouter \
  --model provider/model-id
3

Connect your client

In another terminal, launch the installed client through the proxy. Use matching --token values on client and proxy when authentication is configured.

npx anymodel
Full setup and controls ↗

The Studio boundary

Better work.
Less coordination.

Studio's value is in using capable native agents well: preserving work, managing approvals, making changes reviewable and carrying context into an explicit handoff.

A translation layer cannot close a reasoning gap. Delegate a small hosted task only when its verified result saves time, review effort or scarce frontier capacity.

SpecWeave

Portable intent, ownership and acceptance evidence.

Studio

Native sessions, workspaces, approvals and checkpoints.

AnyModel

Optional API compatibility. No new Studio driver.

API model listings never grant native subscription access. There is no automatic downgrade of an active frontier session.

Keep the evidence honest

Compatibility is a test.
Parity is a different claim.

A bounded historical result

The June 2026 benchmark used one local Qwen3-Coder 30B model, six small tasks and three repetitions. Fixed AnyModel produced 17/18 passing artifacts; 16/18 runs also completed with a successful exit and no timeout. One artifact pass timed out.

This is not a frontier comparison, a current hosted ranking or a general speed guarantee.

Read the historical report and raw data ↗

A smaller 2.0 package

Install and maintain your client separately. The historical client and branding manifest stay frozen in source; the legacy bundle is omitted from new npm artifacts. An explicit authorized ANYMODEL_CLIENT path remains supported.

The project's original-code license grants no rights to third-party clients, models or subscriptions.

Migration guide ↗License and legacy notice ↗

Practical questions

Before you connect.

Do I need AnyModel for SpecWeave Studio?

No. Studio's native frontier path uses the official agent runtime. OpenCode, Pi and ACP integrations also provide existing routes for hosted models. Add an adapter only for a specific compatibility need.

Will a cheaper model save me money?

Only if the accepted work saves more than setup, review and repairs cost. Native subscription capacity may already be paid for. Compare time to acceptance, interventions, incremental API spend and quota consumption separately.

What happens when a free preset disappears?

The exact legacy ID fails its catalog check. It is never replaced with a paid model. Run anymodel models --free and choose a currently listed model explicitly.

Are existing local setups removed?

No. Explicit local providers and settings remain available to existing users. They were not evaluated with local inference for this hosted release. Legacy setup guide ↗

Where do requests and credentials go?

Your proxy sends requests to the explicitly configured API provider, using that provider's credentials. A remote deployment has its own operator and trust boundary. Use token authentication, keep provider keys separate and verify the destination before sending private project content.