Modem
Modem connects AI applications to providers while managing customer access, credentials, usage and billing. Use provider API keys, or connect supported harness subscriptions through relay links. Applications call the gateway with customer credentials; provider credentials stay on Modem’s servers.
Start building
Create a project
Choose an environment and create a project.
Connect a provider
Add an API-key account, or import a subscription and create a relay.
Define customer access
Configure a product, then set up customer identity.
Send a request
Configure the client SDK and send chat completions. Other provider APIs are listed in the gateway guide.
Build and integrate
Authentication, sessions, models, streaming, speech and usage.
Client SDKImports, native clients, multiplexing, quotas and credits.
Subscriptions and relaysStripe and App Store purchases, grants, upgrades, refunds and cancellation.
BillingClerk, Firebase, OpenID Connect, custom identity and lifecycle events.
Customer identityManage resources, API keys, backups and logs from your server.
Admin SDK and APIConfigure targets, import subscriptions and automate administration.
CLIOperate and troubleshoot
Navigate projects, customers, credentials and environments.
Using ModemDistinguish usage allowances, rate limits, quotas and estimates.
Limits and accountingInspect requests, filter activity and understand partial reporting.
Usage and logsExport a workspace, handle secrets and recover supported data.
Backup and restoreFor testing, use Sandbox mode. For exact types and methods, see the API reference. Check versions and availability before adopting a current-source integration.