Migrate from OpenAI to 1vy in 5 Minutes

Switch from OpenAI's direct API to 1vy's multi-model gateway without changing your code. One line change, 100+ models unlocked.

Why migrate?

If you're using the OpenAI SDK directly, you're locked into one provider. 1vy gives you access to 100+ models — OpenAI, Anthropic Claude, Google Gemini, DeepSeek, Qwen, and more — through the same SDK you're already using.

No code migration. One line change.

Step 1: Create a 1vy account

Sign up at 1vy.ai/register. You get $1 free credit — enough for thousands of API calls with smaller models.

Step 2: Generate an API key

Go to Dashboard → API Keys → Create New Key. Copy the key (starts with sk-1vy-).

Step 3: Change one line

Python

```python import openai

client = openai.OpenAI( base_url="https://api.1vy.ai/v1", # ← only change api_key="sk-1vy-your-key-here" # ← your 1vy key )

# Everything else stays the same response = client.chat.completions.create( model="gpt-4o", # or claude-sonnet-4-6, gemini-2.5-pro, etc. messages=[{"role": "user", "content": "Hello!"}] ) ```

Node.js

```javascript import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.1vy.ai/v1", // ← only change apiKey: "sk-1vy-your-key-here", // ← your 1vy key }); ```

cURL

```bash

# Replace api.openai.com with api.1vy.ai curl https://api.1vy.ai/v1/chat/completions \ -H "Authorization: Bearer sk-1vy-your-key-here" \ -H "Content-Type: application/json" \ -d '{"model": "gpt-4o", "messages": [{"role": "user", "content": "Hello!"}]}' ```

Step 4: Try other models

Now that you're on 1vy, try models from other providers — just change the model parameter:

ModelProviderUse case
claude-sonnet-4-6AnthropicBest coding & analysis
gemini-2.5-proGoogleLong context + multimodal
deepseek-r1DeepSeekReasoning at low cost
gpt-4oOpenAIGeneral purpose
qwen3-maxAlibabaChinese language tasks

See the full model catalog with pricing.

Pricing

1vy adds a flat 15% markup over each provider's list price. No subscriptions, no minimums. See pricing details.

FAQ

Will my existing OpenAI code break? No. 1vy is 100% OpenAI SDK compatible. Streaming, function calling, embeddings, and audio all work.

Do I still need my OpenAI API key? No. Your 1vy key works for all providers. One key, one bill.

Is there a free tier? Yes — $1 free credit on sign-up. No credit card required.