Skip to content

Guides ​

These guides cover common patterns for using SandBase in production.

Call models ​

GuideDescription
Chat CompletionsCall SandBase through the OpenAI-compatible chat protocol
OpenAI ResponsesCall GPT models through the OpenAI-compatible Responses protocol
Anthropic MessagesCall SandBase through the Anthropic-compatible messages protocol
Google GeminiCall SandBase through the Google Gemini-compatible GenerateContent protocol
Image and videoGenerate images and videos through the shared asynchronous Run API
StreamingStream compatible Model output to your application
API CatalogBrowse API capabilities and their vendor-qualified endpoints

Run in production ​

GuideDescription
Errors and retriesClassify failures and retry only when an operation is safe to repeat
Rate limitsHandle 429 responses and smooth request bursts
Concurrency limitsHow many tasks your organization can run at once
Pricing and usageUnderstand credits, usage, and cost controls

Quick Tips ​

  • Use Setup when the user wants tools inside Codex, Claude, Cursor, or Kiro.
  • Use Models or APIs when your app needs one capability.
  • Use Build Agent when the work has multiple steps or should be reused.
  • Use Activities in the Console to review requests and usage together.