Skip to main content

Create an API key

  1. Visit generalcompute.com and open the dashboard.
  2. Generate a new key from Developers → API keys.
  3. Copy the key once it is revealed — you will not be able to view it again.
Store the key as an environment variable so every SDK and CLI can pick it up automatically:
export GENERALCOMPUTE_API_KEY=gc_live_your_api_key
Pass the key directly when necessary:
const client = new GeneralCompute({
  apiKey: process.env.GENERALCOMPUTE_API_KEY,
});

Base URLs & OpenAI clients

GeneralCompute speaks the exact same dialect as OpenAI. Point any OpenAI-compatible SDK at the domains below:
EnvironmentBase URLRegion
Productionhttps://api.generalcompute.comus-west-2
Local routerhttp://localhost:3000Local
Override the base URL when instantiating the openai package (or any compatible SDK). That’s the only change needed besides swapping your API key:
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.GENERALCOMPUTE_API_KEY,
  baseURL: "https://api.generalcompute.com/v1",
});

Rotate and scope keys

  • Create individual keys per service or environment so you can revoke them without affecting other workloads.
  • Rotate long-lived keys on a schedule and update the associated secrets in CI/CD.
  • Remove unused keys from the dashboard to minimize blast radius.

Enterprise SLAs

Enterprise plans include uptime SLAs, named support, and optional dedicated deployments in additional AWS regions. Reach out to support@generalcompute.com to provision custom environments or higher-rate limits.