Develop Fast: Earn Fast

Stop stitching together model APIs, databases, billing and handle hosting. Just rapidly develop and start earning!

The Old Way
PortModels
Model Access
Separate API keys for OpenAI, Anthropic, Google, etc. Multiple SDKs, different rate limits, different auth patterns.
Hundreds of models through one API key. One SDK, one auth token, any model instantly.
User Storage
Spin up PostgreSQL + write auth + manage scaling + handle GDPR compliance yourself.
Built-in per-user key-value storage. Automatic scaling, isolation, and GDPR compliance.
Stateful Apps
Build your own session management, context windows, and user memory layers.
Native user state persistence. Context and memory handled automatically per user.
Payments
Stripe integration, credit card processing, webhook management, refund handling.
Usage-based monetization built in. Earn as users spend credits. Automated payouts.
Time to Ship
Weeks — between integrations, infrastructure, and debugging.
Hours — one SDK, one integration to rule them all.
Hosting
Keep it online make sure it's healthy set disaster recovery. Keep user data safely and compliant.
Users own their own data with the "PortModels connect" your app can interact. No need for traditional hosting.

Quickstart

Ship your first stateful AI app in minutes with our Python SDK.

# Install the SDK
pip install portmodels

# Configure your model
from portmodels import Client

client = Client(api_key="your_api_key")

# Send a chat message with automatic user storage
response = client.chat.complete(
  model="gpt-4",
  messages=[{"role": "user", "content": "Hello"}],
  user_id="user_123",
  system_prompt="You are a helpful coding assistant."
)
# User state is automatically persisted
# Credits are deducted from user's wallet
# Your revenue share is tracked automatically

Everything You Need to Ship

Four features that collapse weeks of infrastructure into hours.

Create custom models easily

Don't just route in your apps. Create custom models or pre-seed system messages to build highly optimized instruction layers on top of base foundation models. Your app isn't just a wrapper; it's a finely tuned engine.

Zero-Infrastructure User Storage

No PostgreSQL. No Firebase. No AWS. PortModels natively stores app data per user. Build stateful, personalized AI apps straight from your frontend and publish them instantly. We handle the infrastructure.

Earn on each api call

Stop chasing credit cards. Monetize purely through usage. When users interact with your app using their PortModels credits, you earn a cut of the compute cost. Build an audience, build utility, and get paid automatically.

Real-Time Analytics

Track credit consumption, revenue, and user engagement in real-time. See exactly how your app is performing with detailed dashboards and exportable reports.

From Idea to Revenue in 3 Steps

No more stitching together model APIs, databases, and billing.

1

Configure

Define model behavior, pre-seed prompts, and optimize layers via API. No fine-tuning required.

2

Build

Call /chat + /storage endpoints. We handle auth, scaling, and user data isolation automatically.

3

Publish and Earn

List in our directory or embed anywhere. Earn automatically as users spend credits on your app.

Storage Architecture

  • Automatic key-value and document storage
  • Automatic scaling—never worry about capacity
  • GDPR-ready with data export and deletion
  • Sub-10ms read/write latency
// Store user preferences
client.storage.set(
  user_id="user_123",
  key="preferences",
  value={
    "theme": "dark",
    "language": "en"
  }
)

// Retrieve on next visit
prefs = client.storage.get(
  user_id="user_123",
  key="preferences"
)

Frequently Asked Questions

Do credits expire?

Never. Unused credits stay in your wallet forever. You can cancel anytime and we'll refund unused credits within 30 days.

How do creator payouts work?

Payouts are processed Net-15 via Stripe or PayPal. Minimum payout threshold is $10. You'll see real-time analytics in your dashboard.

Who owns the data?

You own your app logic. Users own their data. PortModels secures both with industry-standard encryption and access controls.

What's included in storage?

Per-user key-value and document storage with automatic scaling. We handle backups, isolation, and GDPR compliance.

Start Building Today

First 250 developers get $10 in launch credits and priority support.