Call text, image, video, audio, 3D, embedding, realtime and decision models through an OpenAI-compatible API. Add managed agents, model deployments, content moderation and S3-compatible storage from the same account.
For a support assistant that checks user messages, generates replies, stores conversation exports and tracks spend, compare the integrations your backend needs to maintain.
Example multi-provider stack
Your applicationAuthenticate users and apply application logic.
Amazon Bedrock GuardrailsApplyGuardrailModerate input; translate the provider verdict into your policy.
OpenRouter/api/v1/chat/completionsChoose and call a model with separate credentials.
Custom agent backendMaintain instructions, tool execution and model calls.
Custom usage reportingReconcile provider bills and implement team-level limits.
With InferencePort
Your applicationKeep your authentication, UI and business logic.
AI ShieldPOST /ai-shield/scanUse content_moderation or prompt_guard; apply the returned decision.
Unified model APIPOST /v1/chat/completionsUse a catalog model such as deepseek-v4.1-flash-1017.
Managed agentsagent/<username>/support-botFor tool-enabled replies, configure instructions and MCP tools once and use the agent ID in place of a raw model ID.
InferencePort BucketsStore exports using the workspace S3 endpoint and scoped SigV4 credentials.
Organizations & usageTrack service spend and configure API key and model restrictions from one console.
Both are valid architectures. The InferencePort version reduces separate integrations and billing surfaces. Your backend still controls the sequence, enforces moderation decisions and chooses what to store; the S3 endpoint uses its own credentials.
# Run on your server: pip install websockets
import asyncio
import os
from websockets.asyncio.client import connect
async def main():
url = "wss://api.inferenceport.ai/v1/realtime?model=gpt-realtime-2.1-mini"
async with connect(
url,
additional_headers={"Authorization": "Bearer " + os.environ["IP_API_KEY"]},
) as ws:
print(await ws.recv()) # session.created
# Continue using session.update and the Realtime event protocol.
asyncio.run(main())
curl https://api.inferenceport.ai/v1/systemone \
-H "Authorization: Bearer $IP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "microsoft/decision-1",
"state": "A customer requests a refund for a double charge.",
"questions": {
"team": {
"type": "choice",
"instructions": "Which team should take this?",
"criteria": {
"billing": "Refunds and charges",
"support": "General help"
}
}
}
}'
Use your IP_API_KEY environment variable. Video and 3D create asynchronous jobs.
Realtime uses a server-side WebSocket connection rather than an HTTP POST.Realtime protocol ↗
How the infrastructure works
Configure each service independently, then connect it from your application through documented APIs and standard clients.
Managed agents
Launch AI agents without hosting the infrastructure.
Build a reusable assistant for support, internal workflows or your product. Choose its model, define instructions and connect tools—then call it through the chat completions API.
Connect real tools. Attach HTTP or SSE MCP servers for actions and external data.
Choose who sees it. Keep an agent private, share it unlisted or publish it.
Owner- or caller-paid. Keep billing under your agent or organization’s wallet and policies.
Answer support questions using the supplied documentation. If the answer is missing, say so.
MCP serversHTTP or SSE tools · mcp_servers
Visibility
PrivateUnlistedPublished
Request billing
Caller paysOwner pays
1 Configure2 Connect tools3 Call via API
Illustrative control layout · agent_id: support-bot · model, system_prompt, visibility, payer and mcp_servers are creation fields.
Model deployments
Deploy the open model your application needs.
Search for Llama, Qwen, DeepSeek and other open models. Check context length and model availability, then bring your choice online without provisioning or maintaining GPUs.
See before you deploy. Inspect model details and readiness in the catalog.
Use the same API. Call your deployment like any other InferencePort model.
Built for teams. Deploy to a personal account or your organization’s workspace.
Run inferencePOST /v1/chat/completions · display_model_id
DestinationPersonal or organization ⌄
Model detailsReturned display_model_id is the inference model ID
Buckets Preview
Object storage that fits your model workflow.
Keep model weights, datasets and generated artifacts next to your AI infrastructure. Buckets brings S3-compatible storage to your personal or organization workspace, backed by Azure Blob Storage.
Bring familiar clients. Use AWS CLI or compatible SDKs with your workspace endpoint.
Scope credentials. Issue scoped, revocable SigV4 credentials and limit access by bucket, permission or object prefix.
Track storage separately. Monitor requests, transfer and storage charges rather than mixing them into model spend.
aws --endpoint-url "$IP_S3_ENDPOINT" \
s3 ls "s3://$BUCKET/"
AI Shield
Protect your platform from fraud and AI abuse.
Shield brings account-risk analysis, content checks and AI-specific protections into one API. Supply the signals you have—such as an IP address, email, device or text—and receive a structured assessment with reasons your application can act on.
Sign-up and trial abuse. Detect bots, disposable identities, fake accounts and referral farming.
Identity and account risk. Investigate linked accounts, duplicates and suspected ban evasion.
Content moderation. Check spam, scams and potentially malicious messages.
Prompt and agent protection. Analyze prompt injection, jailbreak attempts and risky tool interactions.
Actionable decisions. Use risk scores, confidence and reasons to allow, challenge, review, rate-limit or block.
Use the same platform from your editor, terminal, browser or desktop. Select a preview to see how each interface works.
Council MCP
Run council_reason from Claude Code, Cursor, VS Code, Claude Desktop or another MCP client. Configure model and judge tiers, custom models and 1–3 review rounds. Connect with OAuth or API key.
Chat in your browser with Lightning Text v2 and Lightning Image Turbo. For programmatic requests and usage-based billing, use the separate Pay-to-Go model API.
Check that the request uses Authorization: Bearer $IP_API_KEY and that the API key is active. If it still fails, inspect the response body before retrying.