Get Started in 2 Minutes

Vertex API is a drop-in OpenAI replacement. If your code works with OpenAI, it works with us — just change the base URL.

1

Create an Account & Get Your API Key

Sign up at api.vertexapi.net — you'll get $1 free credit instantly. No credit card required.

Go to Dashboard → Tokens → Create Token, copy your sk-... key.

2

Change One Line of Code

Replace https://api.openai.com/v1 with https://api.vertexapi.net/v1 and use your new key. That's it.

Code Examples

Python

Python (openai SDK)
from openai import OpenAI

client = OpenAI(
    api_key="sk-your-key-here",
    base_url="https://api.vertexapi.net/v1"
)

response = client.chat.completions.create(
    model="deepseek-v4-flash",
    messages=[{"role": "user", "content": "Hello!"}],
    max_tokens=100
)

print(response.choices[0].message.content)

Node.js

Node.js (openai SDK)
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'sk-your-key-here',
  baseURL: 'https://api.vertexapi.net/v1',
});

const response = await client.chat.completions.create({
  model: 'deepseek-v4-flash',
  messages: [{ role: 'user', content: 'Hello!' }],
  max_tokens: 100,
});

console.log(response.choices[0].message.content);

cURL

cURL
curl https://api.vertexapi.net/v1/chat/completions \
  -H "Authorization: Bearer sk-your-key-here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-flash",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 100
  }'
Tip: Works with any OpenAI-compatible SDK, framework, or tool — LangChain, LlamaIndex, AutoGen, Cursor, Continue, etc. Just change the base URL.

Available Models

ModelTierInput / 1MOutput / 1MBest For
deepseek-v4-flashStandard$0.40$1.20Fast & cheap, coding, chat
deepseek-v4-proStandard$1.00$2.50General purpose, reasoning
MiniMax-M2.7Standard$0.80$3.00Agent tasks, fast responses
MiniMax-M3Pro$1.50$6.00Complex reasoning, long context
kimi-k2.6Pro$2.50$8.00256K context, agent workflows
qwen-maxEnterprise$4.00$12.00Complex reasoning, long docs
glm-5v-turboEnterprise$3.00$10.00Multi-modal, agent tasks

Pricing Tiers

TierAccessFree CreditHow to Unlock
StandardDeepSeek V4-Flash, V4-Pro, MiniMax M2.7$1 on sign-upAutomatic
ProAll Standard + MiniMax M3, Kimi K2.6Top up $10+
EnterpriseAll 7 models + Qwen-Max, GLM-5V-TurboTop up $50+

Streaming

Vertex API supports streaming responses. Just add "stream": true to your request:

Python streaming
stream = client.chat.completions.create(
    model="deepseek-v4-flash",
    messages=[{"role": "user", "content": "Tell me a story"}],
    stream=True
)

for chunk in stream:
    if chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="")

FAQ

Is it really compatible with OpenAI?
Yes. Vertex API uses the same /v1/chat/completions endpoint format. If your code calls OpenAI's API, just change the base URL and API key — everything else stays the same. Streaming, function calling, and system messages all work.
What's the free trial?
Every new account gets $1 free credit on the Standard tier. That's enough for thousands of requests with DeepSeek V4-Flash. No credit card required.
How do I upgrade to Pro or Enterprise?
Top up your account: $10+ unlocks Pro (adds MiniMax M3, Kimi K2.6), $50+ unlocks Enterprise (adds Qwen-Max, GLM-5V-Turbo). Your credit is used for API calls — the tier upgrade is automatic based on your total top-up amount.
Which models should I use?
DeepSeek V4-Flash — best for fast, cheap everyday tasks (chat, coding).
DeepSeek V4-Pro — stronger reasoning, still affordable.
MiniMax M2.7 — agent tasks, fast responses.
MiniMax M3 — complex reasoning, long context (Pro).
Kimi K2.6 — 256K context window, agent workflows (Pro).
Qwen-Max — complex reasoning, long documents (Enterprise).
GLM-5V-Turbo — multi-modal, agent tasks (Enterprise).
Is my data safe?
We don't store your prompts or responses. API requests are forwarded directly to model providers. Your API key and usage data are encrypted at rest.
Do you support function calling / tools?
Yes. Function calling and tool use are supported on models that support them (DeepSeek, Qwen, GLM). Pass your tools array as you would with OpenAI.
What payment methods do you accept?
We accept credit/debit cards and PayPal. All payments are processed securely through Stripe.
Questions? Reach us at support@vertexapi.net