AI infrastructure for production

Build real-time AI apps with a developer-first API

Free forever up to 10k req/month · No credit card

$ curl https://api.modelriver.com/v1/ai/async \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "workflow": "book_review",
    "messages": [{"role": "user", "content": "Hello!"}],
    "user_id": "user_12345",
    "task_id": "task_67890"
  }'
Real-time request processing

Watch requests flow through with
intelligent routing and automatic failover.

Toggle to dark mode
Live Logs
Waiting for requests...
Unified API Gateway

Simple integration with one endpoint and one API key

REQUEST
{
  "workflow": "my_book_task",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "user_id": "user_12345",
  "task_id": "task_67890"
}
IN PROGRESS
{
  "message": "success",
  "status": "pending",
  "channel_id": "a1b2c3d4-...",
  "ws_token": "one-time-websocket-token",
  "websocket_url": "wss://api.modelriver.com/socket",
  "websocket_channel": "ai_response:PROJECT_ID:a1b2c3d4-..."
}
SUCCESS
{
  "message": "success",
  "status": "success",
  "data": {
    "response": "Hello! How can I help?",
    "intent": "greeting",
    "confidence": 0.95
  },
  "model": "gpt-5.2",
  "customer_data": {
    "user_id": "user_12345",
    "task_id": "task_67890"
  },
  "meta": {
    "duration_ms": 1250,
    "usage": {
      "prompt_tokens": 21,
      "completion_tokens": 42,
      "total_tokens": 63
    }
  }
}
Integration testing

Test before you ship with a free playground and catch issues.

Safe testing mode runs like production without affecting live users.

Free playground offers unlimited test requests at no extra cost.

Validate outputs lets you verify response format before going live.

Testing mode

Same settings as production, safe sandbox.

Live config
mode "testing"
structure "todo_struct"
failover enabled
rate_limits 60/min per IP,
10-300/min per user
cost free

Response preview

See exactly what your app will receive.

// sample response data
{
  "data": {
    "todo": {
      "id": 1,
      "title": "Finish project proposal",
      "description": "Complete the first draft and review key points",
      "completed": false,
      "priority": "high"
    }
  }
}
Free playground testing