OpenAI SDKs

Use CorvusLLM anywhere with the OpenAI /v1 path.

This is the main integration path for curl, fetch, backend apps, scripts, the OpenAI Python SDK, and the OpenAI Node SDK.

Install SDK prerequisites

Use curl for the smallest test. For application code, install Python or Node.js first, then install the official OpenAI SDK and point it at CorvusLLM with the base URL shown below.

What to installOfficial sourceQuick check
PythonPython downloadspython --version
Node.js and npmNode.js downloadnode --version and npm --version
OpenAI SDK packageOpenAI Python SDK or OpenAI Node SDKInstall only the language you use.
Install commands
python --version
python -m pip install --upgrade openai

node --version
npm --version
npm install openai

Zero-to-working setup

Use this block when you want the shortest reliable path from a clean install to one successful OpenAI SDKs request through CorvusLLM.

2
Configure

Set OPENAI_BASE_URL and OPENAI_API_KEY in the same shell, app environment, CI secret store, or hosting provider where the SDK runs.

  • Set OPENAI_BASE_URL to https://base.corvusllm.com/v1
  • Set OPENAI_API_KEY to your delivered CorvusLLM key
3
Verify
  • Run the curl, Python, or Node sample with model gpt-5.5
  • Keep the first request small before moving production traffic

The SDK returns a normal chat completion without changing the code away from OpenAI-compatible client usage.

ValuePaste this
OPENAI_BASE_URL https://base.corvusllm.com/v1
OPENAI_API_KEY YOUR_CORVUSLLM_KEY
Starter model gpt-5.5
Setup guardrail

Use /v1 only. Do not point OpenAI SDKs at the Anthropic-native path.

Environment values

Set the same two variables before running local SDK examples, CI scripts, or backend apps. The SDK reads the key from OPENAI_API_KEY and the CorvusLLM endpoint from OPENAI_BASE_URL.

PowerShell
$env:OPENAI_BASE_URL="https://base.corvusllm.com/v1"
$env:OPENAI_API_KEY="YOUR_CORVUSLLM_KEY"
macOS / Linux
export OPENAI_BASE_URL="https://base.corvusllm.com/v1"
export OPENAI_API_KEY="YOUR_CORVUSLLM_KEY"

curl

curl
curl https://base.corvusllm.com/v1/chat/completions ^
  -H "Authorization: Bearer YOUR_CORVUSLLM_KEY" ^
  -H "Content-Type: application/json" ^
  -d "{\"model\":\"gpt-5.5\",\"messages\":[{\"role\":\"user\",\"content\":\"Say sdk-ok\"}]}"

OpenAI Python SDK

Python
import os
from openai import OpenAI

client = OpenAI(
    base_url=os.environ.get("OPENAI_BASE_URL", "https://base.corvusllm.com/v1"),
    api_key=os.environ["OPENAI_API_KEY"],
)

response = client.chat.completions.create(
    model="gpt-5.5",
    messages=[{"role": "user", "content": "Say sdk-ok"}],
)

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

OpenAI Node SDK

Node.js
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: process.env.OPENAI_BASE_URL || "https://base.corvusllm.com/v1",
  apiKey: process.env.OPENAI_API_KEY,
});

const response = await client.chat.completions.create({
  model: "gpt-5.5",
  messages: [{ role: "user", content: "Say sdk-ok" }],
});

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

Responses API

CorvusLLM exposes /v1/responses, but keep the first implementation simple: use it in non-stream mode first.

Live provider matrix

The matrix below is rendered from the current public catalog. Desktop shows one model per column; mobile uses compact model rows so slugs, providers, and endpoints stay readable.

ModelLoading
ProviderLoading current catalog.
Endpoint/v1
Topic map

Continue with the right source

Open the exact setup, model, billing, and troubleshooting pages instead of guessing configuration values.

docs Set up CorvusLLM without guessing. Overview: The clean start page: base URLs, model overview, environment overview, and where to begin. docs API base URLs and request paths. API Overview: Base URLs, authentication, request formats, OpenAI-compatible vs Anthropic-native paths. docs Use the canonical customer slug and keep it simple. Models & Slugs: Every customer-facing model with one customer slug, provider family, pricing. docs Most CorvusLLM issues are the same four mistakes. Troubleshooting: Clear fixes for wrong base URLs, bad model slugs, out-of-balance errors, delivery questions. trust Trust Center The Trust Center explains affiliation, data handling, support, refunds, compatibility evidence, pricing methodology. trust How to Verify CorvusLLM Before You Buy The verification checklist shows how to test CorvusLLM claims, endpoint setup, pricing data, status, legal pages. trust Proof of Operations Proof of Operations collects public evidence assets, published data, operational boundaries. status Checking current status The status page shows customer-facing live checks for website, checkout, customer login, and API compatibility routes. faq Frequently Asked Questions CorvusLLM FAQ and help center with searchable answers about pricing, refunds, delivery, API setup, Cursor, Claude Code. docs Buy, paste, test, and verify your balance in minutes. Quickstart: The shortest safe path from purchase to a working request and a visible balance in the dashboard. docs bills against the customer key balance and stops at zero. Billing, Balance & Cache: How prepaid balance works, how same-key top-ups work, how usage deductions, out-of-balance behavior. docs Choose the path once, then stay consistent. Environment Overview: Every supported environment at a glance: which base URL to use, where to paste the key. models AI Models The CorvusLLM model catalog directory helps users find current customer-facing model families, public slugs, pricing context.
Browse docs
On this page