---
title: "Quickstart: Claude, GPT, Gemini & Grok via the OpenAI SDK | MYUSAPI"
description: "Create a key, set base_url to https://myusapi.com/v1 and make your first call with the SDK you already use. Python, Node.js and cURL examples."
url: https://myusapi.com/en/docs
---

# Quickstart

## 1 Sign in and add credit

Sign in to your workspace with email or Google. Once you add credit, your key appears on its own; view and copy it anytime, and create more when you need them. Keep keys out of browser code.

[Open your workspace](https://myusapi.com/en/workspace)

## 2 Use the SDK you know

Change only base_url to call the models open now with the OpenAI SDK. Anthropic Messages, Responses, and Gemini-native protocols open with their models. GET /v1/models lists what your key can call.

First, set your key in the terminal:

```
pip install openai
export MYUSAPI_API_KEY="sk-your-key"
```



```
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://myusapi.com/v1",
    api_key=os.environ["MYUSAPI_API_KEY"],
)

reply = client.chat.completions.create(
    model="gpt-6.1-sol",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
```

A reply from the model means you are connected.

[Set up CC Switch, Claude Desktop, Claude Code, Codex CLI, and more](https://myusapi.com/en/docs/tools)

## 3 Understand your usage

See the model, tokens and charge for every call under Usage in your workspace. Billing follows the usage the upstream reports.

[Find your model](https://myusapi.com/en/docs/models)[Build your API business](https://myusapi.com/en/docs/resellers)

Service availability Accounts and key delivery live in your workspace (/workspace). Available endpoints and models depend on current service status and account access. Top up in US dollars by card, or by Alipay or WeChat Pay where the checkout lists them; if you already hold USDC, you can use native USDC on Solana. [View service status](https://myusapi.com/en/status)
