Quickstart
This page takes you from an empty account to a first request through OpenPike, in about five minutes.
1. Sign in
Section titled “1. Sign in”- Open app.openpike.dev and select Continue with GitHub, or enter your work email and OpenPike emails you a sign-in link. There is no password.
- Approve OpenPike on GitHub, or follow the emailed link. The first time, OpenPike creates an organization for you with one workspace in it.
- Tell OpenPike your name (after GitHub sign-in it is filled in from your GitHub profile; check it and continue). You can also rename your organization and say what you are building; both are optional. Then the workspace opens.
Anyone can sign up with a work email or a GitHub account. GitHub sign-in uses your GitHub account’s primary email, which must be verified on GitHub; if you already have an OpenPike account with that email, you get that account, now connected to GitHub. The sign-in page gives the same answer for every address, so if no link arrives within a few minutes, check your spam folder or write to support@openpike.dev. Someone already in an organization can also invite you from its Members page.
2. Add a provider key
Section titled “2. Add a provider key”- In the dashboard, open Providers and choose a provider, for example DeepSeek or Anthropic.
- Paste your key from that provider’s console and save it. OpenPike encrypts it with your workspace’s own key and never shows it again; the page keeps only its last four characters.
- Select Test to check the key with a real call to the provider.
Only organization owners can add, test or remove provider keys. See Provider keys.
3. Create a virtual key
Section titled “3. Create a virtual key”- Open Keys and select Create key.
- Give it a name and, optionally, tags, for example
agent=quickstart. Tags attribute spend and let you set budgets per agent. - Copy the key. It starts with
opk_live_and is shown once; OpenPike stores only a hash of it.
Store it in an environment variable for the examples below. In PowerShell, $env: variables last only for that window.
export OPENPIKE_API_KEY="opk_live_..."$env:OPENPIKE_API_KEY = "opk_live_..."4. Send a request
Section titled “4. Send a request”OpenPike speaks the OpenAI chat completions format at https://api.openpike.dev/v1. Models are named provider/model: the provider, then that provider’s own model ID.
curl https://api.openpike.dev/v1/chat/completions \ -H "Authorization: Bearer $OPENPIKE_API_KEY" \ -H "Content-Type: application/json" \ -H "x-openpike-tags: agent=quickstart" \ -d '{ "model": "deepseek/deepseek-flash", "messages": [{"role": "user", "content": "Say hello in five words."}] }'import os
from openai import OpenAI
client = OpenAI( base_url="https://api.openpike.dev/v1", api_key=os.environ["OPENPIKE_API_KEY"],)
response = client.chat.completions.create( model="deepseek/deepseek-flash", messages=[{"role": "user", "content": "Say hello in five words."}], extra_headers={"x-openpike-tags": "agent=quickstart"},)print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.openpike.dev/v1", apiKey: process.env.OPENPIKE_API_KEY, defaultHeaders: { "x-openpike-tags": "agent=quickstart" },});
const response = await client.chat.completions.create({ model: "deepseek/deepseek-flash", messages: [{ role: "user", content: "Say hello in five words." }],});console.log(response.choices[0]?.message.content);The x-openpike-tags header is optional. It adds tags to this request on top of the key’s own, here so the request shows up under the agent quickstart.
On Windows PowerShell, the curl example needs curl.exe (plain curl there is a different command) and $env:OPENPIKE_API_KEY in place of $OPENPIKE_API_KEY. The Python and TypeScript examples work unchanged.
Anthropic format
Section titled “Anthropic format”Anthropic’s SDKs work too. OpenPike serves the Anthropic messages format at /v1/messages; give the SDK https://api.openpike.dev as its base URL, without /v1.
curl https://api.openpike.dev/v1/messages \ -H "x-api-key: $OPENPIKE_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "Content-Type: application/json" \ -H "x-openpike-tags: agent=quickstart" \ -d '{ "model": "anthropic/claude-haiku-5-5", "max_tokens": 100, "messages": [{"role": "user", "content": "Say hello in five words."}] }'import os
from anthropic import Anthropic
client = Anthropic( base_url="https://api.openpike.dev", api_key=os.environ["OPENPIKE_API_KEY"],)
message = client.messages.create( model="anthropic/claude-haiku-5-5", max_tokens=100, messages=[{"role": "user", "content": "Say hello in five words."}], extra_headers={"x-openpike-tags": "agent=quickstart"},)print(message.content[0].text)import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({ baseURL: "https://api.openpike.dev", apiKey: process.env.OPENPIKE_API_KEY, defaultHeaders: { "x-openpike-tags": "agent=quickstart" },});
const message = await client.messages.create({ model: "anthropic/claude-haiku-5-5", max_tokens: 100, messages: [{ role: "user", content: "Say hello in five words." }],});const first = message.content[0];console.log(first?.type === "text" ? first.text : first);5. See it in the dashboard
Section titled “5. See it in the dashboard”Open Logs: the request is there within a few seconds, with the model, tokens, cost and latency. Activity shows spend over time, and Agents groups it by the agent tag.
Next steps
Section titled “Next steps”- Set a budget on the workspace or on the key, so a loop cannot spend past it.
- Connect a coding agent such as Claude Code, Codex CLI or Cursor.
- Create an alias such as
openpike/autofor fallbacks and cheaper routing. - Read Concepts for how organizations, workspaces and keys fit together.