Allocate
HarnessRecursiveDBModelsPricingDocs
Sign inTry for free
Try for free
Allocate
HarnessRecursiveDBModelsPricingDocsSign in
Try for freeBook a call
Allocate documentation
QuickstartsYour first inference callUse Allocate from your coding agent
OnboardingGetting accessPush your dataImport mappingData residency
PlatformGatewayRoutesModelsKeysMeter
API referenceCreate a chat completionList models
PlanesPrivate Inference CloudCloudlightCloudheavyLearningAgentsRecursiveDBTraining
Allocate
Try for freeBook a call
Product
Cloud agentsModelsRecursiveDBTrainingMeterPricing
Solutions
HealthcareInsuranceFinancial servicesOperationsAgenciesStartupsSouth Africa
Resources
DocumentationAPI referenceChangelogFree toolsGlossarySecurity
Popular models
Gemini 3.5 FlashDeepSeek V4GPT-5.5Qwen 3.5Best open-weight modelsExplore all
Company
EnterpriseContactBook a demo
© 2026 Allocate. All rights reserved.POPIA ready · security overview
Allocate
quickstarts

Your first inference call

Send a request through the Allocate Gateway in under five minutes.

Every request on Allocate goes through the Gateway: one endpoint, one key, every model in the catalog, metered from the first token.

1. Get a key

Sign in at allocate.network and open Keys in your dashboard. Keys are scoped to your organization and can be revoked at any time.

2. Send a request

The Gateway speaks the standard chat completions wire, so any client that takes a base URL works unchanged.

curl https://api.allocate.network/v1/chat/completions \
  -H "Authorization: Bearer $ALLOCATE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.5-flash",
    "messages": [{ "role": "user", "content": "Say hello." }]
  }'

Or with an SDK:

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.allocate.network/v1",
  apiKey: process.env.ALLOCATE_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "google/gemini-3.5-flash",
  messages: [{ role: "user", content: "Say hello." }],
});

The model field takes any model id from the catalog, or the name of one of your Routes. A Route pins model, fallback, and policy server-side, so your application code never changes when the routing decision does.

3. See what it cost

Open Meter in your dashboard. Every request is metered as it happens: tokens, cost, latency, and the gateway's own overhead, which is reported on every response in the x-allocate-overhead-ms header and held to a 30ms budget.

Next

  • Point a Route at your traffic instead of a raw model id.
  • Stream responses by setting "stream": true; the wire format is unchanged.
  • Set usage alerts before you put real traffic through.
PreviousAllocate documentationNextUse Allocate from your coding agent
On this page1. Get a key2. Send a request3. See what it costNext