Documentation

Get started with the Strawberry API in minutes.

Quick Start

1. Get Your API Key

Sign up for a free account to get your API key. You'll receive a 7-day trial with $0.50 in credits.

2. Make Your First Request

curl http://20.232.57.156/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

3. Use with OpenAI SDK

from openai import OpenAI

client = OpenAI(
    base_url="http://20.232.57.156/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello!"}]
)

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

API Reference

POST /v1/chat/completions

Create a chat completion. Compatible with OpenAI's chat completions API.

GET /v1/models

List available models.

Rate Limits

Free Trial

  • • Duration: 7 days
  • • Budget: $0.50 USD
  • • Model: gpt-4o-mini

Support

Questions? Check your dashboard for usage stats or contact support.