2027 migration guide · Evidence checked 20 November 2026

Switch to Plugsky: a migration guide that survives cutover

A provider switch is not a base URL edit. It is an inventory, a compatibility test, a traffic plan and a rollback path. This guide covers the OpenAI-compatible case first, then the provider-specific work, the cutover sequence, the credit that is published on this page, and the savings claims you should refuse to repeat without your own numbers.

Short answer. To switch an OpenAI-compatible integration to Plugsky, point the client at https://api.plugsky.com/v1, replace the key, and map each workload to a Plugsky public model ID. For the Chat Completions surface that is configuration, not a rewrite. Everything else — streaming edge cases, tool schemas, JSON mode, embeddings, errors and anything stateful — needs a compatibility test and a staged cutover. No savings figure is reliable until you model your own token volume, retries and concurrency.

What a switch actually involves

Provider migrations fail in the gap between “the SDK works” and “the product works”. The SDK sends a request and receives a response; the product depends on tool-call accuracy, a JSON schema, a particular embedding dimension, a retry policy and an evaluation set. The migration plan has to cover both.

Plugsky implements the OpenAI wire format. Chat Completions, streaming, JSON mode, function calling and embeddings are the documented surface, and the official OpenAI SDK works after a base URL, key and model change. That is a strong starting point, not a feature-parity guarantee. OpenAI-only products and parameters still need a decision.

Step 1: inventory what you actually use

Before touching code, list every surface in production. A spreadsheet is enough; the point is to stop the migration from being scoped by memory.

Migration inventory: the surfaces to list, the question to answer and why it changes the plan
SurfaceQuestionWhy it matters
ModelsWhich model IDs are pinned, and where?Every ID must map to a Plugsky public ID or the workload changes
RoutesChat, embeddings, images, audio, batch, responses?Only some routes are equivalent; the rest need a different design
StreamingDoes the client parse chunks, usage or finish reasons?Chunk shapes and usage reporting vary between providers
ToolsWhich schemas, how many tools, parallel calls?Tool calling is the most common compatibility failure
Structured outputJSON mode or a strict schema?Schema enforcement is not identical across providers
EmbeddingsWhat dimension does the vector store expect?A dimension change means reindexing
LimitsPeak RPM, concurrency, input and output length?Plan limits and model context are separate constraints
Data pathWhich region, retention and transfer terms apply?The provider change can change the compliance answer

Include the non-code dependencies: dashboards, alert rules, billing reports, evaluation notebooks and any hard-coded model name in a prompt or a document. Those are the places a migration quietly breaks after the API is green.

Step 2: create a key and a first request

Create the account, create a key for the migration rather than reusing a production key, and send one request with curl before involving the application. The free plan is $0 with no card, two API keys and the Micro and Lite models; new accounts from 2 November 2026 have a limit of 100 requests and 50,000 tokens per day, while older accounts retain the previous allowance until migration.

bash
curl https://api.plugsky.com/v1/chat/completions \
  -H "Authorization: Bearer $PLUGSKY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "plugsky-micro",
    "messages": [{"role": "user", "content": "Reply with the word ready."}]
  }'

Then confirm the model list rather than trusting a blog post, including this one. GET /v1/models is authoritative for IDs, and the served_by field plus the x-plugsky-served-model response header tell you which engine actually answered. That matters when a legacy ID maps to a different engine than its name implies.

Step 3: change the base URL and the model

The OpenAI SDK change is small. The model mapping is the part that needs judgement.

python
import os
from openai import OpenAI

# Before: OpenAI
# client = OpenAI(api_key=os.environ["OPENAI_API_KEY"])

# After: Plugsky. Docs alias: https://plugsky.com/v1 resolves to the same API.
client = OpenAI(
    base_url="https://api.plugsky.com/v1",
    api_key=os.environ["PLUGSKY_API_KEY"],
)

resp = client.chat.completions.create(
    model="plugsky-pro",   # confirm with GET /v1/models
    messages=[{"role": "user", "content": "Summarise this ticket."}],
)

Map by job, not by the old model name. Plugsky publishes all public model IDs, and a name-to-name substitution assumes a capability equivalence that the API does not promise. The table gives a starting point; verify the exact ID and the served context before you pin it.

Workload-to-model starting points on Plugsky, with the context to confirm before pinning
WorkloadStarting public IDContextCheck
General chat and extractionplugsky-pro262,144Quality on your evaluation set
Coding and code reviewplugsky-coder262,144Tool-call accuracy and diff quality
Long documentsplugsky-longctx262,144Retrieval quality near the context limit
Vision and documentsplugsky-vision-fast131,072Image resolution and OCR accuracy
Embeddingsplugsky-embed8,192 input2,048 dimensions and reindex cost
Translationplugsky-translate32,768Language pair coverage

Step 4: run a compatibility suite

Build the suite from your production calls, not from a generic checklist. At a minimum it should cover a normal completion, a streamed completion, a tool call with the real schema, an invalid tool call, a JSON-mode response, an embedding batch, a rate-limit error and an oversized input.

Assert on the parsed result, not on the HTTP status. A 200 response with a truncated stream or a tool call whose arguments do not validate is a failure. Record latency percentiles and token counts at the same time, because the migration plan needs a performance baseline as well as a quality one.

Step 5: shadow and cut over

Shadowing means sending a copy of production traffic to Plugsky while the current provider still serves users. Compare the outputs on your evaluation set, then compare cost per successful task and p95 latency. Do not compare list price per token in isolation; retries, output length and prompt overhead decide the real number.

Cutover plan: stage, traffic share, exit criteria and rollback trigger
StageTrafficExit criteriaRollback trigger
Internal onlyStaff and test tenantsCompatibility suite passes; no unresolved P1 defectAny correctness failure
Canary1–5% of productionQuality within the agreed tolerance; error rate at baselineError rate or evaluation score breaches the threshold
Ramp25%, then 50%Latency and cost per task stable at each stepp95 latency or unit cost exceeds the ceiling
Full100%One full business cycle without regressionIncident or client escalation

Keep the old provider configured behind a flag until the full stage has survived a business cycle. Test the rollback once, while traffic is low. A rollback plan that has never been executed is a document, not a control.

Provider-specific paths

The OpenAI-compatible route is the simplest because the SDK and request shape already match. Other providers need a translation layer or a larger code change, and the amount of work depends on how much of their proprietary surface you use.

  • OpenAI: change the base URL, key and model ID. The formal guide is /docs/migrate/openai-api.
  • Azure OpenAI: the deployment name and api-version are Azure-specific; move to the OpenAI-shaped client and a Plugsky model ID.
  • Anthropic: the Messages API is a different shape. Either use an OpenAI-compatible endpoint if the provider offers one, or translate the request and response.
  • Google Gemini, Bedrock, Groq, Together, Fireworks, DeepSeek, Mistral and OpenRouter: inventory the SDK and auth model first; most need a client change rather than a host change.

The provider list is preserved from the previous version of this page. It describes migration paths, not a claim that every provider's features map one-to-one. Use the migration checker to scope the OpenAI-shaped work, then handle provider-specific features separately.

The migration credit, stated carefully

This page publishes a matching credit of up to $100 for a verified provider migration. It is a marketing offer, not a product fact in the API catalogue, and it should be treated as a published term until it appears in your account or a signed order.

Published migration credit structure: release stage and amount
MilestoneCredit releasedWhat to confirm
Identity verification$10What evidence is accepted and how long review takes
First successful API call$20Which call counts and whether test traffic qualifies
Migration activityRemaining balanceWhat activity is measured and who approves it

The published terms say the credit expires 30 days from issue and is capped at $100 per verified provider account. Eligibility, the plans the credit can offset and the release mechanics are confirmed when the migration is approved. Ask for the current terms in writing; do not budget a migration on the assumption that a credit will be granted.

Do not repeat a savings claim you cannot model

Provider comparisons often quote a percentage saving without saying what was compared. That is not a forecast; it is a slogan. The honest method is to take your own monthly input and output tokens, your retry rate, your peak concurrency and the plan that covers them, then calculate the fully loaded cost on both sides.

Plugsky's self-serve plans are published: Free at $0, Hobby at $8/month, Starter at $20/month, Builder at $60/month and Scale at $120/month, with 20% off annual billing and a 7-day money-back guarantee on paid plans. Builder and Scale carry no monthly token cap and no per-token overage, subject to fair-use concurrency and RPM limits. “Unlimited” means no monthly token cap and no per-token overage, not infinite capacity.

Whether that is cheaper than your current provider depends on your workload. A low-volume workload may pay less on a free or Hobby plan; a high-volume workload with long outputs may find a different shape cheaper. Build the comparison from the pricing page and your own usage, and date the numbers. This page does not claim a savings percentage.

What we did not verify

  • We did not run a migration for every provider listed. The provider paths describe the shape of the work, not a tested integration.
  • We did not verify the current availability, eligibility or plan applicability of the migration credit beyond the terms published on this page.
  • We did not benchmark Plugsky against any named provider. No savings percentage, latency win or quality ranking is claimed.
  • We did not review a SOC 2 report, DPA or subprocessor list. A SOC 2 report can be requested under NDA; confirm the audit period, scope and exceptions, and treat readiness wording as different from an attestation.
  • We did not test stateful Responses features, hosted tools, audio, batch or fine-tuning parity. Treat those as design decisions, not drop-in replacements.

Frequently asked questions

How long does a switch to Plugsky take?

There is no honest single answer. A Chat Completions integration that uses the OpenAI SDK is usually a configuration change, while an application that depends on provider-specific tools, stateful responses, fine-tuned models or batch jobs needs design work. The calendar time is set by your test coverage, evaluation and change approval, not by the number of lines edited.

What changes in my code?

For the Chat Completions surface, the base URL, the API key and the model ID. Use https://api.plugsky.com/v1. Plugsky's public docs also show https://plugsky.com/v1 as an alias; both resolve to the same API, so pick one host and keep it consistent. The request and response shapes stay the same for chat, streaming and embeddings.

Which OpenAI features are not equivalent?

Assistants, vector stores, hosted tools and OpenAI-only parameters are not part of the compatible surface. Stateful Responses features, structured outputs with a strict schema and audio or batch endpoints need testing or a different design. A chat completion that works does not prove the rest of the account will work.

Do I have to change my model names?

Yes. Plugsky uses its own public model IDs, and GET /v1/models is authoritative. Map each workload by job rather than by name: a coding task might use plugsky-coder, a long-document task plugsky-longctx, a vision task plugsky-vision-fast, and an embedding job plugsky-embed. Confirm the exact ID before pinning it.

How do I roll back if quality drops?

Keep the old provider configured behind a feature flag and route a percentage of traffic at a time. Define the rollback trigger before cutover: an evaluation score, an error-rate threshold, a latency ceiling or a cost per successful task. Name the person who can pull the switch, and test the rollback path once while traffic is low.

What is the migration credit?

This page publishes a matching credit of up to $100, released in stages after identity verification and a first successful API call, with a 30-day expiry. Treat it as a published marketing offer rather than a contractual entitlement until it appears in your account or a signed order. Confirm eligibility, the plans it can offset and the current terms when the migration is approved.

Start with one route, not the whole estate

Move a single Chat Completions workload first. Keep the old path until the new one has survived a business cycle.

Start free

Sources

The API references below were checked on the linked official page on 20 November 2026. Provider behaviour changes; confirm the current version before relying on a field.

Last checked 20 November 2026. The compatibility matrix is at /features/openai-compatible-api; the current plans are at /pricing.